Creation of New Footbot in Arena During Simulation

Requests regarding how to set up experiments in ARGoS.
Waqar731
Posts: 65
Joined: Thu Oct 23, 2014 12:33 pm
Location: Pakistan
Contact:

Creation of New Footbot in Arena During Simulation

Postby Waqar731 » Fri Mar 20, 2020 4:02 pm

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
Waqar Hussain

pincy
Site Admin
Posts: 632
Joined: Thu Mar 08, 2012 8:04 pm
Location: Boston, MA
Contact:

Re: Creation of New Footbot in Arena During Simulation

Postby pincy » Fri Mar 20, 2020 5:06 pm

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.
I made ARGoS.

Waqar731
Posts: 65
Joined: Thu Oct 23, 2014 12:33 pm
Location: Pakistan
Contact:

Re: Creation of New Footbot in Arena During Simulation

Postby Waqar731 » Fri Mar 20, 2020 5:30 pm

thank u sir
Waqar Hussain


Return to “How to... ?”