kilobots_caterpillarAuto is a PSO (Particle Swarm Optimization) inspired automatic caterpillar chain based on Kilobots. The final result is that a chain of Kilobots move automatically like a caterpillar.
![PSO-Caterpillar-Kilobot Demo Video]
This work is done by the OPAL Laboratory, SUSTech, China. And a wiki is accessible for this project.
!!!Note that only the file "caterpillarAuto.c" is our work, while all the other codes are our dependencies which are provided by [1].
-
"caterpillarAuto.c" is the main function.
-
Set the "kilo_uid" of one specific Kilobot to be 0 through the Kilobots Toolkit "kilogui".
-
Put it at the faremost tail of the Kilobots caterpillar. We can call this specific Kilobot the "SEED".
-
Pysically put all the other Kilobots in front one by one to form a chain.
-
Upload the file "caterpillarAuto.hex" in the build file to all the Kilobots through the Kilobots Toolkit "kilogui".
-
Send the "Run" command to Kilobots through the Kilobots Toolkit "kilogui".
The Kilobots Toolkit "kilogui" can be downloaded at https://www.kilobotics.com/download.
[1] https://github.com/SSR-Harvard/Kilobotics-labs
Thanks to the tutorial labs for the Kilobot platform at https://www.Kilobotics.com/labs and the whole codes except the main source file "caterpillarAuto.c" are provided by https://github.com/SSR-Harvard/Kilobotics-labs.