Wandering consists of moving around the map, using sensors to avoid bumping into obstacles and to detect other objects. To best utilize a tank's radar, which works from the front of the tank this agent prefers to move forward and turn only to avoid obstacles. The radar uses up energy, so it attempts to use it sparingly. The simplest thing to do is to turn on the radar when the tank turns, and turn it off if there is nothing interesting to see (such as tanks, missiles, the energy recharger, or the health recharger).
This agent uses four operators and one search control rule:
- Move: move forward if not blocked.
- Turn: if front is blocked, rotate and turn on the radar with power 13.
- Turn-backward: if at the end of an alley, turn left
- Radar-off: if the radar is on and there are no objects visible, turn off the radar.
- If radar-off is proposed, then prefer it to move.
- Basic PSCM functions: operator proposal, operator evaluation, internal operator application
- This agent is packaged with the TankSoar environment.
- None.
- John Laird
- Soar 8,9
- Plain text file