Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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

◆ JEVOIS_DEV

#define JEVOIS_DEV   uart2

Definition at line 39 of file jevois_mavlink.h.

◆ MAVLINK_ALIGNED_FIELDS

#define MAVLINK_ALIGNED_FIELDS   0

Definition at line 59 of file jevois_mavlink.h.

◆ MAVLINK_USE_CONVENIENCE_FUNCTIONS

#define MAVLINK_USE_CONVENIENCE_FUNCTIONS

Definition at line 58 of file jevois_mavlink.h.

◆ MAVLinkChAvailable

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

Definition at line 44 of file jevois_mavlink.h.

◆ MAVLinkDev

#define MAVLinkDev   (&(JEVOIS_DEV).device)

Definition at line 42 of file jevois_mavlink.h.

◆ MAVLinkGetch

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

Definition at line 45 of file jevois_mavlink.h.

◆ MAVLinkSendMessage

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

Definition at line 46 of file jevois_mavlink.h.

◆ MAVLinkTransmit

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

Definition at line 43 of file jevois_mavlink.h.

Function Documentation

◆ comm_send_ch()

static void comm_send_ch ( mavlink_channel_t  chan,
uint8_t  ch 
)
inlinestatic

Definition at line 63 of file jevois_mavlink.h.

References MAVLinkTransmit.

◆ jevois_mavlink_event()

◆ jevois_mavlink_filter_periodic()

void jevois_mavlink_filter_periodic ( void  )

Definition at line 99 of file jevois_mavlink.c.

References ax_filtered, ay_filtered, az_filtered, imu, and update_butterworth_2_low_pass_int().

+ Here is the call graph for this function:

◆ jevois_mavlink_init()

void jevois_mavlink_init ( void  )

◆ jevois_mavlink_periodic()

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

mavlink_system_t mavlink_system
extern