Page 1 of 1

Creation of New Footbot in Arena During Simulation

Posted: Fri Mar 20, 2020 4:02 pm
by Waqar731
Hello Sir,
My question is about creation of footbots in the aren during simulation. Just like the foraging example in which food is being creating in the environment during the simulation. I want the same in my case where I started the simulation with 5 foot-bots then after some time in the simulation I want to create the foot-bot at any specific location in the environment.
Also this can be a realistic case where we can put another foot-bot in the environment.
I dont see any example in which robots are dynamically added in the environment.
My question is that, Does ARGoS support this functionality?
If yes, then can we use this with LUA?

Thanks

Re: Creation of New Footbot in Arena During Simulation

Posted: Fri Mar 20, 2020 5:06 pm
by pincy
Check the custom distributions example. It cannot be done in Lua, that's only for controllers. It must be done in C++ using the loop functions.

Re: Creation of New Footbot in Arena During Simulation

Posted: Fri Mar 20, 2020 5:30 pm
by Waqar731
thank u sir