|
|
@ -21,7 +21,6 @@ public: |
|
|
|
AP_MotorsTri(uint16_t loop_rate, uint16_t speed_hz = AP_MOTORS_SPEED_DEFAULT) : |
|
|
|
AP_MotorsTri(uint16_t loop_rate, uint16_t speed_hz = AP_MOTORS_SPEED_DEFAULT) : |
|
|
|
AP_MotorsMulticopter(loop_rate, speed_hz) |
|
|
|
AP_MotorsMulticopter(loop_rate, speed_hz) |
|
|
|
{ |
|
|
|
{ |
|
|
|
AP_Param::setup_object_defaults(this, var_info); |
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
// init
|
|
|
|
// init
|
|
|
@ -48,9 +47,6 @@ public: |
|
|
|
// this can be used to ensure other pwm outputs (i.e. for servos) do not conflict
|
|
|
|
// this can be used to ensure other pwm outputs (i.e. for servos) do not conflict
|
|
|
|
virtual uint16_t get_motor_mask(); |
|
|
|
virtual uint16_t get_motor_mask(); |
|
|
|
|
|
|
|
|
|
|
|
// var_info for holding Parameter information
|
|
|
|
|
|
|
|
static const struct AP_Param::GroupInfo var_info[]; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
protected: |
|
|
|
// output - sends commands to the motors
|
|
|
|
// output - sends commands to the motors
|
|
|
|
void output_armed_stabilizing(); |
|
|
|
void output_armed_stabilizing(); |
|
|
|