1 # OpenXC Message Format Specification
3 There are two valid message types - single valued and evented.
5 There may not be a 1:1 relationship between input and output signals - i.e. raw
6 engine timing CAN signals may be summarized in an "engine performance" metric on
7 the abstract side of the interface.
11 The expected format of a single valued message is:
13 {% highlight javascript %}
14 {"name": "steering_wheel_angle", "value": 45}
19 The expected format of an event message is:
21 {% highlight javascript %}
22 {"name": "button_event", "value": "up", "event": "pressed"}
25 This format is good for something like a button event, where there are two
26 discrete pieces of information in the measurement.