Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nav_smooth.h File Reference

Smooth navigation to wp_a along an arc (around wp_cd), a segment (from wp_rd to wp_ta) and a second arc (around wp_ca). More...

#include "std.h"
+ Include dependency graph for nav_smooth.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool snav_init (uint8_t wp_a, float desired_course_rad, float radius)
 
bool snav_circle1 (void)
 
bool snav_route (void)
 
bool snav_circle2 (void)
 
bool snav_on_time (float radius)
 

Variables

float snav_desired_tow
 

Detailed Description

Smooth navigation to wp_a along an arc (around wp_cd), a segment (from wp_rd to wp_ta) and a second arc (around wp_ca).

Definition in file nav_smooth.h.

Function Documentation

bool snav_circle1 ( void  )

Definition at line 121 of file nav_smooth.c.

References d_radius, nav_circle_XY(), NavQdrCloseTo, NavVerticalAltitudeMode, NavVerticalAutoThrottleMode, and qdr_td.

+ Here is the call graph for this function:

bool snav_circle2 ( void  )

Definition at line 140 of file nav_smooth.c.

References a_radius, nav_circle_XY(), NavQdrCloseTo, NavVerticalAltitudeMode, NavVerticalAutoThrottleMode, and qdr_a.

+ Here is the call graph for this function:

bool snav_init ( uint8_t  wp_a,
float  desired_course_rad,
float  radius 
)
bool snav_route ( void  )

Definition at line 130 of file nav_smooth.c.

References CARROT, nav_approaching_xy(), nav_route_xy(), NavVerticalAltitudeMode, NavVerticalAutoThrottleMode, wp_ta, point::x, and point::y.

+ Here is the call graph for this function:

Variable Documentation

float snav_desired_tow

Definition at line 44 of file nav_smooth.c.

Referenced by snav_on_time().