Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nav_cube.c File Reference

Fixedwing 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
 angle of flight direction to north, clockwise More...
 
int32_t cube_size_x
 size of the cube x (perpendicular to flight dir) More...
 
int32_t cube_size_y
 size of the cube y (in flight dir) More...
 
int32_t cube_size_z
 height of the cube z More...
 
int32_t cube_grid_x
 grid distance x (horizontal) More...
 
int32_t cube_grid_z
 grid distance z (vertical) More...
 
int32_t cube_offs_x
 offset to center x (horizontal) More...
 
int32_t cube_offs_y
 offset to center y (in direction) More...
 
int32_t cube_offs_z
 offset to center z (vertical) More...
 
int32_t cube_nline_x
 number of lines x (horizontal) More...
 
int32_t cube_nline_z
 number of lines z (vertical) More...
 
int32_t cube_sect =1
 sector to fly in (1..[nsect_x*nsect_z]) More...
 
int32_t cube_nsect_x =1
 number of sectors horizontal More...
 
int32_t cube_nsect_z =1
 number of sectors vertical More...
 

Detailed Description

Fixedwing 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

angle of flight direction to north, clockwise

Definition at line 34 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_grid_x

grid distance x (horizontal)

Definition at line 36 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_grid_z

grid distance z (vertical)

Definition at line 36 of file nav_cube.c.

Referenced by nav_cube(), and nav_cube_init().

int32_t cube_nline_x

number of lines x (horizontal)

Definition at line 38 of file nav_cube.c.

Referenced by nav_cube(), and nav_cube_init().

int32_t cube_nline_z

number of lines z (vertical)

Definition at line 38 of file nav_cube.c.

Referenced by nav_cube(), and nav_cube_init().

int32_t cube_nsect_x =1

number of sectors horizontal

Definition at line 40 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_nsect_z =1

number of sectors vertical

Definition at line 40 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_offs_x

offset to center x (horizontal)

Definition at line 37 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_offs_y

offset to center y (in direction)

Definition at line 37 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_offs_z

offset to center z (vertical)

Definition at line 37 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_sect =1

sector to fly in (1..[nsect_x*nsect_z])

Definition at line 39 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_size_x

size of the cube x (perpendicular to flight dir)

Definition at line 35 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_size_y

size of the cube y (in flight dir)

Definition at line 35 of file nav_cube.c.

Referenced by nav_cube_init().

int32_t cube_size_z

height of the cube z

Definition at line 35 of file nav_cube.c.

Referenced by nav_cube_init().