Page 1 of 1

GetX and GetY of Kilobot

Posted: Thu Jan 06, 2022 2:29 pm
by AntonioC
How can I detect the position of the Kilobots during the execution phase without using the ARK system? Is there a function or plugin I can use?
Eg:

Code: Select all

void loop(){ printf("K : %f %f\n", getX(), getY()); }
The simulator gives me problems if I try to use the ARK system with Kilobots.

Re: GetX and GetY of Kilobot

Posted: Thu Jan 06, 2022 6:01 pm
by pincy
I know of the existence of ARK, but I don't know anything about its internals. I would suggest you to contact the original developers.