1 #ifndef UAV_RANDOM_DIRECTION_H 2 #define UAV_RANDOM_DIRECTION_H 4 #include <random_numbers/random_numbers.h> 5 #include <cpswarm_msgs/GetSector.h> 47 geometry_msgs::Pose select_goal ();
53 bool new_direction ();
93 random_numbers::RandomNumberGenerator*
rng;
96 #endif // UAV_RANDOM_DIRECTION_H bool turn
Whether the drone still needs to turn before moving.
behavior_state_t
An enumeration for the state of the behavior algorithm.
random_numbers::RandomNumberGenerator * rng
The random number generator used for selecting a random direction.
position pos
A helper object for position related tasks.
double direction
The direction in which the drone is travling. It is measured in radian, clockwise starting from north...
double step_size_max
The maximum distance that a UAV travels in one step.
A class that allows to cover a given area with the random direction algorithm. The random direction i...
ServiceClient clear_sector_client
Service client for determining the sector clear of obstacles.
double distance
The distance which the drone is traveling.
double step_size_min
The minimum distance that a UAV travels in one step.