Robotics StackExchange | Archived questions

std::bad_alloc process has died, exit code -6" [closed]

I am trying to using laser scan data for building a map and use this map for my navigation . so i follow the wiki tutorials link text successful build the map map.yaml and map.pgm .i copy both of them to home/catkinws/src/rbx1/rbx1nav/maps (where i store the map). and use abotix & rbx1 package for simulator robot navigation (i used to simulator navigation in rviz successful.with the default map testmap.yaml under the floder home/catkinws/src/rbx1/rbx1nav/maps).but when i change the map to map.yaml the term report the error:std::badalloc process has died, exit code -6" [closed]. i can see the map(map.yaml) in rviz but can't set the 2d nav goal in rviz ,aka,the robot model doesn't move . and i find that the test_map.pgm 's size is 356kb and map.pgm 's size is about 15mb!! does anyone know how can i use the map i built for nav . help me plz .thx ~

Asked by forinkzan on 2014-12-08 02:53:05 UTC

Comments

What are the map parameters listed in map.yaml? Is this map maybe just huge?

Asked by dornhege on 2014-12-08 09:11:39 UTC

image: map.pgm resolution: 0.050000 origin: [-100.000000, -100.000000, 0.000000] negate: 0 occupied_thresh: 0.65 free_thresh: 0.196 there are the map param in map.yaml . i don't know why this map so huge...

Asked by forinkzan on 2014-12-08 20:03:39 UTC

Answers