Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Hardware independent API for actuators (servos, motor controllers). More...
Go to the source code of this file.
Data Structures | |
struct | act_feedback_t |
struct | act_feedback_t::act_feedback_set_t |
Functions | |
void | actuators_init (void) |
void | actuators_periodic (void) |
Hardware independent API for actuators (servos, motor controllers).
Definition in file actuators.h.
struct act_feedback_t |
Definition at line 44 of file actuators.h.
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. |
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. |
void actuators_init | ( | void | ) |
Definition at line 138 of file actuators.c.
Referenced by main_init(), and px4_gimbal_init().
void actuators_periodic | ( | void | ) |
Definition at line 139 of file actuators.c.