APM:Libraries
Classes | Macros
AP_MotorsHeli_Single.h File Reference

Motor control class for traditional heli. More...

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

Go to the source code of this file.

Classes

class  AP_MotorsHeli_Single
 

Macros

#define AP_MOTORS_HELI_SINGLE_RSC   CH_8
 
#define AP_MOTORS_HELI_SINGLE_AUX   CH_7
 
#define AP_MOTORS_HELI_SINGLE_SERVO1_POS   -60
 
#define AP_MOTORS_HELI_SINGLE_SERVO2_POS   60
 
#define AP_MOTORS_HELI_SINGLE_SERVO3_POS   180
 
#define AP_MOTORS_HELI_SINGLE_SWASH_H3   0
 
#define AP_MOTORS_HELI_SINGLE_SWASH_H1   1
 
#define AP_MOTORS_HELI_SINGLE_SWASH_H3_140   2
 
#define AP_MOTORS_HELI_SINGLE_COLLECTIVE_DIRECTION_NORMAL   0
 
#define AP_MOTORS_HELI_SINGLE_COLLECTIVE_DIRECTION_REVERSED   1
 
#define AP_MOTORS_HELI_SINGLE_TAILTYPE_SERVO   0
 
#define AP_MOTORS_HELI_SINGLE_TAILTYPE_SERVO_EXTGYRO   1
 
#define AP_MOTORS_HELI_SINGLE_TAILTYPE_DIRECTDRIVE_VARPITCH   2
 
#define AP_MOTORS_HELI_SINGLE_TAILTYPE_DIRECTDRIVE_FIXEDPITCH   3
 
#define AP_MOTORS_HELI_SINGLE_DDVP_SPEED_DEFAULT   500
 
#define AP_MOTORS_HELI_SINGLE_EXT_GYRO_GAIN   350
 
#define AP_MOTORS_HELI_SINGLE_COLYAW_RANGE   10.0f
 
#define AP_MOTORS_HELI_SINGLE_NUM_SWASHPLATE_SERVOS   3
 

Detailed Description

Motor control class for traditional heli.

Definition in file AP_MotorsHeli_Single.h.

Macro Definition Documentation

◆ AP_MOTORS_HELI_SINGLE_AUX

#define AP_MOTORS_HELI_SINGLE_AUX   CH_7

◆ AP_MOTORS_HELI_SINGLE_COLLECTIVE_DIRECTION_NORMAL

#define AP_MOTORS_HELI_SINGLE_COLLECTIVE_DIRECTION_NORMAL   0

Definition at line 26 of file AP_MotorsHeli_Single.h.

◆ AP_MOTORS_HELI_SINGLE_COLLECTIVE_DIRECTION_REVERSED

#define AP_MOTORS_HELI_SINGLE_COLLECTIVE_DIRECTION_REVERSED   1

Definition at line 27 of file AP_MotorsHeli_Single.h.

Referenced by AP_MotorsHeli_Single::move_actuators().

◆ AP_MOTORS_HELI_SINGLE_COLYAW_RANGE

#define AP_MOTORS_HELI_SINGLE_COLYAW_RANGE   10.0f

Definition at line 42 of file AP_MotorsHeli_Single.h.

Referenced by AP_MotorsHeli_Single::move_actuators().

◆ AP_MOTORS_HELI_SINGLE_DDVP_SPEED_DEFAULT

#define AP_MOTORS_HELI_SINGLE_DDVP_SPEED_DEFAULT   500

Definition at line 36 of file AP_MotorsHeli_Single.h.

◆ AP_MOTORS_HELI_SINGLE_EXT_GYRO_GAIN

#define AP_MOTORS_HELI_SINGLE_EXT_GYRO_GAIN   350

Definition at line 39 of file AP_MotorsHeli_Single.h.

◆ AP_MOTORS_HELI_SINGLE_NUM_SWASHPLATE_SERVOS

#define AP_MOTORS_HELI_SINGLE_NUM_SWASHPLATE_SERVOS   3

Definition at line 45 of file AP_MotorsHeli_Single.h.

◆ AP_MOTORS_HELI_SINGLE_RSC

#define AP_MOTORS_HELI_SINGLE_RSC   CH_8

◆ AP_MOTORS_HELI_SINGLE_SERVO1_POS

#define AP_MOTORS_HELI_SINGLE_SERVO1_POS   -60

Definition at line 16 of file AP_MotorsHeli_Single.h.

◆ AP_MOTORS_HELI_SINGLE_SERVO2_POS

#define AP_MOTORS_HELI_SINGLE_SERVO2_POS   60

Definition at line 17 of file AP_MotorsHeli_Single.h.

◆ AP_MOTORS_HELI_SINGLE_SERVO3_POS

#define AP_MOTORS_HELI_SINGLE_SERVO3_POS   180

Definition at line 18 of file AP_MotorsHeli_Single.h.

◆ AP_MOTORS_HELI_SINGLE_SWASH_H1

#define AP_MOTORS_HELI_SINGLE_SWASH_H1   1

Definition at line 22 of file AP_MotorsHeli_Single.h.

Referenced by AP_MotorsHeli_Single::move_actuators().

◆ AP_MOTORS_HELI_SINGLE_SWASH_H3

#define AP_MOTORS_HELI_SINGLE_SWASH_H3   0

◆ AP_MOTORS_HELI_SINGLE_SWASH_H3_140

#define AP_MOTORS_HELI_SINGLE_SWASH_H3_140   2

◆ AP_MOTORS_HELI_SINGLE_TAILTYPE_DIRECTDRIVE_FIXEDPITCH

#define AP_MOTORS_HELI_SINGLE_TAILTYPE_DIRECTDRIVE_FIXEDPITCH   3

Definition at line 33 of file AP_MotorsHeli_Single.h.

Referenced by AP_MotorsHeli_Single::move_yaw().

◆ AP_MOTORS_HELI_SINGLE_TAILTYPE_DIRECTDRIVE_VARPITCH

#define AP_MOTORS_HELI_SINGLE_TAILTYPE_DIRECTDRIVE_VARPITCH   2

◆ AP_MOTORS_HELI_SINGLE_TAILTYPE_SERVO

#define AP_MOTORS_HELI_SINGLE_TAILTYPE_SERVO   0

Definition at line 30 of file AP_MotorsHeli_Single.h.

◆ AP_MOTORS_HELI_SINGLE_TAILTYPE_SERVO_EXTGYRO

#define AP_MOTORS_HELI_SINGLE_TAILTYPE_SERVO_EXTGYRO   1