Ask Your Question
1

map server dies with exit code -11

asked 2018-10-08 08:07:03 -0500

Saksham99 gravatar image

i am trying to use a pre-constructed map for running RRT algorithm on ROS kinetic which I have installed on Ubuntu inside VirtualBox. The problem is that the map_server dies when I run the launch file.

log file: /home/osboxes/.ros/log/114561a0-ca7f-11e8-9d1d-0800279896ff/spawn_turtlebot_model-5*.log [map_server-2] process has died [pid 9427, exit code -11, cmd /opt/ros/kinetic/lib/map_server/map_server /home/osboxes/catkin_ws/src/turtlebot_rrt/maps/simple_maze.yaml __name:=map_server __log:=/home/osboxes/.ros/log/114561a0-ca7f-11e8-9d1d-0800279896ff/map_server-2.log]. log file: /home/osboxes/.ros/log/114561a0-ca7f-11e8-9d1d-0800279896ff/map_server-2*.log

I have been trying to run the demo following the steps here https://github.com/jeshoward/turtlebo... . Also note that I have changed the image in simple_maze.yaml to point to simple_maze.pgm.

edit retag flag offensive close merge delete

Comments

Did you fix this problem?

pmuthu2s gravatar imagepmuthu2s ( 2018-10-21 17:03:35 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-10-09 11:02:24 -0500

*.yaml -> *.pgm

This is your issue. the yaml file contains a path to the pgm file to load, and contains other necessary meta data (scale, sizes, origin, etc). You need to load it with the yaml file and then the yaml file will point to the pgm that correlates to it.

Hope this resolves your problem quickly!

edit flag offensive delete link more

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

Stats

Asked: 2018-10-08 08:07:03 -0500

Seen: 108 times

Last updated: Oct 09 '18