diff options
author | foswret <foswret@posteo.com> | 2025-06-22 09:30:49 -0500 |
---|---|---|
committer | foswret <foswret@posteo.com> | 2025-06-22 09:30:49 -0500 |
commit | c2ca1d08d1ac33dbe47bfa01fed3e0c696648263 (patch) | |
tree | 71c0bdf388c29241a82694c6ad1b3a02e2d86601 /maps | |
parent | ae5d160298d847530f03ec87e54a39d6c9424f37 (diff) |
Added maps dir and example map, added step counter and added steps back. Added pseudocode to main.py
Diffstat (limited to 'maps')
-rw-r--r-- | maps/exampleRobotMap | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/maps/exampleRobotMap b/maps/exampleRobotMap new file mode 100644 index 0000000..940d0ef --- /dev/null +++ b/maps/exampleRobotMap @@ -0,0 +1,27 @@ +MAPWIDTH = 4 +MAPHEIGHT = 5 + +STARTPOINT = [0, 2] +ENDPOINT = [1, 4] + +checkpointList = [ + STARTPOINT, + [0, 0], + [1, 4], + [3, 2], + [3, 4], + ENDPOINT + ] + +wallList = + [[2, 0], [3, 0]], + [[1, 0], [1, 1]], + [[3, 0], [3, 1]], + [[0, 1], [0, 2]], + [[0, 2], [1, 2]], + [[2, 2], [3, 2]], + [[1, 3], [1, 4]], + [[3, 3], [3, 4]], + [[1, 4], [2, 4]] + ] + |