28#include "pprzlink/messages.h"
41#ifndef WING_POS_DOWN_THRESH
42#define WING_POS_DOWN_THRESH 100
44#ifndef WING_POS_LOCK_MIN_THRESH
45#define WING_POS_LOCK_MIN_THRESH 2000
47#ifndef WING_POS_LOCK_MAX_THRESH
48#define WING_POS_LOCK_MAX_THRESH 2100
50#ifndef WING_POS_NOMINAL_THRUST
51#define WING_POS_NOMINAL_THRUST 5000
53#ifndef WING_POS_LOCK_SWITCH
54#define WING_POS_LOCK_SWITCH RADIO_AUX2
arch independent ADC (Analog to Digital Converter) API
Generic interface for all ADC hardware drivers, independent from microcontroller architecture.
Core autopilot interface common to all firmwares.
void adc_buf_channel(uint8_t adc_channel, struct adc_buf *s, uint8_t av_nb_sample)
Link between ChibiOS ADC drivers and Paparazzi adc_buffers.
Hardware independent code for commands handling.
Common code for AP and FBW telemetry.
#define WING_POS_LOCK_MIN_THRESH
void glide_wing_lock_init(void)
void set_rotorcraft_commands(pprz_t *cmd_out, int32_t *cmd_in, bool in_flight, bool motors_on)
Set Rotorcraft commands.
#define WING_POS_NOMINAL_THRUST
#define WING_POS_DOWN_THRESH
#define WING_POS_LOCK_MAX_THRESH
void glide_wing_lock_event()
#define WING_POS_LOCK_SWITCH
void glide_wing_lock_periodic()
struct RadioControl radio_control
Generic interface for radio control modules.
pprz_t values[RADIO_CONTROL_NB_CHANNEL]
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
int int32_t
Typedef defining 32 bit int type.