49 #ifndef MF_DAQ_POWER_INIT
50 #define MF_DAQ_POWER_INIT TRUE
53 #if !(defined MF_DAQ_POWER_PORT) && !(defined MF_DAQ_POWER_PIN)
54 INFO(
"MF_DAQ power pin is not defined")
61 #if (defined MF_DAQ_POWER_PORT) && (defined MF_DAQ_POWER_PIN)
71 DOWNLINK_SEND_MF_DAQ_STATE(
extra_pprz_tp, EXTRA_DOWNLINK_DEVICE,
static struct FloatEulers * stateGetNedToBodyEulers_f(void)
Get vehicle body attitude euler angles (float).
float alt
in meters (above WGS84 reference ellipsoid or above MSL)
void mf_daq_send_state(void)
Handling of messages coming from ground and other A/Cs.
uint16_t flight_time
flight time in seconds
static struct LlaCoor_f * stateGetPositionLla_f(void)
Get position in LLA coordinates (float).
position in UTM coordinates Units: meters
Initialize pprzlog transport.
void gpio_setup_output(ioportid_t port, uint16_t gpios)
Setup one or more pins of the given GPIO port as outputs.
struct pprz_autopilot autopilot
Global autopilot structure.
#define meteo_france_DAQ_SetPower(_x)
int32_t hmsl
height above mean sea level (MSL) in mm
uint32_t tow
GPS time of week in ms.
Device independent GPS code (interface)
static struct NedCoor_f * stateGetAccelNed_f(void)
Get acceleration in NED coordinates (float).
uint8_t zone
UTM zone number.
Communication module with the Data Acquisition board from Meteo France.
static struct FloatRates * stateGetBodyRates_f(void)
Get vehicle body angular rate (float).
void parse_mf_daq_msg(void)
Core autopilot interface common to all firmwares.
static struct UtmCoor_f * stateGetPositionUtm_f(void)
Get position in UTM coordinates (float).
API to get/set the generic vehicle states.
int32_t course
GPS course over ground in rad*1e7, [0, 2*Pi]*1e7 (CW/north)
#define MF_DAQ_POWER_INIT
static struct EnuCoor_f * stateGetSpeedEnu_f(void)
Get ground speed in local ENU coordinates (float).
static struct FloatVect2 * stateGetHorizontalWindspeed_f(void)
Get horizontal windspeed (float).
Common code for AP and FBW telemetry.
uint8_t dl_buffer[MSG_SIZE]
void mf_daq_send_report(void)
uint16_t gspeed
norm of 2d ground speed in cm/s
struct pprzlog_transport pprzlog_tp
PPRZLOG transport structure.
float values[MF_DAQ_SIZE]
struct NedCoor_i ned_vel
speed NED in cm/s
struct GpsState gps
global GPS state