From 4bb3692020ae8565d0897188ed4d62c4d4fbcb0e Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Sat, 16 Dec 2017 10:01:49 +0100 Subject: [PATCH] FlightTask: remove unused declaration of old position evaluation method --- src/lib/FlightTasks/tasks/FlightTask.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/FlightTasks/tasks/FlightTask.hpp b/src/lib/FlightTasks/tasks/FlightTask.hpp index 7f3c151cf5..11cb909fe0 100644 --- a/src/lib/FlightTasks/tasks/FlightTask.hpp +++ b/src/lib/FlightTasks/tasks/FlightTask.hpp @@ -114,7 +114,6 @@ protected: matrix::Vector3f _position; /**< current vehicle position */ matrix::Vector3f _velocity; /**< current vehicle velocity */ float _yaw = 0.f; - bool _evaluateVehiclePosition(); /* Put the position vector produced by the task into the setpoint message */ void _setPositionSetpoint(const matrix::Vector3f &position_setpoint) { position_setpoint.copyToRaw(&_vehicle_local_position_setpoint.x); } @@ -138,5 +137,5 @@ private: void _resetSetpoint() { _vehicle_local_position_setpoint = empty_setpoint; } - bool _evaluate_vehicle_position(); + bool _evaluateVehiclePosition(); };