ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

map server dies with exit code -11

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

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 image pmuthu2s  ( 2018-10-21 17:03:35 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

*.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

Question Tools

1 follower

Stats

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

Seen: 560 times

Last updated: Oct 09 '18