Ask Your Question
0

map_server

asked 2013-02-14 00:41:10 -0500

victorp gravatar image

updated 2013-02-14 00:44:26 -0500

I'm trying to launch a map_server with a given map.yaml + bitmap, but nothing happens :

$ roscore &
[1] 12749
...
$ rosrun map_server map_server cave.yaml 
[ INFO] [1360845376.280636084]: Loading map from image "./bitmap/cave.png"
$ rostopic list
/rosout
/rosout_agg
$ rosservice list
/rosout/get_loggers
/rosout/set_logger_level

The map_server node doesn't appear to be running and doesn't show up in rqt_graph. What am I doing wrong ?

Cheers

edit: Here's the cave.yaml file.

image: bitmap/cave.png
resolution: 1
origin: [0.0, 0.0, 0.0]
occupied_thresh: 0.65
free_thresh: 0.196
negate: 0

edit2: ROS version is Groovy.

edit retag flag offensive close merge delete

Comments

Is you resolution really 1m/cell?

dornhege gravatar image dornhege  ( 2013-02-14 22:32:46 -0500 )edit

No. I was just trying to get things working.

victorp gravatar image victorp  ( 2013-02-14 22:35:49 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-02-14 20:00:03 -0500

victorp gravatar image

updated 2013-02-17 20:27:14 -0500

This is what happens when map_server cannot find the bitmap file. There was a typo in my yaml config file.

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

Stats

Asked: 2013-02-14 00:41:10 -0500

Seen: 698 times

Last updated: Feb 17 '13