Paparazzi UAS  v6.2_unstable
Paparazzi is a free software Unmanned Aircraft System.
actuators.h File Reference
#include <stdint.h>
#include "mcu_periph/i2c.h"
+ Include dependency graph for actuators.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ActuatorsBebop


 Set reference speed. More...
 Get observation data. More...
 Start the propellers. More...
 Toggle GPIO (reset, red led, green led) More...
 Stop the propellers. More...
 Clear all current erros. More...
 Play a sound (0=stop, 1=short beep, 2=boot beep, 3=Be-Bop-Ah-Lula, negative=repeat) More...
 Get version information. More...
#define ActuatorsBebopSet(_i, _v)   { actuators_bebop.rpm_ref[_i] = _v; }
#define ActuatorsBebopCommit()   actuators_bebop_commit();
#define ActuatorsBebopInit()   actuators_bebop_init();


void actuators_bebop_commit (void)
void actuators_bebop_init (void)


struct ActuatorsBebop actuators_bebop

Detailed Description

Actuator driver for the bebop

Definition in file actuators.h.

Data Structure Documentation

◆ ActuatorsBebop

struct ActuatorsBebop

Definition at line 48 of file actuators.h.

+ Collaboration diagram for ActuatorsBebop:
Data Fields
struct i2c_transaction i2c_trans I2C transaction for communicating with the bebop BLDC driver.
uint8_t led Current led status.
uint16_t rpm_obs[4] Observed RPM.
uint16_t rpm_ref[4] Reference RPM.

Macro Definition Documentation



Definition at line 35 of file actuators.h.



Clear all current erros.

Definition at line 43 of file actuators.h.



Get version information.

Definition at line 45 of file actuators.h.



Get observation data.

Definition at line 39 of file actuators.h.



Play a sound (0=stop, 1=short beep, 2=boot beep, 3=Be-Bop-Ah-Lula, negative=repeat)

Definition at line 44 of file actuators.h.



Set reference speed.

Definition at line 38 of file actuators.h.



Start the propellers.

Definition at line 40 of file actuators.h.



Stop the propellers.

Definition at line 42 of file actuators.h.



Toggle GPIO (reset, red led, green led)

Definition at line 41 of file actuators.h.

◆ ActuatorsBebopCommit

#define ActuatorsBebopCommit ( )    actuators_bebop_commit();

Definition at line 56 of file actuators.h.

◆ ActuatorsBebopInit

#define ActuatorsBebopInit ( )    actuators_bebop_init();

Definition at line 57 of file actuators.h.

◆ ActuatorsBebopSet

#define ActuatorsBebopSet (   _i,
)    { actuators_bebop.rpm_ref[_i] = _v; }

Definition at line 55 of file actuators.h.

Function Documentation

◆ actuators_bebop_commit()

◆ actuators_bebop_init()

Variable Documentation

◆ actuators_bebop

struct ActuatorsBebop actuators_bebop

Definition at line 58 of file actuators.c.

Referenced by actuators_bebop_commit(), actuators_bebop_init(), and send_bebop_actuators().