Ask Your Question
0

How to create a simple map for simulation in stdr simulator?

asked 2019-10-10 04:53:44 -0500

electrophod gravatar image

I want to carry out a simple simulation in stdr simulator for which I'll be needing a simple map with four boundaries i.e. a square room. How do I create a map for this purpose?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-10-10 07:00:47 -0500

rreignier gravatar image

updated 2019-10-10 07:01:08 -0500

It has been a while since I have used stdr_simulator but map in only a png file. So you can create such map manually in a drawing software like GIMP.

Then, add a metadata file with the same name but with the .yaml extension. This file will contain the following elements:

image: frieburg.png
resolution: 0.05
origin: [0.0, 0.0, 0.0]
occupied_thresh: 0.6
free_thresh: 0.3
negate: 0

The above example comes from the stdr_ressouces package.

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: 2019-10-10 04:53:44 -0500

Seen: 13 times

Last updated: Oct 10