FlightTask: Add initialisation of the landing gear

This commit is contained in:
Simone Guscetti authored and Dennis Mannhart committed 2018-12-10 16:17:23 +01:00
1 parent de185726b3
commit aaddb845c4
1 file changed
+1
@@ -36,6 +36,7 @@ bool FlightTask::activate()
_setDefaultConstraints();
_time_stamp_activate = hrt_absolute_time();
_heading_reset_counter = _sub_attitude->get().quat_reset_counter;
_gear = landing_gear_default_keep;
return true;
}