VTOL preserve PWM min and max when enabling/disabling actuators

This commit is contained in:
Daniel Agar
2018-04-12 09:19:47 +02:00
committed by Roman Bapst
parent a78ab02144
commit 00f98c64db
8 changed files with 113 additions and 139 deletions
@@ -595,9 +595,6 @@ void VtolAttitudeControl::task_main()
parameters_update(); // initialize parameter cache
// make sure we start with idle in mc mode
_vtol_type->set_idle_mc();
/* wakeup source*/
px4_pollfd_struct_t fds[1] = {};
fds[0].fd = _actuator_inputs_mc;