APM:Libraries
Classes | Macros
AP_MotorsCoax.h File Reference

Motor and Servo control class for Co-axial helicopters with two motors and two flaps. More...

#include <AP_Common/AP_Common.h>
#include <AP_Math/AP_Math.h>
#include <SRV_Channel/SRV_Channel.h>
#include "AP_MotorsMulticopter.h"
Include dependency graph for AP_MotorsCoax.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AP_MotorsCoax
 

Macros

#define AP_MOTORS_COAX_POSITIVE   1
 
#define AP_MOTORS_COAX_NEGATIVE   -1
 
#define NUM_ACTUATORS   4
 
#define AP_MOTORS_SINGLE_SPEED_DIGITAL_SERVOS   250
 
#define AP_MOTORS_SINGLE_SPEED_ANALOG_SERVOS   125
 
#define AP_MOTORS_COAX_SERVO_INPUT_RANGE   4500
 

Detailed Description

Motor and Servo control class for Co-axial helicopters with two motors and two flaps.

Definition in file AP_MotorsCoax.h.

Macro Definition Documentation

◆ AP_MOTORS_COAX_NEGATIVE

#define AP_MOTORS_COAX_NEGATIVE   -1

Definition at line 12 of file AP_MotorsCoax.h.

◆ AP_MOTORS_COAX_POSITIVE

#define AP_MOTORS_COAX_POSITIVE   1

Definition at line 11 of file AP_MotorsCoax.h.

◆ AP_MOTORS_COAX_SERVO_INPUT_RANGE

#define AP_MOTORS_COAX_SERVO_INPUT_RANGE   4500

Definition at line 19 of file AP_MotorsCoax.h.

Referenced by AP_MotorsCoax::init(), and AP_MotorsCoax::output_to_motors().

◆ AP_MOTORS_SINGLE_SPEED_ANALOG_SERVOS

#define AP_MOTORS_SINGLE_SPEED_ANALOG_SERVOS   125

Definition at line 17 of file AP_MotorsCoax.h.

◆ AP_MOTORS_SINGLE_SPEED_DIGITAL_SERVOS

#define AP_MOTORS_SINGLE_SPEED_DIGITAL_SERVOS   250

Definition at line 16 of file AP_MotorsCoax.h.

◆ NUM_ACTUATORS

#define NUM_ACTUATORS   4