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

Go to the source code of this file.

Macros

#define NavCircleCount()   nav_circle_get_count(&nav_rotorcraft_base.circle)
 Macros for circle and oval nav. More...
 
#define NavCircleQdr()   nav_circle_qdr(&nav_rotorcraft_base.circle)
 
#define NavOvalCount   nav_rotorcraft_base.oval.count
 
#define NavQdrCloseTo(x)   CloseDegAngles(x, NavCircleQdr())
 True if x (in degrees) is close to the current QDR (less than 10 degrees) More...
 
#define NavCourseCloseTo(x)   CloseDegAngles(x, DegOfRad(stateGetHorizontalSpeedDir_f()))
 

Functions

void nav_rotorcraft_init (void)
 Init and register nav functions. More...
 

Variables

struct NavBase_t nav_rotorcraft_base
 Basic Nav struct. More...
 

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 functions for Rotorcraft

Definition in file nav_rotorcraft_base.h.

Macro Definition Documentation

◆ NavCircleCount

#define NavCircleCount ( )    nav_circle_get_count(&nav_rotorcraft_base.circle)

Macros for circle and oval nav.

Definition at line 41 of file nav_rotorcraft_base.h.

◆ NavCircleQdr

#define NavCircleQdr ( )    nav_circle_qdr(&nav_rotorcraft_base.circle)

Definition at line 42 of file nav_rotorcraft_base.h.

◆ NavCourseCloseTo

#define NavCourseCloseTo (   x)    CloseDegAngles(x, DegOfRad(stateGetHorizontalSpeedDir_f()))

Definition at line 48 of file nav_rotorcraft_base.h.

◆ NavOvalCount

#define NavOvalCount   nav_rotorcraft_base.oval.count

Definition at line 43 of file nav_rotorcraft_base.h.

◆ NavQdrCloseTo

#define NavQdrCloseTo (   x)    CloseDegAngles(x, NavCircleQdr())

True if x (in degrees) is close to the current QDR (less than 10 degrees)

Definition at line 47 of file nav_rotorcraft_base.h.

Function Documentation

◆ nav_rotorcraft_init()

Variable Documentation

◆ nav_rotorcraft_base