Steels' Martian Rovers

Update: There is now a new version of the rovers app which includes a plan editor and better simulator.

Below is a (buggy) simulation of Steels' martian rover experiment (without obstacles) which demonstrates that the subsumption architecture is a good way of quickly generating pretty looking simulations. The reset condition is when the simulation crashes, says a lot really....

What is it doing

Each of the rovers follows a simple set of rules as follows:

#Condition Action
1holding sample, at basedrop sample
2holding sample, not at basedrop radioactive grain,move toward beacon
3not holding sample, detect sample on groundPick up sample,move toward beacon
4not holding sample, detect radioactive grain on groundPick up grain, move away from beacon
5not holding sample, don't detect radioactive grainMove in random direction

The conditions are evaluated in order and if a condition is met then the given action is applied.