APM:Libraries
|
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"
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 |
Motor control class for traditional heli.
Definition in file AP_MotorsHeli_Single.h.
#define AP_MOTORS_HELI_SINGLE_AUX CH_7 |
Definition at line 13 of file AP_MotorsHeli_Single.h.
Referenced by AP_MotorsHeli_Single::get_motor_mask(), and AP_MotorsHeli_Single::write_aux().
#define AP_MOTORS_HELI_SINGLE_COLLECTIVE_DIRECTION_NORMAL 0 |
Definition at line 26 of file AP_MotorsHeli_Single.h.
#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().
#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().
#define AP_MOTORS_HELI_SINGLE_DDVP_SPEED_DEFAULT 500 |
Definition at line 36 of file AP_MotorsHeli_Single.h.
#define AP_MOTORS_HELI_SINGLE_EXT_GYRO_GAIN 350 |
Definition at line 39 of file AP_MotorsHeli_Single.h.
#define AP_MOTORS_HELI_SINGLE_NUM_SWASHPLATE_SERVOS 3 |
Definition at line 45 of file AP_MotorsHeli_Single.h.
#define AP_MOTORS_HELI_SINGLE_RSC CH_8 |
Definition at line 12 of file AP_MotorsHeli_Single.h.
Referenced by AP_MotorsHeli_Single::get_motor_mask(), and AP_MotorsHeli_Single::output_test().
#define AP_MOTORS_HELI_SINGLE_SERVO1_POS -60 |
Definition at line 16 of file AP_MotorsHeli_Single.h.
#define AP_MOTORS_HELI_SINGLE_SERVO2_POS 60 |
Definition at line 17 of file AP_MotorsHeli_Single.h.
#define AP_MOTORS_HELI_SINGLE_SERVO3_POS 180 |
Definition at line 18 of file AP_MotorsHeli_Single.h.
#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().
#define AP_MOTORS_HELI_SINGLE_SWASH_H3 0 |
Definition at line 21 of file AP_MotorsHeli_Single.h.
Referenced by AP_MotorsHeli_Single::calculate_roll_pitch_collective_factors().
#define AP_MOTORS_HELI_SINGLE_SWASH_H3_140 2 |
Definition at line 23 of file AP_MotorsHeli_Single.h.
Referenced by AP_MotorsHeli_Single::calculate_roll_pitch_collective_factors().
#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().
#define AP_MOTORS_HELI_SINGLE_TAILTYPE_DIRECTDRIVE_VARPITCH 2 |
Definition at line 32 of file AP_MotorsHeli_Single.h.
Referenced by AP_MotorsHeli_Single::calculate_scalars(), and AP_MotorsHeli_Single::init_outputs().
#define AP_MOTORS_HELI_SINGLE_TAILTYPE_SERVO 0 |
Definition at line 30 of file AP_MotorsHeli_Single.h.
#define AP_MOTORS_HELI_SINGLE_TAILTYPE_SERVO_EXTGYRO 1 |
Definition at line 31 of file AP_MotorsHeli_Single.h.
Referenced by AP_MotorsHeli_Single::move_actuators(), AP_MotorsHeli_Single::move_yaw(), AP_MotorsHeli_Single::output_test(), and AP_MotorsHeli_Single::supports_yaw_passthrough().