|
|
|
@ -48,11 +48,6 @@ public:
@@ -48,11 +48,6 @@ public:
|
|
|
|
|
// you must have setup_motors before calling this
|
|
|
|
|
void set_update_rate(uint16_t speed_hz) override; |
|
|
|
|
|
|
|
|
|
// output_test_seq - spin a motor at the pwm value specified
|
|
|
|
|
// motor_seq is the motor's sequence number from 1 to the number of motors on the frame
|
|
|
|
|
// pwm value is an actual pwm value that will be output, normally in the range of 1000 ~ 2000
|
|
|
|
|
virtual void output_test_seq(uint8_t motor_seq, int16_t pwm) override; |
|
|
|
|
|
|
|
|
|
// output_test_num - spin a motor connected to the specified output channel
|
|
|
|
|
// (should only be performed during testing)
|
|
|
|
|
// If a motor output channel is remapped, the mapped channel is used.
|
|
|
|
@ -134,6 +129,11 @@ protected:
@@ -134,6 +129,11 @@ protected:
|
|
|
|
|
const char* _get_frame_string() const override { return _frame_class_string; } |
|
|
|
|
const char* get_type_string() const override { return _frame_type_string; } |
|
|
|
|
|
|
|
|
|
// output_test_seq - spin a motor at the pwm value specified
|
|
|
|
|
// motor_seq is the motor's sequence number from 1 to the number of motors on the frame
|
|
|
|
|
// pwm value is an actual pwm value that will be output, normally in the range of 1000 ~ 2000
|
|
|
|
|
virtual void _output_test_seq(uint8_t motor_seq, int16_t pwm) override; |
|
|
|
|
|
|
|
|
|
float _roll_factor[AP_MOTORS_MAX_NUM_MOTORS]; // each motors contribution to roll
|
|
|
|
|
float _pitch_factor[AP_MOTORS_MAX_NUM_MOTORS]; // each motors contribution to pitch
|
|
|
|
|
float _yaw_factor[AP_MOTORS_MAX_NUM_MOTORS]; // each motors contribution to yaw (normally 1 or -1)
|
|
|
|
|