Skip to content

Commit

Permalink
Add command for accel calibration vehicle position
Browse files Browse the repository at this point in the history
  • Loading branch information
OXINARF committed Nov 12, 2016
1 parent 43228d5 commit 0443aca
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions message_definitions/v1.0/ardupilotmega.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
<dialect>2</dialect>
<!-- note that APM specific messages should use the command id range from 150 to 250, to leave plenty of room for growth of common.xml If you prototype a message here, then you should consider if it is general enough to move into common.xml later -->
<enums>
<enum name="ACCELCAL_VEHICLE_POS">
<entry name="ACCELCAL_VEHICLE_POS_LEVEL" value="1"/>
<entry name="ACCELCAL_VEHICLE_POS_LEFT" value="2"/>
<entry name="ACCELCAL_VEHICLE_POS_RIGHT" value="3"/>
<entry name="ACCELCAL_VEHICLE_POS_NOSEDOWN" value="4"/>
<entry name="ACCELCAL_VEHICLE_POS_NOSEUP" value="5"/>
<entry name="ACCELCAL_VEHICLE_POS_BACK" value="6"/>
</enum>

<!-- ardupilot specific MAV_CMD_* commands -->
<enum name="MAV_CMD">
<entry name="MAV_CMD_DO_GRIPPER" value="211">
Expand Down Expand Up @@ -120,6 +129,17 @@
<param index="6">Empty</param>
<param index="7">Empty</param>
</entry>

<entry name="MAV_CMD_ACCELCAL_VEHICLE_POS" value="42429">
<description>Used when doing accelerometer calibration. When sent to the GCS tells it what position to put the vehicle in. When sent to the vehicle says what position the vehicle is in.</description>
<param index="1">Position, one of the ACCELCAL_VEHICLE_POS enum values</param>
<param index="2">Empty</param>
<param index="3">Empty</param>
<param index="4">Empty</param>
<param index="5">Empty</param>
<param index="6">Empty</param>
<param index="7">Empty</param>
</entry>

<entry name="MAV_CMD_DO_SEND_BANNER" value="42428">
<description>Reply with the version banner</description>
Expand Down

0 comments on commit 0443aca

Please sign in to comment.