Skip to content

Commit

Permalink
ArduPlane: add support for deca frame in QuadPlane::setup
Browse files Browse the repository at this point in the history
The deca frame is properly supported for Copter and as the quadplane vtol setup calls upon the copter frames, it should also be supported for arduplane vtol for anyone who wants to work 10 vertical motors.
  • Loading branch information
IdoBuchman authored and IamPete1 committed Aug 21, 2024
1 parent 32cee97 commit e037b0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ArduPlane/quadplane.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,9 @@ bool QuadPlane::setup(void)
case AP_Motors::MOTOR_FRAME_Y6:
setup_default_channels(7);
break;
case AP_Motors::MOTOR_FRAME_DECA:
setup_default_channels(10);
break;
case AP_Motors::MOTOR_FRAME_TRI:
SRV_Channels::set_default_function(CH_5, SRV_Channel::k_motor1);
SRV_Channels::set_default_function(CH_6, SRV_Channel::k_motor2);
Expand Down

0 comments on commit e037b0b

Please sign in to comment.