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:
tumbili
2015-08-12 15:18:43 +02:00
parent c448f955e0
commit 04f55ce784
5 changed files with 16 additions and 6 deletions
+1
View File
@@ -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;
}
}