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

PR2 navigation: Obstacles not being added to local costmap in Hydro/Indigo

asked 2016-09-26 15:05:33 -0500

sven-cremer gravatar image

updated 2016-09-26 16:42:59 -0500

The pr2_navigation package does not update the local costmap and the PR2 collides with obstacles that are not part of the map. This happens in simulation and on the real PR2, both in ROS Hydro and Indigo.

An issue has been posted on github with some pictures:

Here is what I've observed so far:

  1. There are no errors or warnings when launching pr2_2dnav_slam or pr2_2dnav.
  2. Building a map with pr2_2dnav_slam works fine.
  3. The sensor data looks OK. Both laser scanners publish reasonable data.
  4. Navigating a map with pr2_2dnav works fine as long as nothing changes in the environment. The PR2 is able to avoid and plan around static obstacles. However, if furniture is moved or a human stands in the global path of the robot, it will not re-plan and collide with the obstacle.
  5. The local cost map is just publishing zeros in simulation. On the real PR2 there is data from the base scanner but the values are not being used by the local planner.

I tried looking at the git history but couldn’t find anything obvious. I believe the pr2_navigation package is working in Groovy. Maybe it broke when transitioning to Hydro?

Any ideas on how to fix this? Has the PR2 local planner worked for anyone in Hydro or Indigo?


edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2016-09-26 17:47:22 -0500

spmaniato gravatar image

updated 2016-09-26 17:47:41 -0500

The pr2_navigation stack just uses the ROS navigation stack in the background, right? ( ) You may wanna look there for problems, such as issue 485

edit flag offensive delete link more

Question Tools



Asked: 2016-09-26 15:05:33 -0500

Seen: 353 times

Last updated: Sep 26 '16