Skip to content

Commit

Permalink
RC message (#191)
Browse files Browse the repository at this point in the history
replace old RC messages by RC_UP
  • Loading branch information
tmldeponti authored Jul 30, 2024
1 parent 71b7038 commit c96e875
Showing 1 changed file with 9 additions and 30 deletions.
39 changes: 9 additions & 30 deletions message_definitions/v1.0/messages.xml
Original file line number Diff line number Diff line change
Expand Up @@ -428,12 +428,7 @@
<field name="cycle_time" type="uint32" unit="ms"/>
</message>

<!-- Duplicate of RC_3CH defined in datalink section? -->
<message name="RC_3CH_" id="51">
<field name="throttle_mode" type="uint8" unit="byte_mask"/>
<field name="roll" type="int8"/>
<field name="pitch" type="int8"/>
</message>
<!-- 51 is free -->

<message name="MPPT" id="52">
<field name="values" type="int16[]" alt_unit_coef="1e-3"/>
Expand Down Expand Up @@ -2682,30 +2677,9 @@
<field name="cycle_time" type="uint32" unit="ms"/>
</message>

<message name="RC_3CH" id="51" link="broadcasted">
<field name="throttle_mode" type="uint8" unit="byte_mask"/>
<field name="roll" type="int8"/>
<field name="pitch" type="int8"/>
</message>

<message name="RC_4CH" id="52" link="broadcasted">
<field name="ac_id" type="uint8"/>
<field name="mode" type="uint8"/>
<field name="throttle" type="uint8"/>
<field name="roll" type="int8"/>
<field name="pitch" type="int8"/>
<field name="yaw" type="int8"/>
</message>

<message name="RC_5CH" id="53" link="broadcasted">
<field name="ac_id" type="uint8"/>
<field name="throttle" type="uint8"/>
<field name="roll" type="int8"/>
<field name="pitch" type="int8"/>
<field name="yaw" type="int8"/>
<field name="mode" type="int8"/>
<field name="kill" type="int8"/>
</message>
<!-- 51 is free -->
<!-- 52 is free -->
<!-- 53 is free -->

<message name="EXTERNAL_POSE" id="54" link="forwarded">
<description>
Expand Down Expand Up @@ -2833,6 +2807,11 @@
<field name="ac_id" type="uint8"/>
</message>

<message name="RC_UP" id="74" link="broadcasted">
<field name="ac_id" type="uint8"/>
<field name="channels" type="int8[]"/>
</message>

<message name="KITE_COMMAND" id="96">
<field name="POWER" type="uint16"/>
<field name="TURN" type="uint16"/>
Expand Down

0 comments on commit c96e875

Please sign in to comment.