APM:Libraries
Classes | Macros
AP_MotorsHeli_Dual.h File Reference

Motor control class for dual heli (tandem or transverse) More...

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

Go to the source code of this file.

Classes

class  AP_MotorsHeli_Dual
 

Macros

#define AP_MOTORS_HELI_DUAL_SERVO1_POS   -60
 
#define AP_MOTORS_HELI_DUAL_SERVO2_POS   60
 
#define AP_MOTORS_HELI_DUAL_SERVO3_POS   180
 
#define AP_MOTORS_HELI_DUAL_SERVO4_POS   -60
 
#define AP_MOTORS_HELI_DUAL_SERVO5_POS   60
 
#define AP_MOTORS_HELI_DUAL_SERVO6_POS   180
 
#define AP_MOTORS_HELI_DUAL_COLLECTIVE_DIRECTION_NORMAL   0
 
#define AP_MOTORS_HELI_DUAL_COLLECTIVE_DIRECTION_REVERSED   1
 
#define AP_MOTORS_HELI_DUAL_RSC   CH_8
 
#define AP_MOTORS_HELI_DUAL_MODE_TANDEM   0
 
#define AP_MOTORS_HELI_DUAL_MODE_TRANSVERSE   1
 
#define AP_MOTORS_HELI_DUAL_DCP_SCALER   0.25f
 
#define AP_MOTORS_HELI_DUAL_NUM_SWASHPLATE_SERVOS   6
 
#define AP_MOTORS_HELI_DUAL_COLLECTIVE2_MIN   1250
 
#define AP_MOTORS_HELI_DUAL_COLLECTIVE2_MAX   1750
 
#define AP_MOTORS_HELI_DUAL_COLLECTIVE2_MID   1500
 

Detailed Description

Motor control class for dual heli (tandem or transverse)

Author
Fredrik Hedberg

Definition in file AP_MotorsHeli_Dual.h.

Macro Definition Documentation

◆ AP_MOTORS_HELI_DUAL_COLLECTIVE2_MAX

#define AP_MOTORS_HELI_DUAL_COLLECTIVE2_MAX   1750

Definition at line 42 of file AP_MotorsHeli_Dual.h.

Referenced by AP_MotorsHeli_Dual::calculate_scalars().

◆ AP_MOTORS_HELI_DUAL_COLLECTIVE2_MID

#define AP_MOTORS_HELI_DUAL_COLLECTIVE2_MID   1500

Definition at line 43 of file AP_MotorsHeli_Dual.h.

◆ AP_MOTORS_HELI_DUAL_COLLECTIVE2_MIN

#define AP_MOTORS_HELI_DUAL_COLLECTIVE2_MIN   1250

Definition at line 41 of file AP_MotorsHeli_Dual.h.

Referenced by AP_MotorsHeli_Dual::calculate_scalars().

◆ AP_MOTORS_HELI_DUAL_COLLECTIVE_DIRECTION_NORMAL

#define AP_MOTORS_HELI_DUAL_COLLECTIVE_DIRECTION_NORMAL   0

Definition at line 24 of file AP_MotorsHeli_Dual.h.

◆ AP_MOTORS_HELI_DUAL_COLLECTIVE_DIRECTION_REVERSED

#define AP_MOTORS_HELI_DUAL_COLLECTIVE_DIRECTION_REVERSED   1

Definition at line 25 of file AP_MotorsHeli_Dual.h.

Referenced by AP_MotorsHeli_Dual::move_actuators().

◆ AP_MOTORS_HELI_DUAL_DCP_SCALER

#define AP_MOTORS_HELI_DUAL_DCP_SCALER   0.25f

Definition at line 35 of file AP_MotorsHeli_Dual.h.

◆ AP_MOTORS_HELI_DUAL_MODE_TANDEM

#define AP_MOTORS_HELI_DUAL_MODE_TANDEM   0

Definition at line 31 of file AP_MotorsHeli_Dual.h.

◆ AP_MOTORS_HELI_DUAL_MODE_TRANSVERSE

#define AP_MOTORS_HELI_DUAL_MODE_TRANSVERSE   1

◆ AP_MOTORS_HELI_DUAL_NUM_SWASHPLATE_SERVOS

#define AP_MOTORS_HELI_DUAL_NUM_SWASHPLATE_SERVOS   6

Definition at line 38 of file AP_MotorsHeli_Dual.h.

◆ AP_MOTORS_HELI_DUAL_RSC

#define AP_MOTORS_HELI_DUAL_RSC   CH_8

◆ AP_MOTORS_HELI_DUAL_SERVO1_POS

#define AP_MOTORS_HELI_DUAL_SERVO1_POS   -60

Definition at line 16 of file AP_MotorsHeli_Dual.h.

◆ AP_MOTORS_HELI_DUAL_SERVO2_POS

#define AP_MOTORS_HELI_DUAL_SERVO2_POS   60

Definition at line 17 of file AP_MotorsHeli_Dual.h.

◆ AP_MOTORS_HELI_DUAL_SERVO3_POS

#define AP_MOTORS_HELI_DUAL_SERVO3_POS   180

Definition at line 18 of file AP_MotorsHeli_Dual.h.

◆ AP_MOTORS_HELI_DUAL_SERVO4_POS

#define AP_MOTORS_HELI_DUAL_SERVO4_POS   -60

Definition at line 19 of file AP_MotorsHeli_Dual.h.

◆ AP_MOTORS_HELI_DUAL_SERVO5_POS

#define AP_MOTORS_HELI_DUAL_SERVO5_POS   60

Definition at line 20 of file AP_MotorsHeli_Dual.h.

◆ AP_MOTORS_HELI_DUAL_SERVO6_POS

#define AP_MOTORS_HELI_DUAL_SERVO6_POS   180

Definition at line 21 of file AP_MotorsHeli_Dual.h.