mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 22:53:33 +08:00
FlightModeManager/FixedwingPositionControl: robustify vehicle command parameter casting
This commit is contained in:
committed by
Roman Bapst
parent
6ce3e88f9d
commit
f892a624b7
@@ -266,7 +266,7 @@ private:
|
||||
|
||||
float _manual_control_setpoint_altitude{0.0f};
|
||||
float _manual_control_setpoint_airspeed{0.0f};
|
||||
float _commanded_airspeed_setpoint{(float)NAN}; ///< airspeed setpoint for manual modes commanded via MAV_CMD_DO_CHANGE_SPEED
|
||||
float _commanded_airspeed_setpoint{NAN}; ///< airspeed setpoint for manual modes commanded via MAV_CMD_DO_CHANGE_SPEED
|
||||
|
||||
hrt_abstime _time_in_fixed_bank_loiter{0};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user