FlightTask.hpp: minor code cleanup

This commit is contained in:
Beat Küng
2018-11-05 10:41:06 +01:00
parent ca7acae904
commit 36ee0297ee
@@ -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();