Getting the `CCI_Controller` derived instances

Requests regarding how to set up experiments in ARGoS.
MartinKri
Posts: 3
Joined: Mon Nov 16, 2020 10:09 am

Getting the `CCI_Controller` derived instances

Postby MartinKri » Tue Nov 17, 2020 2:05 pm

Through GetSpace().GetEntitiesByType("foot-bot"), I can obtain the objects of my foot-bots in my simulation.

For my bots, I have defined my controller, which derives from `CCI_Controller`. Is there a way for me to obtain all the controller objects for the robots?

Thank you in advance,
- Martin Kristjansen

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

Re: Getting the `CCI_Controller` derived instances

Postby pincy » Tue Nov 17, 2020 3:04 pm

Have you checked the foraging example?
I made ARGoS.

MartinKri
Posts: 3
Joined: Mon Nov 16, 2020 10:09 am

Re: Getting the `CCI_Controller` derived instances

Postby MartinKri » Mon Dec 07, 2020 3:49 pm

No, I had not.

It seems it has what I need. Thanks!
- Martin kristjansen


Return to “How to... ?”



cron