Skip to content

Commit

Permalink
APM: added COMPASSMOT_STATUS message
Browse files Browse the repository at this point in the history
used to report status during compassmot calibration
  • Loading branch information
Andrew Tridgell committed Feb 13, 2014
1 parent b3179ba commit fb98a27
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions message_definitions/v1.0/ardupilotmega.xml
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,16 @@
<field name="idx" type="uint8_t">point index (first point is 0)</field>
</message>

<message name="COMPASSMOT_STATUS" id="177">
<description>Status of compassmot calibration</description>
<field name="throttle" type="uint16_t">throttle (percent*10)</field>
<field name="current" type="float">current (amps)</field>
<field name="interference" type="uint16_t">interference (percent)</field>
<field name="CompensationX" type="float">Motor Compensation X</field>
<field name="CompensationY" type="float">Motor Compensation Y</field>
<field name="CompensationZ" type="float">Motor Compensation Z</field>
</message>

<!-- Coming soon
<message name="RALLY_LAND_POINT" id="177">
<description>A rally landing point. An aircraft loitering at a rally point may choose one of these points to land at.</description>
Expand Down
2 changes: 1 addition & 1 deletion message_definitions/v1.0/common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@
<param index="3">Ground pressure: 0: no, 1: yes</param>
<param index="4">Radio calibration: 0: no, 1: yes</param>
<param index="5">Accelerometer calibration: 0: no, 1: yes</param>
<param index="6">Empty</param>
<param index="6">Compass/Motor interference calibration: 0: no, 1: yes</param>
<param index="7">Empty</param>
</entry>
<entry value="242" name="MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS">
Expand Down

0 comments on commit fb98a27

Please sign in to comment.