mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-29 05:40:35 +08:00
fix compile error
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user