Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
nav_lace.h File Reference

Adaptive border pattern for cloud exploration Can be used in mission mode with custom pattern and ID "LACE". More...

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

Go to the source code of this file.

Functions

void nav_lace_init (void)
 Init function called by modules init. More...
 
void nav_lace_setup (float init_x, float init_y, float init_z, int turn, float desired_radius, float vx, float vy, float vz)
 Initialized the exploration with a first target point inside the cloud Called from flight plan or with mission parameters. More...
 
bool nav_lace_run (void)
 Navigation function Called by flight plan or mission run function. More...
 

Detailed Description

Adaptive border pattern for cloud exploration Can be used in mission mode with custom pattern and ID "LACE".

See: Titouan Verdu, Gautier Hattenberger, Simon Lacroix. Flight patterns for clouds exploration with a fleet of UAVs. 2019 International Conference on Unmanned Aircraft Systems (ICUAS 2019), Jul 2019, Atlanta, United States. https://hal-enac.archives-ouvertes.fr/hal-02137839

Definition in file nav_lace.h.

Function Documentation

◆ nav_lace_init()

void nav_lace_init ( void  )

Init function called by modules init.

Definition at line 181 of file nav_lace.c.

References DEFAULT_CIRCLE_RADIUS, NavLace::inside_cloud, LACE_ENTER, NavLace::last_border_time, lwc_cb(), lwc_ev, NavLace::max_recover_radius, mission_register(), nav_lace, NAV_LACE_LWC_ID, NavLace::radius, NavLace::recover_radius, and NavLace::status.

+ Here is the call graph for this function:

◆ nav_lace_run()

bool nav_lace_run ( void  )

Navigation function Called by flight plan or mission run function.

Returns
true until pattern ends or fail

Definition at line 222 of file nav_lace.c.

◆ nav_lace_setup()

void nav_lace_setup ( float  init_x,
float  init_y,
float  init_z,
int  turn,
float  desired_radius,
float  vx,
float  vy,
float  vz 
)

Initialized the exploration with a first target point inside the cloud Called from flight plan or with mission parameters.

Definition at line 197 of file nav_lace.c.

References NavLace::actual, NavLace::inside_cloud, LACE_ENTER, LACE_LEFT, LACE_RIGHT, nav_dt, nav_lace, NavLace::pos_incr, NavLace::radius, NavLace::radius_sign, NavLace::rotation, stateGetPositionEnu_f(), NavLace::status, NavLace::target, and VECT3_ASSIGN.

+ Here is the call graph for this function: