Gazebo | Ignition | Community
Ask Your Question

Populate objects dynamically

asked 2018-01-10 05:06:59 -0500

amarbanerjee23 gravatar image

Hi all, I wsih to dynamically populate objects into my world based on some condition. For e.g.; There is a row of coke cans. After evert 10 mins, I want to magically add one coke can to the row. Is such a think possible to describe using SDF ? Please help.

Thanks in advance, Cheers, Amar

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-01-10 12:48:40 -0500

chapulina gravatar image

Not possible with pure SDF, you'll need to either trigger it manually, or write a plugin that does it for you.

This tutorial shows how to spawn a model dynamically, you can adapt it to spawn based on time, for example.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-01-10 05:06:59 -0500

Seen: 1,516 times

Last updated: Jan 10 '18