Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "std.h"
#include "generated/airframe.h"
#include "pprzlink/pprz_transport.h"
#include "math/pprz_orientation_conversion.h"
Go to the source code of this file.
Data Structures | |
struct | mag_pitot_t |
Macros | |
#define | IMU_TO_MAG_PHI 0 |
#define | IMU_TO_MAG_THETA 0 |
#define | IMU_TO_MAG_PSI 0 |
Functions | |
void | mag_pitot_init (void) |
void | mag_pitot_event (void) |
Definition in file mag_pitot_uart.h.
struct mag_pitot_t |
Definition at line 43 of file mag_pitot_uart.h.
Data Fields | ||
---|---|---|
struct link_device * | device | The device which is uses for communication. |
struct OrientationReps | imu_to_mag | IMU to magneto translation. |
bool | msg_available | If we received a message. |
struct pprz_transport | transport | The transport layer (PPRZ) |
#define IMU_TO_MAG_PHI 0 |
Definition at line 37 of file mag_pitot_uart.h.
#define IMU_TO_MAG_PSI 0 |
Definition at line 39 of file mag_pitot_uart.h.
#define IMU_TO_MAG_THETA 0 |
Definition at line 38 of file mag_pitot_uart.h.
void mag_pitot_event | ( | void | ) |
Definition at line 112 of file mag_pitot_uart.c.
References mag_pitot_t::device, mag_pitot, mag_pitot_parse_msg(), mp_msg_buf, mag_pitot_t::msg_available, and mag_pitot_t::transport.
void mag_pitot_init | ( | void | ) |
Definition at line 44 of file mag_pitot_uart.c.
References mag_pitot_t::imu_to_mag, IMU_TO_MAG_PHI, IMU_TO_MAG_PSI, IMU_TO_MAG_THETA, mag_pitot, orientationSetEulers_f(), and mag_pitot_t::transport.