The final lab in this module involves building and programming Mars Rover 2 to intelligently navigate a floor of colored tiles. The Rover is intended to traverse white squares and avoid black squares by using a light sensor while navigating from a pre-determined #1 tile to tile #25.
This Lego Module received the best reviews. It was structured to lead the students from basic driving, to feedback control, to navigation algorithms, through navigation algorithms in the face of embedded system constraints, and finally to the lab.
Instructions: <UnifiedC&PInstallInstructions.pdf>
Files: <UnifiedC&PInstallation.exe>
Instructions: <MarsRover2BuildInstructions.pdf>
Trial Code: #<rovertest.adb>#
Lecture 1: <Lecture 1.pdf>
Recitation1: <TestSound.adb> - used to demonstrate how to use “Ctrl+F” to find the appropriate procedures in the Ada Mindstorms and NQC Manuals.
Lecture 2: <Unified_2005_MarsRover.pdf> - presents the System Problem Lab
Problem Set 1
1. Installing AdaGide and Associated Software
Problem Set 2
2. Getting to know the Rover #[Solution.doc][.pdf]#
3. The Endless Square? #[Solution.doc][.pdf]#
Problem Set 3
1. The Perfect Endless Square #[Solution.doc][.pdf]#
Problem Set 4
1. Driving with Procedures #[Solutions.doc][.pdf]#
2. Simple Navigation #[Solutions.pdf]#
Problem Set 5
Assignment: <Fall_2005_Lego_SP.pdf>
Support Files: <SP6TestReport.doc>
Rubric: #<RoverDemoGradingSheet.doc>#
1. Global Variable Restriction
2. Beware of Array definition syntax
3. Do NOT use the word “Matrix”
4. Only use ONE level of nesting.
5. Constants
6. For loop translation is inefficient
#MarsRover2.ldr# – 3D LDraw File of the Mars Rover 2. (Please visit the main resources page to download the LDRAW install package needed to use this file).
#Assembly Pictures.zip# – JPEGs used to create the build instructions
#Complete Assembly Pictures.zip# – JPEGs of multiple view of the complete Mars Rover 2 assembly.
Team Videos: 1,4,5,7,8,9,10**,11,12,14,15,16,17*,18*,19,20*
* - great control code! ** - plays the Swedish National Anthem