Gazebo | Ignition | Community
Ask Your Question
0

Creating a world file with a series of cylinders as obstacles

asked 2019-02-05 06:33:36 -0600

aleragu gravatar image

How can I create a .world able to spawn a certain numbers of cylinders in the space?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2019-02-05 16:21:54 -0600

kumpakri gravatar image

you might be looking fot the population.

It's a characteristic of the world. So you put the tag directly under the <world> tags. You can choose from different layouts. Depending on the layout you pass the tag sertain information, like number of object (in case of a line or some random layout) or number od columns and rows (in case of the grid). You can find all the information in the two provided links.

edit flag offensive delete link more
0

answered 2019-02-05 09:42:19 -0600

chapulina gravatar image

You want to spawn the cylinders after the world is loaded, or to have the cylinders in the world from the beginning?

It sounds like you could start from this tutorial.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-02-05 06:33:36 -0600

Seen: 580 times

Last updated: Feb 05 '19