Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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

◆ snav_circle1()

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:

◆ snav_circle2()

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:

◆ snav_init()

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

◆ snav_on_time()

◆ snav_route()

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

◆ snav_desired_tow

float snav_desired_tow
extern

Definition at line 44 of file nav_smooth.c.

Referenced by snav_on_time().