Variations on the Mars Rover code kata to facilitate moldable and example-driven development.
For more information on the Mars Rover missions see also NASA's historical Mars Rover website at The Internet Archive.
Metacello new
repository: 'github://stormwatch/Mars-Rover-GT:main/src';
baseline: 'MarsRoverGT';
loadWe are part of the team developing Mars remote exploration equipment at NASA. We have to develop the system that controls the Mars Rover, and a secondary system to obtain staellite images of the landing site and track the Rover's meanderings. ###Landing Site The landing site is a plateau on Mars whose surface is perfectly flat.
We use points to position the Rover on the plateau, and a cardinal direction that indicates where it is facing. It always begins at an initial point (x,y) and points to one of the main four cardinal directions.
Because Mars is very far away, we send commands to the rover packaged in a {{gtClass:String}} where each character represents a command.
Keep in mind that communication may be glitchy, and erroneous commands may arrive, in which case the remaining commands in the sequence are not expected to be processed further.