Paparazzi UAS  v5.15_devel-112-g521f3cf
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
mag_pitot_uart.h File Reference
#include "std.h"
#include "generated/airframe.h"
#include "pprzlink/pprz_transport.h"
#include "math/pprz_orientation_conversion.h"
+ Include dependency graph for mag_pitot_uart.h:
+ This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Author
C. De Wagter Remotely located magnetometer and pitot tube over uart (RS232) communication

Definition in file mag_pitot_uart.h.


Data Structure Documentation

struct mag_pitot_t

Definition at line 43 of file mag_pitot_uart.h.

+ Collaboration diagram for mag_pitot_t:
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)

Macro Definition Documentation

#define IMU_TO_MAG_PHI   0

Definition at line 37 of file mag_pitot_uart.h.

Referenced by mag_pitot_init().

#define IMU_TO_MAG_PSI   0

Definition at line 39 of file mag_pitot_uart.h.

Referenced by mag_pitot_init().

#define IMU_TO_MAG_THETA   0

Definition at line 38 of file mag_pitot_uart.h.

Referenced by mag_pitot_init().

Function Documentation

void mag_pitot_event ( void  )

Definition at line 128 of file mag_pitot_uart.c.

References mag_pitot_t::device, mag_pitot_parse_msg(), mp_msg_buf, mag_pitot_t::msg_available, and mag_pitot_t::transport.

+ Here is the call graph for this function:

void mag_pitot_init ( void  )