turtlebot / turtlebot_apps

A group of simple demos and exmaples to run on your TurtleBot to help you get started with ROS and TurtleBot.
http://www.ros.org/wiki/turtlebot_apps
196 stars 225 forks source link

'std::bad_alloc' issue on navigation #170

Open xiaoyuch24 opened 5 years ago

xiaoyuch24 commented 5 years ago

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!

tfoote commented 5 years ago

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.