mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-02 14:30:59 +08:00
do not run fw attitude controller when in rotary wing mode (VTOL)
This commit is contained in:
1 parent
7cde53597c
commit
134c7d87b8
1 file changed
+5
@@ -796,6 +796,11 @@ FixedwingAttitudeControl::task_main()
|
||||
//warnx("_actuators_airframe.control[1] = -1.0f;");
|
||||
}
|
||||
|
||||
/* if we are in rotary wing mode, do nothing */
|
||||
if (_vehicle_status.is_rotary_wing) {
|
||||
continue;
|
||||
}
|
||||
|
||||
/* decide if in stabilized or full manual control */
|
||||
|
||||
if (_vcontrol_mode.flag_control_attitude_enabled) {
|
||||
|
||||
Reference in new issue
Block a user