Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros 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 116 of file vi_datalink.h.

#define VI_LIMIT_ATTITUDE (   _x)    {}

Definition at line 51 of file vi_datalink.h.

#define VI_MAX_H_SPEED   4.

Definition at line 32 of file vi_datalink.h.

#define VI_MAX_HEADING_RATE   RadOfDeg(60.)

Definition at line 40 of file vi_datalink.h.

#define VI_MAX_V_SPEED   2.

Definition at line 36 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:32
#define GUIDANCE_V_MODE_NAV
Definition: guidance_v.h:53
struct Vi_command input
Definition: vi.h:84
union Vi_command::@14 h_sp
#define GUIDANCE_H_MODE_NAV
Definition: guidance_h.h:39
uint8_t last_msg
Definition: vi.h:82
union Vi_command::@15 v_sp
int32_t climb
Definition: vi.h:72
struct Int32Vect3 speed
Definition: vi.h:67
uint8_t h_mode
Definition: vi.h:75
uint8_t v_mode
Definition: vi.h:76

Definition at line 106 of file vi_datalink.h.

#define VI_PARSE_DATALINK (   _dl_buffer)

Definition at line 54 of file vi_datalink.h.

Function Documentation