turtlebot/turtlebot_apps

'std::bad_alloc' issue on navigation

Opened this issue · 1 comments

Hi everyone,

I am running ros-indigo under ubuntu-14.04. I got the following error when I sent a goal position in the Rviz.

screenshot from 2019-01-25 18 23 11

What I did were:

  1. roslaunch turtlebot_gazebo turtlebot_world.launch
  2. roslaunch turtlebot_gazebo amcl_demo.launch
  3. roslaunch turtlebot_rviz_launchers view_navigation.launch

Then, in the Rviz, I gave a 2D pose estimation and sent a goal, this error appeared. Does anyone know how to solve this?

Thank you very much!

The usual reason for an allocation to fail is that you're out of memory. Make sure that you have enough memory overhead to allow it to grow in size when it begins executing the new behaviors. The planner is going to need to allocate memory to process the new plan.