/// @file AP_MotorsMatrixTS.h /// @brief Motor control class for tailsitters with multicopter motor configurations #pragma once #include #include #include #include "AP_MotorsMatrix.h" /// @class AP_MotorsMatrix class AP_MotorsMatrixTS : public AP_MotorsMatrix { public: AP_MotorsMatrixTS(uint16_t loop_rate, uint16_t speed_hz = AP_MOTORS_SPEED_DEFAULT) : AP_MotorsMatrix(loop_rate, speed_hz) { AP_Param::setup_object_defaults(this, var_info); }; protected: bool use_standard_matrix; // True to use normal matrix mixers with yaw torque // configures the motors for the defined frame_class and frame_type virtual void setup_motors(motor_frame_class frame_class, motor_frame_type frame_type) override; // calculate motor outputs void output_armed_stabilizing() override; };