Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
actuators.h File Reference

Hardware independent API for actuators (servos, motor controllers). More...

#include "paparazzi.h"
#include "std.h"
#include "generated/airframe.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

Functions

void actuators_init (void)
 
void actuators_periodic (void)
 

Detailed Description

Hardware independent API for actuators (servos, motor controllers).

Definition in file actuators.h.


Data Structure Documentation

◆ act_feedback_t

struct act_feedback_t

Definition at line 44 of file actuators.h.

+ Collaboration diagram for act_feedback_t:
Data Fields
uint8_t idx General index of the actuators (generated in airframe.h)
float position In radians.
int32_t rpm RPM.
struct act_feedback_set_t set Bitset registering what is set as feedback.

◆ act_feedback_t::act_feedback_set_t

struct act_feedback_t::act_feedback_set_t

Definition at line 46 of file actuators.h.

Data Fields
bool position: 1 Position is set.
bool rpm: 1 RPM is set.

Function Documentation

◆ actuators_init()

void actuators_init ( void  )

Definition at line 138 of file actuators.c.

Referenced by main_init(), and px4_gimbal_init().

+ Here is the caller graph for this function:

◆ actuators_periodic()

void actuators_periodic ( void  )

Definition at line 139 of file actuators.c.