44 #define POSITION_SETPOINT_SETPOINT_TYPE_POSITION 0 45 #define POSITION_SETPOINT_SETPOINT_TYPE_VELOCITY 1 46 #define POSITION_SETPOINT_SETPOINT_TYPE_LOITER 2 47 #define POSITION_SETPOINT_SETPOINT_TYPE_TAKEOFF 3 48 #define POSITION_SETPOINT_SETPOINT_TYPE_LAND 4 49 #define POSITION_SETPOINT_SETPOINT_TYPE_IDLE 5 50 #define POSITION_SETPOINT_SETPOINT_TYPE_OFFBOARD 6 51 #define POSITION_SETPOINT_SETPOINT_TYPE_FOLLOW_TARGET 7 52 #define POSITION_SETPOINT_VELOCITY_FRAME_LOCAL_NED 1 53 #define POSITION_SETPOINT_VELOCITY_FRAME_BODY_NED 8 100 static constexpr uint8_t SETPOINT_TYPE_POSITION = 0;
101 static constexpr uint8_t SETPOINT_TYPE_VELOCITY = 1;
102 static constexpr uint8_t SETPOINT_TYPE_LOITER = 2;
103 static constexpr uint8_t SETPOINT_TYPE_TAKEOFF = 3;
104 static constexpr uint8_t SETPOINT_TYPE_LAND = 4;
105 static constexpr uint8_t SETPOINT_TYPE_IDLE = 5;
106 static constexpr uint8_t SETPOINT_TYPE_OFFBOARD = 6;
107 static constexpr uint8_t SETPOINT_TYPE_FOLLOW_TARGET = 7;
108 static constexpr uint8_t VELOCITY_FRAME_LOCAL_NED = 1;
109 static constexpr uint8_t VELOCITY_FRAME_BODY_NED = 8;
API for the uORB lightweight object broker.
bool acceleration_is_force
ORB_DECLARE(position_setpoint)