Paparazzi UAS  v5.15_devel-230-gc96ce27
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.


#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:40
uint8_t v_mode
Definition: vi.h:74
union Vi_command::@301 h_sp
Definition: guidance_h.h:60
uint8_t last_msg
Definition: vi.h:80
struct Vi_command input
Definition: vi.h:82
uint8_t h_mode
Definition: vi.h:73
union Vi_command::@302 v_sp

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)