FlightTasks: refactoring for CamelCase naming convention, small comment and declaration order renicements

This commit is contained in:
Matthias Grob
2017-11-28 21:59:31 +01:00
committed by Beat Küng
parent 888a63c001
commit e5d237088c
7 changed files with 32 additions and 30 deletions

View File

@@ -25,10 +25,10 @@ bool FlightTask::updateInitialize()
_time = (_time_stamp_current - _time_stamp_activate) / 1e6f;
_deltatime = math::min((_time_stamp_current - _time_stamp_last), _timeout) / 1e6f;
_time_stamp_last = _time_stamp_current;
return _evaluate_vehicle_position();
return _evaluateVehiclePosition();
}
bool FlightTask::_evaluate_vehicle_position()
bool FlightTask::_evaluateVehiclePosition()
{
if ((_time_stamp_current - _sub_vehicle_local_position->get().timestamp) < _timeout) {
_position = matrix::Vector3f(&_sub_vehicle_local_position->get().x);