|
|
|
@ -27,7 +27,7 @@ extern const AP_HAL::HAL& hal;
@@ -27,7 +27,7 @@ extern const AP_HAL::HAL& hal;
|
|
|
|
|
|
|
|
|
|
const AP_Param::GroupInfo AP_MotorsTri::var_info[] PROGMEM = { |
|
|
|
|
// variables from parent vehicle
|
|
|
|
|
AP_NESTEDGROUPINFO(AP_Motors_Multirotor, 0), |
|
|
|
|
AP_NESTEDGROUPINFO(AP_MotorsMulticopter, 0), |
|
|
|
|
|
|
|
|
|
// parameters 1 ~ 29 were reserved for tradheli
|
|
|
|
|
// parameters 30 ~ 39 reserved for tricopter
|
|
|
|
@ -74,9 +74,6 @@ const AP_Param::GroupInfo AP_MotorsTri::var_info[] PROGMEM = {
@@ -74,9 +74,6 @@ const AP_Param::GroupInfo AP_MotorsTri::var_info[] PROGMEM = {
|
|
|
|
|
// init
|
|
|
|
|
void AP_MotorsTri::Init() |
|
|
|
|
{ |
|
|
|
|
// call parent Init function to set-up throttle curve
|
|
|
|
|
AP_Motors::Init(); |
|
|
|
|
|
|
|
|
|
// set update rate for the 3 motors (but not the servo on channel 7)
|
|
|
|
|
set_update_rate(_speed_hz); |
|
|
|
|
|
|
|
|
|