Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
pfc_actuators.h File Reference
#include "std.h"
+ Include dependency graph for pfc_actuators.h:

Go to the source code of this file.

Functions

void pfc_actuators_init (void)
 Register the preflight checks for the actuators. More...
 
void pfc_actuators_run (void)
 Move the actuators, should be put in the command laws. More...
 
void pfc_actuators_start (bool start)
 Start the actuator testing. More...
 
int16_t pfc_actuators_value (uint8_t idx, int16_t value)
 Get the actuator value in the command laws to move the actuator during the preflight checks. More...
 

Detailed Description

Author
Freek van Tienen freek.nosp@m..v.t.nosp@m.ienen.nosp@m.@gma.nosp@m.il.co.nosp@m.m Checks the actuators with feedback before takeoff

Definition in file pfc_actuators.h.

Function Documentation

◆ pfc_actuators_init()

◆ pfc_actuators_run()

◆ pfc_actuators_start()

◆ pfc_actuators_value()

int16_t pfc_actuators_value ( uint8_t  idx,
int16_t  value 
)

Get the actuator value in the command laws to move the actuator during the preflight checks.

Parameters
idxThe index of the actuator in the preflight checks struct
valueThe value if no checks are performed on this actuator

Definition at line 248 of file pfc_actuators.c.

References pfc_actuators_t::act_idx, pfc_actuators_t::act_state, pfc_actuator_t::high, idx, pfc_actuator_t::low, pfc_acts, PFC_ACTUATOR_STATE_HIGH, PFC_ACTUATOR_STATE_LOW, pfc_actuators, PFC_ACTUATORS_STATE_RUNNING, and pfc_actuators_t::state.