Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'std::bad_alloc' issue on navigation #170

Open
xiaoyuch24 opened this issue Jan 25, 2019 · 1 comment
Open

'std::bad_alloc' issue on navigation #170

xiaoyuch24 opened this issue Jan 25, 2019 · 1 comment

Comments

@xiaoyuch24
Copy link

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
Copy link
Contributor

tfoote commented Jan 29, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants