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:
Thomas Gubler
2014-07-03 16:20:58 +02:00
parent cbd602c27c
commit 822403e34b
@@ -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;