1 #ifndef TUW_RANDOM_GOAL_GENERATOR_NODE_H 2 #define TUW_RANDOM_GOAL_GENERATOR_NODE_H 5 #include "nav_msgs/OccupancyGrid.h" 6 #include "tuw_multi_robot_msgs/RobotGoalsArray.h" 7 #include "tuw_geometry/grid_map.h" 16 void callback(
const nav_msgs::OccupancyGrid::ConstPtr& msg);
40 #endif // TUW_RANDOM_GOAL_GENERATOR_NODE_H
ros::Publisher pub_goals_
double distance_between_robots_
parameter [m]
int nr_of_avaliable_robots_
retries/max_resample steps to find a free spot for a goal [m]
void callback(const nav_msgs::OccupancyGrid::ConstPtr &msg)
publishes the motion commands
tuw_multi_robot_msgs::RobotGoalsArray robot_goals_array_
parameter
nav_msgs::OccupancyGrid msg_map_goals_
RadomGoalGeneratorNode(ros::NodeHandle &n)
tuw::GridMap< int8_t > map_goals_
std::string robot_name_prefix_
parameter [m]
void updateNrOfRobots(size_t nr_of_robots)
ros::Publisher pub_map_goals_
void publish()
Constructor.
std::string frame_id_
parameter
tuw::GridMap< int8_t > map_
nav_msgs::OccupancyGrid::ConstPtr msg_map_
double distance_to_map_border_
parameter [m]
double distance_boundary_
parameter count