Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
vi_datalink.h File Reference
#include "std.h"
#include "modules/vehicle_interface/vi.h"
#include "math/pprz_algebra_int.h"
+ Include dependency graph for vi_datalink.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define VI_MAX_H_SPEED   4.
#define VI_MAX_V_SPEED   2.
#define VI_MAX_HEADING_RATE   RadOfDeg(60.)
#define VI_LIMIT_ATTITUDE(_x)   {}
#define VI_PARSE_DATALINK(_dl_buffer)
#define VI_NAV_STICK_PARSE_DL(_dl_buffer)
#define NavUpdateWPFromVI(_wp)   { if (vi.enabled) { vi_update_wp(uint8_t _wp); } }


void vi_update_wp (uint8_t wp_id)

Macro Definition Documentation

#define NavUpdateWPFromVI (   _wp)    { if (vi.enabled) { vi_update_wp(uint8_t _wp); } }

Definition at line 114 of file vi_datalink.h.

#define VI_LIMIT_ATTITUDE (   _x)    {}

Definition at line 49 of file vi_datalink.h.

#define VI_MAX_H_SPEED   4.

Definition at line 30 of file vi_datalink.h.

#define VI_MAX_HEADING_RATE   RadOfDeg(60.)

Definition at line 38 of file vi_datalink.h.

#define VI_MAX_V_SPEED   2.

Definition at line 34 of file vi_datalink.h.

#define VI_NAV_STICK_PARSE_DL (   _dl_buffer)
{ \
vi.input.h_sp.speed.x = DL_BOOZ_NAV_STICK_vx_sp(_dl_buffer); \
vi.input.h_sp.speed.y = DL_BOOZ_NAV_STICK_vy_sp(_dl_buffer); \
vi.input.h_sp.speed.z = DL_BOOZ_NAV_STICK_r_sp(_dl_buffer); \
vi.input.v_sp.climb = DL_BOOZ_NAV_STICK_vz_sp(_dl_buffer); \
struct VehicleInterface vi
Definition: vi.c:30
Definition: guidance_v.h:42
struct Vi_command input
Definition: vi.h:82
Definition: guidance_h.h:48
union Vi_command::@16 v_sp
union Vi_command::@15 h_sp
uint8_t last_msg
Definition: vi.h:80
int32_t climb
Definition: vi.h:70
struct Int32Vect3 speed
Definition: vi.h:65
uint8_t h_mode
Definition: vi.h:73
uint8_t v_mode
Definition: vi.h:74

Definition at line 104 of file vi_datalink.h.

#define VI_PARSE_DATALINK (   _dl_buffer)

Definition at line 52 of file vi_datalink.h.

Function Documentation