Skip to content
Snippets Groups Projects
Commit 28846c6c authored by Randy Mackay's avatar Randy Mackay
Browse files

GCS_MAVLink: add DO_MOTOR_TEST message

parent 0408c116
No related branches found
No related tags found
No related merge requests found
...@@ -100,6 +100,17 @@ ...@@ -100,6 +100,17 @@
<param index="7">Empty</param> <param index="7">Empty</param>
</entry> </entry>
<entry name="MAV_CMD_DO_MOTOR_TEST" value="209">
<description>Mission command to perform motor test</description>
<param index="1">motor sequence number (a number from 1 to max number of motors on the vehicle)</param>
<param index="2">throttle type (0=throttle percentage, 1=PWM, 2=pilot throttle channel pass-through. See MOTOR_TEST_THROTTLE_TYPE enum)</param>
<param index="3">throttle</param>
<param index="4">timeout (in seconds)</param>
<param index="5">Empty</param>
<param index="6">Empty</param>
<param index="7">Empty</param>
</entry>
</enum> </enum>
<!-- fenced mode enums --> <!-- fenced mode enums -->
...@@ -170,6 +181,19 @@ ...@@ -170,6 +181,19 @@
</entry> </entry>
</enum> </enum>
<!-- motor test type enum -->
<enum name="MOTOR_TEST_THROTTLE_TYPE">
<entry name="MOTOR_TEST_THROTTLE_PERCENT" value="0">
<description>throttle as a percentage from 0 ~ 100</description>
</entry>
<entry name="MOTOR_TEST_THROTTLE_PWM" value="1">
<description>throttle as an absolute PWM value (normally in range of 1000~2000)</description>
</entry>
<entry name="MOTOR_TEST_THROTTLE_PILOT" value="2">
<description>throttle pass-through from pilot's transmitter</description>
</entry>
</enum>
</enums> </enums>
<messages> <messages>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment