Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
nav_cube.h File Reference
#include "std.h"
+ Include dependency graph for nav_cube.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAX_LINES_X   8
 
#define STBY_OFFSET   500
 
#define nav_cube_SetAlpha(i)   { cube_alpha=i; }
 
#define nav_cube_SetSect(i)   { cube_sect=i; }
 
#define nav_cube_SetGridX(i)   { cube_grid_x=i; }
 
#define nav_cube_SetGridZ(i)   { cube_grid_z=i; }
 
#define nav_cube_SetSizeX(i)   { cube_size_x=i; }
 
#define nav_cube_SetSizeY(i)   { cube_size_y=i; }
 
#define nav_cube_SetSizeZ(i)   { cube_size_z=i; }
 
#define nav_cube_SetOffsX(i)   { cube_offs_x=i; }
 
#define nav_cube_SetOffsY(i)   { cube_offs_y=i; }
 
#define nav_cube_SetOffsZ(i)   { cube_offs_z=i; }
 
#define nav_cube_SetNSectX(i)   { cube_nsect_x=i; }
 
#define nav_cube_SetNSectZ(i)   { cube_nsect_z=i; }
 

Functions

bool_t nav_cube_init (uint8_t turb, uint8_t tb, uint8_t te)
 
bool_t nav_cube (int8_t j, int8_t i, uint8_t dest_b, uint8_t dest_e, uint8_t src_b, uint8_t src_e)
 

Variables

int32_t cube_alpha
 
int32_t cube_size_x
 
int32_t cube_size_y
 
int32_t cube_size_z
 
int32_t cube_grid_x
 
int32_t cube_grid_z
 
int32_t cube_offs_x
 
int32_t cube_offs_y
 
int32_t cube_offs_z
 
int32_t cube_sect
 
int32_t cube_nsect_x
 
int32_t cube_nsect_z
 
int32_t cube_nline_x
 
int32_t cube_nline_z
 

Macro Definition Documentation

#define MAX_LINES_X   8

Definition at line 30 of file nav_cube.h.

Referenced by nav_cube_init().

#define nav_cube_SetAlpha (   i)    { cube_alpha=i; }

Definition at line 55 of file nav_cube.h.

#define nav_cube_SetGridX (   i)    { cube_grid_x=i; }

Definition at line 57 of file nav_cube.h.

#define nav_cube_SetGridZ (   i)    { cube_grid_z=i; }

Definition at line 58 of file nav_cube.h.

#define nav_cube_SetNSectX (   i)    { cube_nsect_x=i; }

Definition at line 65 of file nav_cube.h.

#define nav_cube_SetNSectZ (   i)    { cube_nsect_z=i; }

Definition at line 66 of file nav_cube.h.

#define nav_cube_SetOffsX (   i)    { cube_offs_x=i; }

Definition at line 62 of file nav_cube.h.

#define nav_cube_SetOffsY (   i)    { cube_offs_y=i; }

Definition at line 63 of file nav_cube.h.

#define nav_cube_SetOffsZ (   i)    { cube_offs_z=i; }

Definition at line 64 of file nav_cube.h.

#define nav_cube_SetSect (   i)    { cube_sect=i; }

Definition at line 56 of file nav_cube.h.

#define nav_cube_SetSizeX (   i)    { cube_size_x=i; }

Definition at line 59 of file nav_cube.h.

#define nav_cube_SetSizeY (   i)    { cube_size_y=i; }

Definition at line 60 of file nav_cube.h.

#define nav_cube_SetSizeZ (   i)    { cube_size_z=i; }

Definition at line 61 of file nav_cube.h.

#define STBY_OFFSET   500

Definition at line 31 of file nav_cube.h.

Referenced by nav_cube_init().

Function Documentation

bool_t nav_cube ( int8_t  j,
int8_t  i,
uint8_t  dest_b,
uint8_t  dest_e,
uint8_t  src_b,
uint8_t  src_e 
)

Variable Documentation

int32_t cube_alpha

Definition at line 35 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_grid_x

Definition at line 37 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_grid_z

Definition at line 37 of file nav_cube.c.

Referenced by nav_cube(), and nav_cube_init().

int32_t cube_nline_x

Definition at line 39 of file nav_cube.c.

Referenced by nav_cube(), and nav_cube_init().

int32_t cube_nline_z

Definition at line 39 of file nav_cube.c.

Referenced by nav_cube(), and nav_cube_init().

int32_t cube_nsect_x

Definition at line 41 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_nsect_z

Definition at line 41 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_offs_x

Definition at line 38 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_offs_y

Definition at line 38 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_offs_z

Definition at line 38 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_sect

Definition at line 40 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_size_x

Definition at line 36 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_size_y

Definition at line 36 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_size_z

Definition at line 36 of file nav_cube.c.

Referenced by nav_cube_init().