Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
datalink.c File Reference

Handling of messages coming from ground and other A/Cs. More...

#include <inttypes.h>
#include <string.h>
#include "subsystems/datalink/datalink.h"
#include "generated/modules.h"
#include "subsystems/navigation/common_nav.h"
#include "generated/settings.h"
#include "math/pprz_geodetic_float.h"
#include "mcu_periph/uart.h"
#include "subsystems/datalink/telemetry.h"
+ Include dependency graph for datalink.c:

Go to the source code of this file.

Macros

#define DATALINK_C
 
#define MODULES_DATALINK_C
 
#define MOfCm(_x)   (((float)(_x))/100.)
 
#define SenderIdOfMsg(x)   (x[0])
 
#define IdOfMsg(x)   (x[1])
 

Functions

void dl_parse_msg (void)
 

Detailed Description

Handling of messages coming from ground and other A/Cs.

Definition in file datalink.c.

Macro Definition Documentation

#define DATALINK_C

Definition at line 28 of file datalink.c.

#define IdOfMsg (   x)    (x[1])

Definition at line 80 of file datalink.c.

Referenced by dl_parse_msg().

#define MODULES_DATALINK_C

Definition at line 30 of file datalink.c.

#define MOfCm (   _x)    (((float)(_x))/100.)

Definition at line 77 of file datalink.c.

Referenced by dl_parse_msg().

#define SenderIdOfMsg (   x)    (x[0])

Definition at line 79 of file datalink.c.

Referenced by dl_parse_msg().

Function Documentation

void dl_parse_msg ( void  )

NAV

WIND_INFO

Else there is no dl_settings section in the flight plan

Definition at line 82 of file datalink.c.

Referenced by set_datalink_message().

+ Here is the caller graph for this function: