Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
Communication module with the Data Acquisition board from Meteo France. More...
#include "modules/meteo/meteo_france_DAQ.h"
#include "state.h"
#include "autopilot.h"
#include "subsystems/datalink/datalink.h"
#include "subsystems/datalink/downlink.h"
#include "subsystems/chibios-libopencm3/sdLog.h"
#include "subsystems/chibios-libopencm3/chibios_sdlog.h"
#include "subsystems/gps.h"
#include "modules/datalink/extra_pprz_dl.h"
Go to the source code of this file.
Macros | |
#define | MF_DAQ_POWER_INIT TRUE |
Functions | |
void | init_mf_daq (void) |
void | mf_daq_send_state (void) |
void | mf_daq_send_report (void) |
void | parse_mf_daq_msg (void) |
Variables | |
struct MF_DAQ | mf_daq |
bool_t | log_started |
Communication module with the Data Acquisition board from Meteo France.
DAQ board sends measurments to the AP AP sends periodic report to the ground, store data on SD card and sends A/C state to DAQ board
Definition in file meteo_france_DAQ.c.
#define MF_DAQ_POWER_INIT TRUE |
Definition at line 50 of file meteo_france_DAQ.c.
Referenced by init_mf_daq().
void init_mf_daq | ( | void | ) |
Definition at line 57 of file meteo_france_DAQ.c.
References FALSE, gpio_setup_output(), log_started, meteo_france_DAQ_SetPower, mf_daq, MF_DAQ_POWER_INIT, MF_DAQ::nb, and MF_DAQ::power.
void mf_daq_send_report | ( | void | ) |
Definition at line 92 of file meteo_france_DAQ.c.
References GpsState::course, DefaultChannel, DefaultDevice, UtmCoor_i::east, FALSE, GpsState::fix, foo, gps, GpsState::gspeed, GpsState::hmsl, log_started, mf_daq, MF_DAQ::nb, GpsState::ned_vel, UtmCoor_i::north, pprzlog_tp, GpsState::tow, TRUE, GpsState::utm_pos, MF_DAQ::values, GpsState::week, NedCoor_i::z, and UtmCoor_i::zone.
void mf_daq_send_state | ( | void | ) |
Definition at line 68 of file meteo_france_DAQ.c.
References autopilot_flight_time, extra_pprz_tp, p, stateGetAccelNed_f(), stateGetBodyRates_f(), stateGetHorizontalWindspeed_f(), stateGetNedToBodyEulers_f(), stateGetPositionLla_f(), and stateGetSpeedEnu_f().
void parse_mf_daq_msg | ( | void | ) |
Definition at line 116 of file meteo_france_DAQ.c.
References autopilot_flight_time, buf, dl_buffer, log_started, mf_daq, MF_DAQ_SIZE, MF_DAQ::nb, p, pprzlog_tp, stateGetAccelNed_f(), stateGetBodyRates_f(), stateGetHorizontalWindspeed_f(), stateGetNedToBodyEulers_f(), stateGetPositionLla_f(), stateGetSpeedEnu_f(), and MF_DAQ::values.
bool_t log_started |
Definition at line 47 of file meteo_france_DAQ.c.
Referenced by aoa_pwm_init(), aoa_pwm_update(), init_mf_daq(), ins_float_invariant_propagate(), mf_daq_send_report(), and parse_mf_daq_msg().
struct MF_DAQ mf_daq |
Definition at line 46 of file meteo_france_DAQ.c.
Referenced by init_mf_daq(), mf_daq_send_report(), and parse_mf_daq_msg().