mirror of https://github.com/ArduPilot/ardupilot
AP_Motors: add matrix for deca-cwx frame
This adds a missing matrix for deca-cwx frame
This commit is contained in:
parent
7237e346d8
commit
4483b9d6fe
|
@ -1192,8 +1192,9 @@ void AP_MotorsMatrix::setup_motors(motor_frame_class frame_class, motor_frame_ty
|
|||
add_motors(motors, ARRAY_SIZE(motors));
|
||||
break;
|
||||
}
|
||||
case MOTOR_FRAME_TYPE_X: {
|
||||
_frame_type_string = "X";
|
||||
case MOTOR_FRAME_TYPE_X:
|
||||
case MOTOR_FRAME_TYPE_CW_X: {
|
||||
_frame_type_string = "X/CW_X";
|
||||
static const AP_MotorsMatrix::MotorDef motors[] {
|
||||
{ 18, AP_MOTORS_MATRIX_YAW_FACTOR_CCW, 1 },
|
||||
{ 54, AP_MOTORS_MATRIX_YAW_FACTOR_CW, 2 },
|
||||
|
|
Loading…
Reference in New Issue