Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
datalink.c File Reference
#include "subsystems/datalink/datalink.h"
#include "generated/modules.h"
#include "generated/settings.h"
#include "subsystems/datalink/downlink.h"
#include "messages.h"
#include "dl_protocol.h"
#include "mcu_periph/uart.h"
#include "firmwares/rotorcraft/navigation.h"
#include "math/pprz_geodetic_int.h"
#include "subsystems/ins.h"
+ Include dependency graph for datalink.c:

Go to the source code of this file.

Macros

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

Functions

void dl_parse_msg (void)
 

Macro Definition Documentation

#define DATALINK_C

Definition at line 24 of file datalink.c.

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

Definition at line 46 of file datalink.c.

Referenced by dl_parse_msg().

#define MODULES_DATALINK_C

Definition at line 25 of file datalink.c.

Function Documentation

void dl_parse_msg ( void  )

NAV

WIND_INFO

Else there is no dl_settings section in the flight plan

Definition at line 48 of file datalink.c.

References ac_id, LlaCoor_i::alt, datalink_time, DefaultChannel, DefaultDevice, enu_of_lla_point_i(), LtpDef_i::hmsl, IdOfMsg, ins_ltp_def, INT32_RAD_OF_DEG, LlaCoor_i::lat, LtpDef_i::lla, LlaCoor_i::lon, nav_goto_block(), POS_BFP_OF_REAL, val, VECT3_ASSIGN, waypoints, EnuCoor_i::x, EnuCoor_i::y, and EnuCoor_i::z.

+ Here is the call graph for this function: