mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 03:23:34 +08:00
Use backwards compatible manual_control_setpoint instead of manual_control_input
This commit is contained in:
@@ -388,9 +388,9 @@ int fixedwing_control_thread_main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
/* check if the throttle was ever more than 50% - go later only to failsafe if yes */
|
||||
if (PX4_ISFINITE(manual_control_setpoint.chosen_input.z) &&
|
||||
(manual_control_setpoint.chosen_input.z >= 0.6f) &&
|
||||
(manual_control_setpoint.chosen_input.z <= 1.0f)) {
|
||||
if (PX4_ISFINITE(manual_control_setpoint.z) &&
|
||||
(manual_control_setpoint.z >= 0.6f) &&
|
||||
(manual_control_setpoint.z <= 1.0f)) {
|
||||
}
|
||||
|
||||
/* get the system status and the flight mode we're in */
|
||||
|
||||
Reference in New Issue
Block a user