from the air-support dept.
mikejuk writes with an excerpt from I Programmer on a neat swarm of robots that use flying drones to build a map of their environment: "How can a swarm of robots get a global picture of its environment? Easy it simply sends up a drone. We are used to thinking of drones as being used for surveillance by humans operating on the ground, but what is good for humans is good for robots too. The drone can view the overall terrain and run simulations of what configurations of robots could best traverse the slopes. Once it has worked out how to assemble the robots into a single machine the drone has to communicate the plan to the swarm using a protocol based on the colored lights they all have. The ground robots adopt a random color and the drone selects the one it wants to communicate with by displaying the same color. They then repeat the process until only one robot has been selected i.e the drone follows the color changes of the selected robot. Of course if you don't like the idea of human drones flying over your head you may not be happy about robots getting in on the act as well..."Original paper
How many Unix hacks does it take to change a light bulb?
Let's see, can you use a shell script for that or does it need a C program?