mirror of
https://github.com/mavlink/mavlink.git
synced 2026-06-19 07:35:34 +00:00
common: HIL_ACTUATOR_CONTROLS and HIL_ACTUATOR_CONTROLS_FLAGS enum (#2221)
Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
This commit is contained in:
@@ -5279,6 +5279,12 @@
|
||||
</description>
|
||||
</entry>
|
||||
</enum>
|
||||
<enum name="HIL_ACTUATOR_CONTROLS_FLAGS" bitmask="true">
|
||||
<description>Flags used in HIL_ACTUATOR_CONTROLS message.</description>
|
||||
<entry value="1" name="HIL_ACTUATOR_CONTROLS_FLAGS_LOCKSTEP">
|
||||
<description>Simulation is using lockstep</description>
|
||||
</entry>
|
||||
</enum>
|
||||
</enums>
|
||||
<messages>
|
||||
<message id="1" name="SYS_STATUS">
|
||||
@@ -6125,8 +6131,8 @@
|
||||
<description>Sent from autopilot to simulation. Hardware in the loop control outputs. Alternative to HIL_CONTROLS.</description>
|
||||
<field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number.</field>
|
||||
<field type="float[16]" name="controls">Control outputs -1 .. 1. Channel assignment depends on the simulated hardware.</field>
|
||||
<field type="uint8_t" name="mode" enum="MAV_MODE_FLAG">System mode. Includes arming state.</field>
|
||||
<field type="uint64_t" name="flags">Flags as bitfield, 1: indicate simulation using lockstep.</field>
|
||||
<field type="uint8_t" name="mode" enum="MAV_MODE_FLAG" display="bitmask">System mode. Includes arming state.</field>
|
||||
<field type="uint64_t" name="flags" enum="HIL_ACTUATOR_CONTROLS_FLAGS" display="bitmask">Flags bitmask.</field>
|
||||
</message>
|
||||
<message id="100" name="OPTICAL_FLOW">
|
||||
<description>Optical flow from a flow sensor (e.g. optical mouse sensor)</description>
|
||||
|
||||
Reference in New Issue
Block a user