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.h File Reference
+ Include dependency graph for vi.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Vi_imu_info
 
struct  Vi_gps_info
 
struct  Vi_ahrs_info
 
struct  Vi_info
 
struct  Vi_command
 
struct  VehicleInterface
 
union  Vi_command.h_sp
 
union  Vi_command.v_sp
 

Macros

#define vi_SetEnabled(_val)
 

Functions

void vi_init (void)
 
void vi_set_enabled (bool enabled)
 
void vi_periodic (void)
 
void vi_update_info (void)
 
void vi_notify_imu_available (void)
 
void vi_notify_mag_available (void)
 
void vi_notify_gps_available (void)
 
void vi_notify_baro_abs_available (void)
 
void vi_impl_init (void)
 
void vi_impl_periodic (void)
 
void vi_impl_set_enabled (bool enabled)
 

Variables

struct VehicleInterface vi
 

Data Structure Documentation

struct Vi_imu_info

Definition at line 36 of file vi.h.

+ Collaboration diagram for Vi_imu_info:
Data Fields
struct Int16Vect3 accel
struct Int16Vect3 gyro
struct Int16Vect3 mag
struct Vi_gps_info

Definition at line 42 of file vi.h.

+ Collaboration diagram for Vi_gps_info:
Data Fields
uint8_t fix
uint8_t num_sv
int32_t pacc
struct Int32Vect3 pos
struct Int16Vect3 speed
struct Vi_ahrs_info

Definition at line 50 of file vi.h.

+ Collaboration diagram for Vi_ahrs_info:
Data Fields
struct Int16Eulers euler
struct Int16Eulers rate
struct Vi_info

Definition at line 55 of file vi.h.

+ Collaboration diagram for Vi_info:
Data Fields
struct Vi_ahrs_info ahrs
struct Vi_gps_info gps
struct Vi_imu_info imu
struct Vi_command

Definition at line 61 of file vi.h.

Data Fields
uint8_t h_mode
union Vi_command h_sp
uint8_t v_mode
union Vi_command v_sp
struct VehicleInterface

Definition at line 77 of file vi.h.

+ Collaboration diagram for VehicleInterface:
Data Fields
uint8_t available_sensors
bool enabled
struct Vi_info info
struct Vi_command input
uint8_t last_msg
bool timeouted
union Vi_command.h_sp

Definition at line 62 of file vi.h.

Data Fields
struct Int32Eulers attitude
struct Int32Vect3 pos
struct Int32Vect3 rate
struct Int32Vect3 speed
union Vi_command.v_sp

Definition at line 68 of file vi.h.

Data Fields
int32_t climb
int32_t direct
int32_t height

Macro Definition Documentation

#define vi_SetEnabled (   _val)
Value:
{ \
vi.enabled = _val; \
}
struct VehicleInterface vi
Definition: vi.c:30
void vi_set_enabled(bool enabled)
Definition: vi.c:67
bool enabled
Definition: vi.h:78

Definition at line 104 of file vi.h.

Function Documentation

void vi_impl_init ( void  )

Definition at line 24 of file vi_datalink.c.

Referenced by vi_init().

+ Here is the caller graph for this function:

void vi_impl_periodic ( void  )

Definition at line 28 of file vi_datalink.c.

Referenced by vi_periodic().

+ Here is the caller graph for this function:

void vi_impl_set_enabled ( bool  enabled)

Definition at line 32 of file vi_datalink.c.

Referenced by vi_set_enabled().

+ Here is the caller graph for this function:

void vi_notify_baro_abs_available ( void  )
void vi_notify_gps_available ( void  )
void vi_notify_imu_available ( void  )
void vi_notify_mag_available ( void  )
void vi_set_enabled ( bool  enabled)

Definition at line 67 of file vi.c.

References vi_impl_set_enabled().

+ Here is the call graph for this function:

void vi_update_info ( void  )

Definition at line 73 of file vi.c.

Variable Documentation

struct VehicleInterface vi

Definition at line 30 of file vi.c.

Referenced by vi_init(), vi_periodic(), and vi_update_wp().