|
|
|
@ -184,7 +184,11 @@ void Copter::init_ardupilot()
@@ -184,7 +184,11 @@ void Copter::init_ardupilot()
|
|
|
|
|
// allocate the motors class
|
|
|
|
|
allocate_motors(); |
|
|
|
|
|
|
|
|
|
init_rc_out(); // sets up motors and output to escs
|
|
|
|
|
// sets up motors and output to escs
|
|
|
|
|
init_rc_out(); |
|
|
|
|
|
|
|
|
|
// motors initialised so parameters can be sent
|
|
|
|
|
ap.initialised_params = true; |
|
|
|
|
|
|
|
|
|
// initialise which outputs Servo and Relay events can use
|
|
|
|
|
ServoRelayEvents.set_channel_mask(~motors->get_motor_mask()); |
|
|
|
|