72 return fabsf(circle->
radians) / (2.f*M_PI);
77 float qdr = DegOfRad(M_PI_2 - circle->
qdr);
float leg_progress
progress over leg
struct EnuCoor_f center
center WP position
uint8_t count
number of laps
float leg_length
leg length
static float nav_circle_qdr(struct NavCircle_t *circle)
struct EnuCoor_f to
end WP position
float dist2_to_wp
squared distance to next waypoint
struct NavCircle_t circle
struct EnuCoor_f from
start WP position
enum oval_status status
oval status
float radians
incremental angular distance
float radius
radius in meters
static float nav_circle_get_count(struct NavCircle_t *circle)
helper functions
Waypoint and route pattern.
Paparazzi floating point math for geodetic calculations.
vector in East North Up coordinates Units: meters
#define NormCourse(x)
Normalize a degree angle between 0 and 359.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.