mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 20:30:35 +08:00
uorb offboard control topic: add force sp flag
The flag has the same meaning as bit 10 of type_mask in MAVLINK_MSG_ID_LOCAL_NED_POSITION_SETPOINT_EXTERNAL
This commit is contained in:
@@ -91,7 +91,9 @@ struct offboard_control_setpoint_s {
|
||||
float p8; /**< y acc */
|
||||
float p9; /**< z acc */
|
||||
|
||||
//XXX: use a bitmask with wrapper functions instead
|
||||
bool ignore[9]; /**< if field i is set to true, pi should be ignored */
|
||||
bool isForceSetpoint; /**< if set to true: p7 to p9 should be interpreted as force instead of acceleration */
|
||||
|
||||
float override_mode_switch;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user