diff --git a/libraries/AP_Motors/AP_MotorsY6.h b/libraries/AP_Motors/AP_MotorsY6.h index 712056cce4..db93e3f44a 100644 --- a/libraries/AP_Motors/AP_MotorsY6.h +++ b/libraries/AP_Motors/AP_MotorsY6.h @@ -11,22 +11,23 @@ #include // ArduPilot Mega Vector/Matrix math Library #include // RC Channel Library #include // ArduPilot Mega RC Library -#include // Parent Motors Matrix library +#include // Parent Motors Matrix library -#define AP_MOTORS_Y6_YAW_DIRECTION 1 // this really should be a user selectable parameter +#define AP_MOTORS_Y6_YAW_DIRECTION 1 // this really should be a user selectable parameter -/// @class AP_MotorsY6 +/// @class AP_MotorsY6 class AP_MotorsY6 : public AP_MotorsMatrix { -public: +public: - /// Constructor - AP_MotorsY6( uint8_t APM_version, APM_RC_Class* rc_out, RC_Channel* rc_roll, RC_Channel* rc_pitch, RC_Channel* rc_throttle, RC_Channel* rc_yaw, uint16_t speed_hz = AP_MOTORS_SPEED_DEFAULT) : AP_MotorsMatrix(APM_version, rc_out, rc_roll, rc_pitch, rc_throttle, rc_yaw, speed_hz) {}; + /// Constructor + AP_MotorsY6( uint8_t APM_version, APM_RC_Class* rc_out, RC_Channel* rc_roll, RC_Channel* rc_pitch, RC_Channel* rc_throttle, RC_Channel* rc_yaw, uint16_t speed_hz = AP_MOTORS_SPEED_DEFAULT) : AP_MotorsMatrix(APM_version, rc_out, rc_roll, rc_pitch, rc_throttle, rc_yaw, speed_hz) { + }; - // setup_motors - configures the motors for a quad - virtual void setup_motors(); + // setup_motors - configures the motors for a quad + virtual void setup_motors(); protected: -}; +}; #endif // AP_MOTORSY6 \ No newline at end of file