Files
PX4-Autopilot/dsdl/uavcan/equipment/actuator/Command.uavcan
T

21 lines
467 B
Plaintext

#
# Nested type.
# Single actuator command.
#
uint8 actuator_id
#
# Whether the units are linear or angular depends on the actuator type.
#
uint4 COMMAND_TYPE_UNITLESS = 0 # [-1, 1]
uint4 COMMAND_TYPE_POSITION = 1 # meter or radian
uint4 COMMAND_TYPE_FORCE = 2 # Newton or Newton metre
uint4 COMMAND_TYPE_SPEED = 3 # meter per second or radian per second
uint4 command_type
#
# Value of the above type
#
float16 command_value