Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
nav_base.h File Reference
#include "std.h"
#include "math/pprz_geodetic_float.h"
+ Include dependency graph for nav_base.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  NavGoto_t
 Waypoint and route pattern. More...
 
struct  NavCircle_t
 Circle pattern. More...
 
struct  NavOval_t
 
struct  NavBase_t
 Basic Nav struct. More...
 

Enumerations

enum  oval_status {
  OR12 , OC2 , OR21 , OC1 ,
  OR12 , OC2 , OR21 , OC1 ,
  OR12 , OC2 , OR21 , OC1
}
 Oval pattern. More...
 

Functions

static float nav_circle_get_count (struct NavCircle_t *circle)
 helper functions More...
 
static float nav_circle_qdr (struct NavCircle_t *circle)
 

Detailed Description

Author
2018 Gautier Hattenberger gauti.nosp@m.er.h.nosp@m.atten.nosp@m.berg.nosp@m.er@en.nosp@m.ac.f.nosp@m.r Basic navigation structure and definition

Definition in file nav_base.h.


Data Structure Documentation

◆ NavGoto_t

struct NavGoto_t

Waypoint and route pattern.

Definition at line 35 of file nav_base.h.

+ Collaboration diagram for NavGoto_t:
Data Fields
float dist2_to_wp squared distance to next waypoint
struct EnuCoor_f from start WP position
float leg_length leg length
float leg_progress progress over leg
struct EnuCoor_f to end WP position

◆ NavCircle_t

struct NavCircle_t

Circle pattern.

Definition at line 45 of file nav_base.h.

+ Collaboration diagram for NavCircle_t:
Data Fields
struct EnuCoor_f center center WP position
float qdr qdr in radians
float radians incremental angular distance
float radius radius in meters

◆ NavOval_t

struct NavOval_t

Definition at line 55 of file nav_base.h.

Data Fields
uint8_t count number of laps
enum oval_status status oval status

◆ NavBase_t

struct NavBase_t

Basic Nav struct.

Definition at line 62 of file nav_base.h.

+ Collaboration diagram for NavBase_t:
Data Fields
struct NavCircle_t circle
struct NavGoto_t goto_wp
struct NavOval_t oval

Enumeration Type Documentation

◆ oval_status

Oval pattern.

Enumerator
OR12 
OC2 
OR21 
OC1 
OR12 
OC2 
OR21 
OC1 
OR12 
OC2 
OR21 
OC1 

Definition at line 54 of file nav_base.h.

Function Documentation

◆ nav_circle_get_count()

static float nav_circle_get_count ( struct NavCircle_t circle)
inlinestatic

helper functions

Definition at line 70 of file nav_base.h.

References NavCircle_t::radians.

◆ nav_circle_qdr()

static float nav_circle_qdr ( struct NavCircle_t circle)
inlinestatic

Definition at line 75 of file nav_base.h.