mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00:00
FlightTasks: refactoring for CamelCase naming convention, small comment and declaration order renicements
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user