ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

For anyone looking how to do this via c++, here you go:

std_srvs::Empty emptymsg; ros::service::call("/move_base/clear_costmaps",emptymsg);

click to hide/show revision 2
No.2 Revision

For anyone looking how to do this via c++, here you go:

std_srvs::Empty emptymsg;
ros::service::call("/move_base/clear_costmaps",emptymsg);

ros::service::call("/move_base/clear_costmaps",emptymsg);