Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
Handling of messages coming from ground and other A/Cs. More...
#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 "subsystems/gps.h"
#include "firmwares/rotorcraft/navigation.h"
#include "firmwares/rotorcraft/autopilot.h"
#include "math/pprz_geodetic_int.h"
#include "state.h"
#include "led.h"
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) |
Should be called when chars are available in dl_buffer. More... | |
Handling of messages coming from ground and other A/Cs.
Definition in file datalink.c.
#define DATALINK_C |
Definition at line 28 of file datalink.c.
#define IdOfMsg | ( | x | ) | (x[1]) |
Definition at line 59 of file datalink.c.
Referenced by dl_parse_msg().
#define MODULES_DATALINK_C |
Definition at line 29 of file datalink.c.
void dl_parse_msg | ( | void | ) |
Should be called when chars are available in dl_buffer.
NAV
WIND_INFO
Else there is no dl_settings section in the flight plan
Definition at line 65 of file datalink.c.
References ac_id, LlaCoor_i::alt, autopilot_guided_goto_body_relative(), autopilot_guided_goto_ned(), autopilot_guided_goto_ned_relative(), DefaultChannel, DefaultDevice, dl_buffer, gps_inject_data(), LtpDef_i::hmsl, IdOfMsg, LlaCoor_i::lat, LED_TOGGLE, LtpDef_i::lla, LlaCoor_i::lon, nav_goto_block(), State::ned_origin_i, parse_gps_datalink(), parse_rc_3ch_datalink(), parse_rc_4ch_datalink(), state, stateIsLocalCoordinateValid(), val, and waypoint_move_lla().