mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 01:00:36 +08:00
vtol fixes:
- mc pos control: publish attitude setpoint when vtol is in trans mode - fw att control: do not publish attitude setpoint when in transition mode - introduce flag in_transition_mode in vehicle status message for vtol - improve tiltrotor code based on flight testing
This commit is contained in:
@@ -1498,6 +1498,7 @@ int commander_thread_main(int argc, char *argv[])
|
||||
/* Make sure that this is only adjusted if vehicle really is of type vtol*/
|
||||
if (is_vtol(&status)) {
|
||||
status.is_rotary_wing = vtol_status.vtol_in_rw_mode;
|
||||
status.in_transition_mode = vtol_status.vtol_in_trans_mode;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user