ardupilot/libraries/AP_Motors/AP_MotorsOcta.h

31 lines
806 B
C
Raw Normal View History

2013-05-29 20:51:34 -03:00
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/// @file AP_MotorsOcta.h
/// @brief Motor control class for Octacopters
2012-10-26 20:59:07 -03:00
#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
2012-10-26 20:59:07 -03:00
#include "AP_MotorsMatrix.h" // Parent Motors Matrix library
/// @class AP_MotorsOcta
class AP_MotorsOcta : public AP_MotorsMatrix {
public:
/// Constructor
AP_MotorsOcta(uint16_t loop_rate, uint16_t speed_hz = AP_MOTORS_SPEED_DEFAULT) :
AP_MotorsMatrix(loop_rate, speed_hz)
{ };
// setup_motors - configures the motors for an octa
virtual void setup_motors();
protected:
};
2012-10-26 20:59:07 -03:00
#endif // AP_MOTORSOCTA