Kitt.Message.BSM.CoreData (kitt v0.4.0) View Source

Defines the structure and instantiation function for creating a J2735-compliant BSMCoreData data element

Link to this section Summary

Types

t()

Defines the structure of a BSMCoreData data element and the data elements comprising its fields

Functions

Produces a CoreData message struct from an equivalent map or keyword input.

Link to this section Types

Specs

t() :: %Kitt.Message.BSM.CoreData{
  accelSet: Kitt.Types.acceleration_set_4_way(),
  accuracy: Kitt.Types.positional_accuracy(),
  angle: integer(),
  brakes: Kitt.Types.brake_system_status(),
  elev: integer(),
  heading: non_neg_integer(),
  id: non_neg_integer(),
  lat: integer(),
  long: integer(),
  msgCnt: non_neg_integer(),
  secMark: non_neg_integer(),
  size: Kitt.Types.vehicle_size(),
  speed: non_neg_integer(),
  transmission: Kitt.Types.transmission_state()
}

Defines the structure of a BSMCoreData data element and the data elements comprising its fields

Link to this section Functions

Specs

new(map() | keyword()) :: t()

Produces a CoreData message struct from an equivalent map or keyword input.