Ask Your Question

cant navigate the playground

asked 2014-08-06 16:58:04 -0500

haider gravatar image

im using ros hydro, ubuntu 12.04 .. im working on Make a map and navigate with it using gazebo . but i cant navigate the playground, i got this error [ERROR] [1406213257.254638543]: Map_server could not open ~/home/hattan_map5. process[navigation_velocity_smoother-4]: started with pid [9439] [map_server-2] process has died [pid 9329, exit code 255, cmd /opt/ros/hydro/lib/map_server/map_server ~/home/hattan_map5 __name:=map_server __log:=/home/hattan/.ros/log/7297b3bc-1341-11e4-a206-74e5433742d1/map_server-2.log]. log file: /home/hattan/.ros/log/7297b3bc-1341-11e4-a206-74e5433742d1/map_server-2*.log

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-08-06 21:15:39 -0500

ahubers gravatar image

updated 2014-08-06 21:20:28 -0500

I believ this error is caused by the pathing described here


Try using the absolute path to where this is located (you can find this out by typing pwd in the directory where the map is). Additionally, when you created a map using the map_server, it should have saved to two files: one with the extension .pgm and one with the extension .yaml. Make sure to run roslaunch turtlebot_gazebo amcl_demo.launch map_file:=<full path to your map file>.yaml, and make certain that the image attribute in the.yaml file correctly points to the path of the .pgm.

To clarify, if your files are located at /home/hattan/hattan_map5.yaml and /home/hattan/hattan_map5.pgm, then inside the .yaml file should be the line image: hattan_map5.pgm, and you would run roslaunch turtlebot_gazebo amcl_demo.launch map_file:=/home/hattan/hattan_map5.yaml

edit flag offensive delete link more


thank you very much . it works very well

haider gravatar image haider  ( 2014-08-07 02:57:29 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-08-06 16:58:04 -0500

Seen: 774 times

Last updated: Aug 06 '14