1 #ifndef COVERAGE_PATH_H 2 #define COVERAGE_PATH_H 5 #include <geometry_msgs/Pose.h> 6 #include <geometry_msgs/PoseStamped.h> 7 #include <geometry_msgs/PointStamped.h> 8 #include <nav_msgs/Path.h> 9 #include <nav_msgs/OccupancyGrid.h> 10 #include <nav_msgs/GetMap.h> 11 #include <nav_msgs/GetPlan.h> 12 #include <cpswarm_msgs/GetWaypoint.h> 13 #include <cpswarm_msgs/ArrayOfStates.h> 14 #include <cpswarm_msgs/StateEvent.h> 96 #endif // COVERAGE_PATH_H
ServiceClient map_getter
Service client to get the assigned area.
nav_msgs::OccupancyGrid gridmap
The grid map representing the environment to be covered.
Publisher path_publisher
Publisher to visualize the coverage path.
A class that generates a minimum-spanning-tree (MST) graph for a given grid map.
bool swarm_valid
Whether valid swarm information has been received.
double swarm_timeout
Time in seconds after which it is assumed that a swarm member has left the swarm if no position updat...
Publisher wp_publisher
Publisher to visualize the current waypoint.
geometry_msgs::Pose pose
Current position of the CPS.
bool visualize
Whether to publish the coverage path on a topic for visualization.
spanning_tree tree
The minimum-spanning-tree (MST) that defines the coverage path.
mst_path path
The coverage path.
string state
Current state of the CPS.
bool reconfigure
Whether the swarm configuration has changed which requires a replanning of the path.
map< string, Time > swarm
The UUIDs of the other swarm members.
bool state_valid
Whether a valid state has been received.
An class to compute the coverage path based on a minimum-spanning-tree (MST).
bool pose_valid
Whether a valid position has been received.