1 #ifndef UGV_RANDOM_WALK_H 2 #define UGV_RANDOM_WALK_H 4 #include <random_numbers/random_numbers.h> 5 #include "cpswarm_msgs/ClosestBound.h" 6 #include "cpswarm_msgs/GetSector.h" 48 bool new_direction ();
60 geometry_msgs::Pose select_goal ();
90 random_numbers::RandomNumberGenerator*
rng;
93 #endif // UGV_RANDOM_WALK_H 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.
An implementation of the coverage class that allows to cover a given area with the random walk algori...
ServiceClient bound_client
Service client for determining closest mission area boundary to the current UGV position.
double step_size
The distance that the UGV travels in one step.
position pos
A helper object for position related tasks.
ServiceClient clear_sector_client
Service client for determining the sector clear of obstacles.
double direction
The direction in which the UGV is traveling. It is measured in radian, clockwise starting from north...