mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00:00
FlightTasks: small refactor for review comments
This commit is contained in:
@@ -26,8 +26,7 @@ int FlightTask::update()
|
||||
_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;
|
||||
int ret = _evaluate_vehicle_position();
|
||||
return ret;
|
||||
return _evaluate_vehicle_position();
|
||||
}
|
||||
|
||||
int FlightTask::_evaluate_vehicle_position()
|
||||
|
||||
Reference in New Issue
Block a user