Plane: try left/right throttle to init ESC scaling
Without this, twin motor planes with DroneCAN ESCs need to set a dummy throttle channel for scale_esc_to_unity to work.
This commit is contained in:
parent
8e707ef4e2
commit
a5c8b03925
@ -58,6 +58,8 @@ void Plane::set_control_channels(void)
|
||||
// setup correct scaling for ESCs like the UAVCAN ESCs which
|
||||
// take a proportion of speed. For quadplanes we use AP_Motors
|
||||
// scaling
|
||||
g2.servo_channels.set_esc_scaling_for(SRV_Channel::k_throttleLeft);
|
||||
g2.servo_channels.set_esc_scaling_for(SRV_Channel::k_throttleRight);
|
||||
g2.servo_channels.set_esc_scaling_for(SRV_Channel::k_throttle);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user