Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces 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.

Macros

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

Functions

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)
Value:
{ \
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
#define GUIDANCE_V_MODE_NAV
Definition: guidance_v.h:40
union Vi_command::@289 h_sp
uint8_t v_mode
Definition: vi.h:74
#define GUIDANCE_H_MODE_NAV
Definition: guidance_h.h:56
union Vi_command::@290 v_sp
uint8_t last_msg
Definition: vi.h:80
struct Vi_command input
Definition: vi.h:82
uint8_t h_mode
Definition: vi.h:73

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

void vi_update_wp ( uint8_t  wp_id)