Copter: allow Tri copters to init ESCs through APM/PX4
This commit is contained in:
parent
91b08cdcec
commit
5235f4cacd
@ -21,6 +21,11 @@ void AP_MotorsTri::Init()
|
||||
|
||||
// set update rate for the 3 motors (but not the servo on channel 7)
|
||||
set_update_rate(_speed_hz);
|
||||
|
||||
// set the motor_enabled flag so that the ESCs can be calibrated like other frame types
|
||||
motor_enabled[AP_MOTORS_MOT_1] = true;
|
||||
motor_enabled[AP_MOTORS_MOT_2] = true;
|
||||
motor_enabled[AP_MOTORS_MOT_4] = true;
|
||||
}
|
||||
|
||||
// set update rate to motors - a value in hertz
|
||||
|
Loading…
Reference in New Issue
Block a user