2018-08-07 01:30:05 +01:00
|
|
|
uint64 timestamp # time since system start (microseconds)
|
2014-12-08 10:37:01 +01:00
|
|
|
|
2018-11-09 08:26:50 +01:00
|
|
|
float32 roll_body # body angle in NED frame (can be NaN for FW)
|
|
|
|
|
float32 pitch_body # body angle in NED frame (can be NaN for FW)
|
|
|
|
|
float32 yaw_body # body angle in NED frame (can be NaN for FW)
|
2015-02-03 09:24:41 +01:00
|
|
|
|
2018-08-07 14:42:32 +01:00
|
|
|
float32 yaw_sp_move_rate # rad/s (commanded by user)
|
2014-12-08 10:37:01 +01:00
|
|
|
|
|
|
|
|
# For quaternion-based attitude control
|
2018-08-07 14:42:32 +01:00
|
|
|
float32[4] q_d # Desired quaternion for quaternion control
|
2014-12-08 10:37:01 +01:00
|
|
|
|
2018-11-22 02:32:40 +01:00
|
|
|
# For clarification: For multicopters thrust_body[0] and thrust[1] are usually 0 and thrust[2] is the negative throttle demand.
|
|
|
|
|
# For fixed wings thrust_x is the throttle demand and thrust_y, thrust_z will usually be zero.
|
|
|
|
|
float32[3] thrust_body # Normalized thrust command in body NED frame [-1,1]
|
2014-12-08 10:37:01 +01:00
|
|
|
|
2018-08-07 14:42:32 +01:00
|
|
|
bool roll_reset_integral # Reset roll integral part (navigation logic change)
|
|
|
|
|
bool pitch_reset_integral # Reset pitch integral part (navigation logic change)
|
|
|
|
|
bool yaw_reset_integral # Reset yaw integral part (navigation logic change)
|
2015-09-10 14:22:00 +02:00
|
|
|
|
2018-08-07 14:42:32 +01:00
|
|
|
bool fw_control_yaw # control heading with rudder (used for auto takeoff on runway)
|
2015-10-13 22:47:26 +02:00
|
|
|
|
2018-08-07 14:42:32 +01:00
|
|
|
uint8 apply_flaps # flap config specifier
|
|
|
|
|
uint8 FLAPS_OFF = 0 # no flaps
|
|
|
|
|
uint8 FLAPS_LAND = 1 # landing config flaps
|
|
|
|
|
uint8 FLAPS_TAKEOFF = 2 # take-off config flaps
|
2016-04-25 17:36:13 -04:00
|
|
|
|
2017-04-09 13:17:20 -04:00
|
|
|
# TOPICS vehicle_attitude_setpoint mc_virtual_attitude_setpoint fw_virtual_attitude_setpoint
|