Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
nav_cube.c File Reference
#include "generated/airframe.h"
#include "modules/nav/nav_cube.h"
#include "firmwares/fixedwing/nav.h"
#include "generated/flight_plan.h"
+ Include dependency graph for nav_cube.c:

Go to the source code of this file.

Macros

#define MAX_LINES_X   8
 
#define STBY_OFFSET   500
 

Functions

void nav_cube_setup (uint8_t center, uint8_t tb, uint8_t te)
 
bool nav_cube_run (int8_t j, int8_t i, uint8_t dest_b, uint8_t dest_e, uint8_t src_b, uint8_t src_e)
 

Variables

struct NavCube nav_cube
 

Detailed Description

Fixedwing Navigation in a cube towards a center.

Definition in file nav_cube.c.

Macro Definition Documentation

◆ MAX_LINES_X

#define MAX_LINES_X   8

Definition at line 34 of file nav_cube.c.

◆ STBY_OFFSET

#define STBY_OFFSET   500

Definition at line 35 of file nav_cube.c.

Function Documentation

◆ nav_cube_run()

bool nav_cube_run ( int8_t  j,
int8_t  i,
uint8_t  dest_b,
uint8_t  dest_e,
uint8_t  src_b,
uint8_t  src_e 
)

◆ nav_cube_setup()

Variable Documentation

◆ nav_cube

struct NavCube nav_cube

Definition at line 37 of file nav_cube.c.

Referenced by nav_cube_run(), and nav_cube_setup().