Cockroaches tend to self-organize into leaderless groups, seeming to reach consensus on where to rest together.
For example, when provided two similar shelters, most of the group tended to gather under the same one.
Hoping to learn more about this behavior, researchers led be Jose Halloy at the Free University of Brussels, Belgium, designed small robots programmed to act like a cockroach.
The robots did not look like the insects and at first the roaches fled from them, but after the scientists coated the robots with pheromones that made them smell like roaches the machines were accepted into the group, nesting together with the insects.
Given a choice, roaches generally prefer a darker place and the robots were programmed to do the same.
When given a choice of a darker or lighter shelter, 75 percent of the cockroaches and 85 percent of the robots gathered under the darker one.
Then, to see if the robots had really become part of society and could influence group decisions, Halloy and colleagues programmed them to prefer shelters with more light.
The result, the lighter shelter was preferred by the mixed group 61 percent of the time, while the cockroaches alone picked it just 27 percent of the time.
On the other hand, in 39 percent of cases the robots, despite being programmed to prefer a lighter shelter, joined the cockroaches under the darker one.
The findings were reported in Friday's issue of the journal Science.
Foreign Ministers of G7 countries intend to release a tough statement about their policies in relation to Russia's foreign politics
Russia is to start supplying S-300 air defence systems to Syria in the near future. The shipments will be conducted free of charge