mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
fix compile error
This commit is contained in:
parent
57f3be3a69
commit
91e4da8885
@ -79,7 +79,7 @@ void RunwayTakeoff::update(float airspeed, float alt_agl,
|
||||
switch (_state) {
|
||||
case RunwayTakeoffState::THROTTLE_RAMP:
|
||||
if (hrt_elapsed_time(&_initialized_time) > _param_rwto_ramp_time.get() * 1e6f
|
||||
|| airspeed > _param_fw_airspd_min.get() * _param_rwto_airspd_scl.get() * 0.9) {
|
||||
|| airspeed > _param_fw_airspd_min.get() * _param_rwto_airspd_scl.get() * 0.9f) {
|
||||
_state = RunwayTakeoffState::CLAMPED_TO_RUNWAY;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user