You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
893 B
29 lines
893 B
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: t -*- |
|
|
|
/// @file AP_MotorsOcta.h |
|
/// @brief Motor control class for Octacopters |
|
|
|
#ifndef __AP_MOTORS_OCTA_H__ |
|
#define __AP_MOTORS_OCTA_H__ |
|
|
|
#include <AP_Common.h> |
|
#include <AP_Math.h> // ArduPilot Mega Vector/Matrix math Library |
|
#include <RC_Channel.h> // RC Channel Library |
|
#include "AP_MotorsMatrix.h" // Parent Motors Matrix library |
|
|
|
/// @class AP_MotorsOcta |
|
class AP_MotorsOcta : public AP_MotorsMatrix { |
|
public: |
|
|
|
/// Constructor |
|
AP_MotorsOcta( 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(rc_roll, rc_pitch, rc_throttle, rc_yaw, speed_hz) { |
|
}; |
|
|
|
// setup_motors - configures the motors for a quad |
|
virtual void setup_motors(); |
|
|
|
protected: |
|
|
|
}; |
|
|
|
#endif // AP_MOTORSOCTA
|
|
|