2021-09-11 12:29:53 -03:00
|
|
|
# Motor control message
|
|
|
|
uint64 timestamp # time since system start (microseconds)
|
|
|
|
uint64 timestamp_sample # the timestamp the data this control response is based on was sampled
|
|
|
|
|
2021-11-27 11:43:41 -04:00
|
|
|
uint16 reversible_flags # bitset which motors are configured to be reversible
|
|
|
|
|
2022-01-24 06:20:27 -04:00
|
|
|
uint8 ACTUATOR_FUNCTION_MOTOR1 = 101
|
|
|
|
|
2022-04-28 08:32:02 -03:00
|
|
|
uint8 NUM_CONTROLS = 12
|
|
|
|
float32[12] control # range: [-1, 1], where 1 means maximum positive thrust,
|
|
|
|
# -1 maximum negative (if not supported by the output, <0 maps to NaN),
|
|
|
|
# and NaN maps to disarmed (stop the motors)
|