LAB #8 – Navigation Using Calculations
Objective: Calculate the number of loops required to move the robot a predetermined
distance. (Hint: Page 52 of the Robotics! Student Workbook may be helpful).
Requirements:
The robot must follow a straight line and stop at an exact distance. No sensors allowed in
this lab. Your journey shall be based on your calculations (loops required to travel
distance X from your spreadsheet) and any calibration required. On demo day, I will
give you the distance (48” – 60”); you will quickly modify your code (change a constant
value?) and demonstrate. You will not be allowed to practice on demo day, nor will you
be given more than one opportunity to demo.
You will be graded on how close you get to the specified distance per the following:
0.000 - 0.125 inch 100% of possible points
0.126 - 0.250 inch 95% of possible points
0.251 - 0.500 inch 90% of possible points
0.501 - 0.750 inch 85% of possible points
0.751 - 1.000 inch 80% of possible points
> 1.000 inch 70% of possible points
________________________________________________________________________
In addition, your robot must output the following on an LCD display:
Loops = <your number here>
Distance = <teacher supplied number here> in
It must display the above on two lines as shown for 2 seconds and then begin scrolling to
the left. You can demonstrate this after completing the above navigation so you do not
have to carry the weight during your journey.
Things to turn in (staple all this together):
One per 1) Source code using “Good” programming techniques as discussed in class.
group Your calibration data should be entered directly into your code as comments.
2) A word document with the following questions answered: If the measured (or
actual) values 1, 2 and 3 (see the spreadsheet) are different than your
Each group
calculated values, what factors (external forces) do you think contributed to
member
this discrepancy? How did you modify your robot and/or code to correct for
these discrepancies? Be specific and explain.
3) Spreadsheet with all work done with a pencil. Show all work, units, and unit
conversions. For example:
37.5 rev 1 min = 0.625 rev
min 60 sec sec
542904882.doc