Paparazzi UAS  v5.18.0_stable
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.


#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)


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)


mavlink_system_t mavlink_system

Detailed Description

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.



Definition at line 59 of file jevois_mavlink.h.



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 

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 Imu::accel, ax_filtered, ay_filtered, az_filtered, imu, update_butterworth_2_low_pass_int(), Int32Vect3::x, Int32Vect3::y, and Int32Vect3::z.

+ 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