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.c File Reference

Navigation in a cube towards a center. More...

#include "generated/airframe.h"
#include "subsystems/navigation/nav_cube.h"
#include "subsystems/nav.h"
#include "generated/flight_plan.h"
+ Include dependency graph for nav_cube.c:

Go to the source code of this file.

Functions

bool_t nav_cube_init (uint8_t center, 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_nline_x
 
int32_t cube_nline_z
 
int32_t cube_sect =1
 
int32_t cube_nsect_x =1
 
int32_t cube_nsect_z =1
 

Detailed Description

Navigation in a cube towards a center.

Definition in file nav_cube.c.

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 =1

Definition at line 41 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_nsect_z =1

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 =1

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().