Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
motor_mixing_types.h File Reference

Common Motor Mixing configuration types. More...

#include "generated/airframe.h"
Include dependency graph for motor_mixing_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define QUAD_PLUS   1
#define QUAD_X   2
#define HEXA_X   3
#define HEXA_PLUS   4
#define OCTO_X   5
#define OCTO_PLUS   6
#define MOTOR_YAW_SIGN   1
#define MOTOR_FRONT   0
#define MOTOR_RIGHT   1
#define MOTOR_BACK   2
#define MOTOR_LEFT   3
#define MOTOR_MIXING_NB_MOTOR   4
#define MOTOR_MIXING_SCALE   256
#define MOTOR_MIXING_ROLL_COEF   { 0, -256, 0, 256 }
#define MOTOR_MIXING_PITCH_COEF   { 256, 0, -256, 0 }
#define MOTOR_MIXING_YAW_COEF   { -MOTOR_YAW_SIGN*128, MOTOR_YAW_SIGN*128, -MOTOR_YAW_SIGN*128, MOTOR_YAW_SIGN*128 }
#define MOTOR_MIXING_THRUST_COEF   { 256, 256, 256, 256 }

Detailed Description

Common Motor Mixing configuration types.

Definition in file motor_mixing_types.h.

Macro Definition Documentation

◆ HEXA_PLUS

#define HEXA_PLUS   4

Definition at line 35 of file motor_mixing_types.h.

◆ HEXA_X

#define HEXA_X   3

Definition at line 34 of file motor_mixing_types.h.

◆ MOTOR_BACK

#define MOTOR_BACK   2

Definition at line 53 of file motor_mixing_types.h.

Referenced by ASSERT_EQUIVALENCE().

◆ MOTOR_FRONT

#define MOTOR_FRONT   0

Definition at line 51 of file motor_mixing_types.h.

Referenced by ASSERT_EQUIVALENCE().

◆ MOTOR_LEFT

#define MOTOR_LEFT   3

Definition at line 54 of file motor_mixing_types.h.

Referenced by ASSERT_EQUIVALENCE().

◆ MOTOR_MIXING_NB_MOTOR

◆ MOTOR_MIXING_PITCH_COEF

#define MOTOR_MIXING_PITCH_COEF   { 256, 0, -256, 0 }

Definition at line 58 of file motor_mixing_types.h.

◆ MOTOR_MIXING_ROLL_COEF

#define MOTOR_MIXING_ROLL_COEF   { 0, -256, 0, 256 }

Definition at line 57 of file motor_mixing_types.h.

◆ MOTOR_MIXING_SCALE

#define MOTOR_MIXING_SCALE   256

Definition at line 56 of file motor_mixing_types.h.

Referenced by motor_mixing_run().

◆ MOTOR_MIXING_THRUST_COEF

#define MOTOR_MIXING_THRUST_COEF   { 256, 256, 256, 256 }

Definition at line 60 of file motor_mixing_types.h.

◆ MOTOR_MIXING_YAW_COEF

#define MOTOR_MIXING_YAW_COEF   { -MOTOR_YAW_SIGN*128, MOTOR_YAW_SIGN*128, -MOTOR_YAW_SIGN*128, MOTOR_YAW_SIGN*128 }

Definition at line 59 of file motor_mixing_types.h.

Referenced by init_gazebo(), and init_gazebo().

◆ MOTOR_RIGHT

#define MOTOR_RIGHT   1

Definition at line 52 of file motor_mixing_types.h.

Referenced by ASSERT_EQUIVALENCE().

◆ MOTOR_YAW_SIGN

#define MOTOR_YAW_SIGN   1

Definition at line 43 of file motor_mixing_types.h.

◆ OCTO_PLUS

#define OCTO_PLUS   6

Definition at line 37 of file motor_mixing_types.h.

◆ OCTO_X

#define OCTO_X   5

Definition at line 36 of file motor_mixing_types.h.

◆ QUAD_PLUS

#define QUAD_PLUS   1

Definition at line 32 of file motor_mixing_types.h.

◆ QUAD_X

#define QUAD_X   2

Definition at line 33 of file motor_mixing_types.h.