mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 03:49:12 +08:00
FlightTask.hpp: minor code cleanup
This commit is contained in:
@@ -150,7 +150,7 @@ public:
|
|||||||
* Sets an external yaw handler which can be used by any flight task to implement a different yaw control strategy.
|
* Sets an external yaw handler which can be used by any flight task to implement a different yaw control strategy.
|
||||||
* This method does nothing, each flighttask which wants to use the yaw handler needs to override this method.
|
* This method does nothing, each flighttask which wants to use the yaw handler needs to override this method.
|
||||||
*/
|
*/
|
||||||
virtual void setYawHandler(WeatherVane *ext_yaw_handler) {};
|
virtual void setYawHandler(WeatherVane *ext_yaw_handler) {}
|
||||||
|
|
||||||
void updateVelocityControllerIO(const matrix::Vector3f &vel_sp,
|
void updateVelocityControllerIO(const matrix::Vector3f &vel_sp,
|
||||||
const matrix::Vector3f &thrust_sp) {_velocity_setpoint_feedback = vel_sp; _thrust_setpoint_feedback = thrust_sp; }
|
const matrix::Vector3f &thrust_sp) {_velocity_setpoint_feedback = vel_sp; _thrust_setpoint_feedback = thrust_sp; }
|
||||||
@@ -166,7 +166,7 @@ protected:
|
|||||||
*/
|
*/
|
||||||
void _resetSetpoints();
|
void _resetSetpoints();
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Check and update local position
|
* Check and update local position
|
||||||
*/
|
*/
|
||||||
void _evaluateVehicleLocalPosition();
|
void _evaluateVehicleLocalPosition();
|
||||||
|
|||||||
Reference in New Issue
Block a user