FlightTask: comment fixes

This commit is contained in:
Dennis Mannhart
2018-03-19 11:43:11 +01:00
committed by Lorenz Meier
parent c6b5731086
commit e2ac12ef2c
6 changed files with 23 additions and 36 deletions

View File

@@ -2,7 +2,6 @@
#include <mathlib/mathlib.h>
constexpr uint64_t FlightTask::_timeout;
/* First index of empty_setpoint corresponds to time-stamp and requires a finite number. */
const vehicle_local_position_setpoint_s FlightTask::empty_setpoint = {0, NAN, NAN, NAN, NAN, NAN, NAN, NAN, NAN, NAN, NAN, NAN, {NAN, NAN, NAN}};
@@ -60,7 +59,6 @@ bool FlightTask::_evaluateVehicleLocalPosition()
_position = matrix::Vector3f(&_sub_vehicle_local_position->get().x);
_velocity = matrix::Vector3f(&_sub_vehicle_local_position->get().vx);
_yaw = _sub_vehicle_local_position->get().yaw;
return true;
} else {