Skip to content

Commit

Permalink
adding costmap cleaner to maqui robot
Browse files Browse the repository at this point in the history
  • Loading branch information
joseastorgat committed Jul 20, 2017
1 parent 35453e7 commit 6484dd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion uchile_navigation_utils/launch/costmap_cleaner.launch
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<!-- Costmap Cleaner DEPRECATED! -->
<!-- YA NO SE USA, pues sería problemático al intentar replanear constantemente (con obstáculos que desaparecen!)!
-->
<!--node pkg="uchile_navigation_utils" type="costmap_cleaner" name="costmap_cleaner" respawn="true" output="screen" ns="/bender/nav/"/-->
<node pkg="uchile_navigation_utils" type="costmap_cleaner" name="costmap_cleaner" respawn="true" output="screen" ns="/maqui/nav/"/>

</launch>
2 changes: 1 addition & 1 deletion uchile_navigation_utils/src/CostmapCleaner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ int main(int argc, char **argv) {
uchile_util::ParameterServerWrapper psw;
psw.getParameter("dt", dt, 5);

ros::ServiceClient clear_client = priv.serviceClient<std_srvs::Empty>("/bender/nav/move_base/clear_costmaps");
ros::ServiceClient clear_client = priv.serviceClient<std_srvs::Empty>("/maqui/nav/move_base/clear_costmaps");
while ( ros::ok() && !clear_client.waitForExistence(ros::Duration(3.0)) ) ;

ROS_INFO("Ready to clean ...");
Expand Down

0 comments on commit 6484dd2

Please sign in to comment.