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
snav.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 snav.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool_t snav_init (uint8_t wp_a, float desired_course_rad, float radius)
 
bool_t snav_circle1 (void)
 
bool_t snav_route (void)
 
bool_t snav_circle2 (void)
 
bool_t 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 snav.h.

Function Documentation

bool_t snav_circle1 ( void  )

Definition at line 120 of file snav.c.

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

+ Here is the call graph for this function:

bool_t snav_circle2 ( void  )

Definition at line 137 of file snav.c.

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

+ Here is the call graph for this function:

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

Definition at line 128 of file snav.c.

References 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 snav.c.

Referenced by snav_on_time().