Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
jevois_mavlink.h File Reference
#include "mcu_periph/uart.h"
#include <mavlink/mavlink_types.h>
+ Include dependency graph for jevois_mavlink.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define JEVOIS_DEV   uart2
 
#define MAVLinkDev   (&(JEVOIS_DEV).device)
 
#define MAVLinkTransmit(c)   MAVLinkDev->put_byte(MAVLinkDev->periph, 0, c)
 
#define MAVLinkChAvailable()   MAVLinkDev->char_available(MAVLinkDev->periph)
 
#define MAVLinkGetch()   MAVLinkDev->get_byte(MAVLinkDev->periph)
 
#define MAVLinkSendMessage()   MAVLinkDev->send_message(MAVLinkDev->periph, 0)
 
#define MAVLINK_USE_CONVENIENCE_FUNCTIONS
 
#define MAVLINK_ALIGNED_FIELDS   0
 

Functions

static void comm_send_ch (mavlink_channel_t chan, uint8_t ch)
 
void jevois_mavlink_init (void)
 
void jevois_mavlink_periodic (void)
 
void jevois_mavlink_filter_periodic (void)
 
void jevois_mavlink_event (void)
 

Variables

mavlink_system_t mavlink_system
 

Detailed Description

Author
MAVLab Send sensor data to jevois and read commands from jevois

Definition in file jevois_mavlink.h.

Macro Definition Documentation

#define JEVOIS_DEV   uart2

Definition at line 39 of file jevois_mavlink.h.

Referenced by jevois_event(), and send_string().

#define MAVLINK_ALIGNED_FIELDS   0

Definition at line 59 of file jevois_mavlink.h.

#define MAVLINK_USE_CONVENIENCE_FUNCTIONS

Definition at line 58 of file jevois_mavlink.h.

#define MAVLinkChAvailable ( )    MAVLinkDev->char_available(MAVLinkDev->periph)

Definition at line 44 of file jevois_mavlink.h.

#define MAVLinkDev   (&(JEVOIS_DEV).device)

Definition at line 42 of file jevois_mavlink.h.

#define MAVLinkGetch ( )    MAVLinkDev->get_byte(MAVLinkDev->periph)

Definition at line 45 of file jevois_mavlink.h.

#define MAVLinkSendMessage ( )    MAVLinkDev->send_message(MAVLinkDev->periph, 0)

Definition at line 46 of file jevois_mavlink.h.

#define MAVLinkTransmit (   c)    MAVLinkDev->put_byte(MAVLinkDev->periph, 0, c)

Definition at line 43 of file jevois_mavlink.h.

Referenced by comm_send_ch().

Function Documentation

static void comm_send_ch ( mavlink_channel_t  chan,
uint8_t  ch 
)
inlinestatic

Definition at line 63 of file jevois_mavlink.h.

References MAVLinkTransmit.

void jevois_mavlink_filter_periodic ( void  )

Definition at line 99 of file jevois_mavlink.c.

References Imu::accel, imu, update_butterworth_2_low_pass_int(), Int32Vect3::x, Int32Vect3::y, and Int32Vect3::z.

+ Here is the call graph for this function:

void jevois_mavlink_init ( void  )
void jevois_mavlink_periodic ( void  )

Definition at line 168 of file jevois_mavlink.c.

References mavlink_send_attitude(), mavlink_send_heartbeat(), mavlink_send_highres_imu(), and mavlink_send_set_mode().

+ Here is the call graph for this function:

Variable Documentation

mavlink_system_t mavlink_system