|
|
@ -130,6 +130,9 @@ protected: |
|
|
|
/* Put the yaw anglular rate produced by the task into the setpoint message */ |
|
|
|
/* Put the yaw anglular rate produced by the task into the setpoint message */ |
|
|
|
void _setYawspeedSetpoint(const float &yawspeed) { _vehicle_local_position_setpoint.yawspeed = yawspeed; } |
|
|
|
void _setYawspeedSetpoint(const float &yawspeed) { _vehicle_local_position_setpoint.yawspeed = yawspeed; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Put the thrust setpoint produced by the task into the setpoint message */ |
|
|
|
|
|
|
|
void _setThrustSetpoint(const matrix::Vector3f &thrust_setpoint) { thrust_setpoint.copyToRaw(&_vehicle_local_position_setpoint.thr_x);} |
|
|
|
|
|
|
|
|
|
|
|
private: |
|
|
|
private: |
|
|
|
uORB::Subscription<vehicle_local_position_s> *_sub_vehicle_local_position{nullptr}; |
|
|
|
uORB::Subscription<vehicle_local_position_s> *_sub_vehicle_local_position{nullptr}; |
|
|
|
|
|
|
|
|
|
|
|