Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
actuators_heli.c File Reference
+ Include dependency graph for actuators_heli.c:

Go to the source code of this file.

Macros

#define actuators   actuators_pwm_values
 
#define SERVOS_TICS_OF_USEC(_v)   (_v)
 
#define ESC_STOPPED   SERVOS_TICS_OF_USEC(0)
 
#define ESC_HOVER   SERVOS_TICS_OF_USEC(5500)
 
#define Actuator(_x)   actuators_pwm_values[_x]
 
#define ChopServo(x, a, b)   Chop(x, a, b)
 
#define ActuatorsCommit   actuators_pwm_commit
 

Functions

void actuators_init (void)
 
void actuators_set (bool_t motors_on)
 

Variables

int32_t actuators_pwm_values [ACTUATORS_PWM_NB]
 

Macro Definition Documentation

#define Actuator (   _x)    actuators_pwm_values[_x]

Definition at line 45 of file actuators_heli.c.

#define actuators   actuators_pwm_values

Definition at line 35 of file actuators_heli.c.

#define ActuatorsCommit   actuators_pwm_commit

Definition at line 49 of file actuators_heli.c.

#define ChopServo (   x,
  a,
 
)    Chop(x, a, b)

Definition at line 47 of file actuators_heli.c.

#define ESC_HOVER   SERVOS_TICS_OF_USEC(5500)

Definition at line 40 of file actuators_heli.c.

#define ESC_STOPPED   SERVOS_TICS_OF_USEC(0)

Definition at line 37 of file actuators_heli.c.

#define SERVOS_TICS_OF_USEC (   _v)    (_v)

Definition at line 36 of file actuators_heli.c.

Function Documentation

void actuators_init ( void  )

Definition at line 53 of file actuators_heli.c.

References actuators_pwm_arch_init().

+ Here is the call graph for this function:

void actuators_set ( bool_t  motors_on)

Definition at line 56 of file actuators_heli.c.

References commands.

Variable Documentation

int32_t actuators_pwm_values[ACTUATORS_PWM_NB]

Definition at line 51 of file actuators_heli.c.