Public Member Functions | Private Member Functions | Private Attributes | List of all members
uav_local_coverage Class Reference

A class that allows to cover a given area using a local search algorithm. The local search performs a spiral movement pattern according to the circle involute (http://mathworld.wolfram.com/CircleInvolute.html). More...

#include <uav_local_coverage.h>

Public Member Functions

behavior_state_t step ()
 Move the swarm member to a new position. More...
 
 uav_local_coverage ()
 Constructor that initializes the private member variables. More...
 

Private Member Functions

void compute_involute (double &distance, double &direction)
 Compute local coordinates on circle involute for current step. More...
 
geometry_msgs::Pose select_goal ()
 Compute goal position. More...
 

Private Attributes

double altitude
 The altitude of the UAV above ground. More...
 
double fov_hor
 Horizontal camera field of view in radian. More...
 
double fov_ver
 Vertical camera field of view in radian. More...
 
int max_steps
 Maximum number of steps to do in the local search. More...
 
geometry_msgs::Pose origin
 Center of the spiral movement search pattern. More...
 
position pos
 A helper object for position related tasks. More...
 
unsigned int steps
 Number of steps performed in the local search. More...
 

Detailed Description

A class that allows to cover a given area using a local search algorithm. The local search performs a spiral movement pattern according to the circle involute (http://mathworld.wolfram.com/CircleInvolute.html).

Definition at line 21 of file uav_local_coverage.h.

Constructor & Destructor Documentation

◆ uav_local_coverage()

uav_local_coverage::uav_local_coverage ( )

Constructor that initializes the private member variables.

Definition at line 3 of file lib/uav_local_coverage.cpp.

Member Function Documentation

◆ compute_involute()

void uav_local_coverage::compute_involute ( double &  distance,
double &  direction 
)
private

Compute local coordinates on circle involute for current step.

Parameters
distanceReturns distance from local origin.
directionReturns direction from local origin.

Definition at line 57 of file lib/uav_local_coverage.cpp.

◆ select_goal()

geometry_msgs::Pose uav_local_coverage::select_goal ( )
private

Compute goal position.

Returns
The selected goal.

Definition at line 74 of file lib/uav_local_coverage.cpp.

◆ step()

behavior_state_t uav_local_coverage::step ( )

Move the swarm member to a new position.

Returns
Return the state of the coverage algorithm.

Definition at line 25 of file lib/uav_local_coverage.cpp.

Member Data Documentation

◆ altitude

double uav_local_coverage::altitude
private

The altitude of the UAV above ground.

Definition at line 57 of file uav_local_coverage.h.

◆ fov_hor

double uav_local_coverage::fov_hor
private

Horizontal camera field of view in radian.

Definition at line 62 of file uav_local_coverage.h.

◆ fov_ver

double uav_local_coverage::fov_ver
private

Vertical camera field of view in radian.

Definition at line 67 of file uav_local_coverage.h.

◆ max_steps

int uav_local_coverage::max_steps
private

Maximum number of steps to do in the local search.

Definition at line 82 of file uav_local_coverage.h.

◆ origin

geometry_msgs::Pose uav_local_coverage::origin
private

Center of the spiral movement search pattern.

Definition at line 72 of file uav_local_coverage.h.

◆ pos

position uav_local_coverage::pos
private

A helper object for position related tasks.

Definition at line 52 of file uav_local_coverage.h.

◆ steps

unsigned int uav_local_coverage::steps
private

Number of steps performed in the local search.

Definition at line 77 of file uav_local_coverage.h.


The documentation for this class was generated from the following files:


uav_local_coverage
Author(s): Micha Sende
autogenerated on Sun Dec 29 2019 10:25:43