e11 lecture 15: game kickoff
TRANSCRIPT
![Page 1: E11 Lecture 15: Game Kickoff](https://reader030.vdocuments.mx/reader030/viewer/2022021215/620729850771f21b322f2f9a/html5/thumbnails/1.jpg)
E11 Lecture 15: Game Kickoff
Profs. David Money Harris & Sarah Harris
Fall 2011
![Page 2: E11 Lecture 15: Game Kickoff](https://reader030.vdocuments.mx/reader030/viewer/2022021215/620729850771f21b322f2f9a/html5/thumbnails/2.jpg)
Outline
Line Following Race Postmortem
Game Kick-Off
Team Dynamics
2
![Page 3: E11 Lecture 15: Game Kickoff](https://reader030.vdocuments.mx/reader030/viewer/2022021215/620729850771f21b322f2f9a/html5/thumbnails/3.jpg)
Reliable Platform
Both of your robots on a team should be working well
Motors should operate consistently
Sensors should return consistent results
Reliable Gold code detection
FTDI download should work reliably
If any of these aren’t robust, get them working right away
Preferably before your lab section meets
Grutors available for special appointments – email them!
Don’t succumb to the temptation to postpone!
3
![Page 4: E11 Lecture 15: Game Kickoff](https://reader030.vdocuments.mx/reader030/viewer/2022021215/620729850771f21b322f2f9a/html5/thumbnails/4.jpg)
Line Following Race
Video!
http://www.youtube.com/watch?v=WPz4M6oWROA
4
![Page 5: E11 Lecture 15: Game Kickoff](https://reader030.vdocuments.mx/reader030/viewer/2022021215/620729850771f21b322f2f9a/html5/thumbnails/5.jpg)
Line Following Race Postmortem
What was hard?
What worked?
Descriptions from winning teams
5
![Page 6: E11 Lecture 15: Game Kickoff](https://reader030.vdocuments.mx/reader030/viewer/2022021215/620729850771f21b322f2f9a/html5/thumbnails/6.jpg)
Overshoot
Feedback control systems tend to become unstable as their speed increases.
First manifestation is “overshoot”
Many robots demonstrated this, especially if you reduced your gear ratio.
6
![Page 7: E11 Lecture 15: Game Kickoff](https://reader030.vdocuments.mx/reader030/viewer/2022021215/620729850771f21b322f2f9a/html5/thumbnails/7.jpg)
Overshoot Compensation
void loop()
{
int reflect;
reflect = analogRead(4);
// follow outside line
if ((reflect-870) > random(100)) {
setPowerLevel(130); turnL();
}
else if ((830-reflect) > random(100)) {
setPowerLevel(130); turnR();
}
else {
setPowerLevel(255); forward();
}
}
7
![Page 8: E11 Lecture 15: Game Kickoff](https://reader030.vdocuments.mx/reader030/viewer/2022021215/620729850771f21b322f2f9a/html5/thumbnails/8.jpg)
Debug Techniques
Printing sensor readings
Change to 115,000 baud to reduce disturbance to program
Slow things down
Program the robot to halt when it gets in a certain condition (e.g. excess overshoot)
Other favorite approaches?
8
![Page 9: E11 Lecture 15: Game Kickoff](https://reader030.vdocuments.mx/reader030/viewer/2022021215/620729850771f21b322f2f9a/html5/thumbnails/9.jpg)
Other Lessons
Fully charge your battery in advance (!)
Secure your sensors
Inconsistent readings may happen if sensors shift
Test, test, test!
Many teams were still fixing problems when the event should have started.
Be sure it is working flawelessly the day before!
Arrive early for a final test
Murphy’s Law
9
![Page 10: E11 Lecture 15: Game Kickoff](https://reader030.vdocuments.mx/reader030/viewer/2022021215/620729850771f21b322f2f9a/html5/thumbnails/10.jpg)
Game Kickoff
Moonbase Epsilon
Green Industries and White Incorporated
Vying for the universe’s largest reseve of epsilonium
For making very small things!
10
![Page 11: E11 Lecture 15: Game Kickoff](https://reader030.vdocuments.mx/reader030/viewer/2022021215/620729850771f21b322f2f9a/html5/thumbnails/11.jpg)
Moonbase Map
11
7 81
2 3
4
56
![Page 12: E11 Lecture 15: Game Kickoff](https://reader030.vdocuments.mx/reader030/viewer/2022021215/620729850771f21b322f2f9a/html5/thumbnails/12.jpg)
Scoring
Two minute round to claim as many beacons as possible
Perimeter beacons worth 1 point each
Center beacons worth 2.4 points
After 2 minutes, sudden death begins
Robots in danger of damaging the field, the opponent, or themselves may be removed at the discretion of the ref
12
![Page 13: E11 Lecture 15: Game Kickoff](https://reader030.vdocuments.mx/reader030/viewer/2022021215/620729850771f21b322f2f9a/html5/thumbnails/13.jpg)
Physical Modification
Your robot must have at least one physical modification
New sensor
New actuator
Improved mechanical design (max 7” from corner to corner)
Be creative (!)
Changing gear ratio doesn’t suffice
You must make a plausble case why the physical modification will improve performance
Not simply a cosmetic or silly change
Must be operational by the scrimmage (11/7)
Order parts this week!
13
![Page 14: E11 Lecture 15: Game Kickoff](https://reader030.vdocuments.mx/reader030/viewer/2022021215/620729850771f21b322f2f9a/html5/thumbnails/14.jpg)
Resources
You may spend a maximum of $40
Your team may print one modified chassis
Beyond that, you must pay the standard rate of $10/in3
Machine shop
Only use the machines where you are qualified
Always have proctor supervision
24/7 Lab access
Never work alone in the lab
Always keep the door open
14
![Page 15: E11 Lecture 15: Game Kickoff](https://reader030.vdocuments.mx/reader030/viewer/2022021215/620729850771f21b322f2f9a/html5/thumbnails/15.jpg)
Milestones
10/25: Game Kickoff
11/7: Scrimmage • In lecture. Physical mod ready. Demo your operational
bot capable of claiming at least one beacon.
11/21: Final Competition (5:30-7 pm, Galileo McAlister) • Invite your friends and family! No lecture/lab this week.
12/6-8: Final Presentations • In lab section
12/8: Final Report
15
![Page 16: E11 Lecture 15: Game Kickoff](https://reader030.vdocuments.mx/reader030/viewer/2022021215/620729850771f21b322f2f9a/html5/thumbnails/16.jpg)
Teamwork
Most complex problems today are solved by teams
Too hard for a single person
Complementary skill sets
You will get extensive teamwork experience at HMC
Starting in E11
Engineering curriculum
Cornerstone: E4
Laboratory: E80
Many project-based labs and classes
Capstone: Clinic
16
![Page 17: E11 Lecture 15: Game Kickoff](https://reader030.vdocuments.mx/reader030/viewer/2022021215/620729850771f21b322f2f9a/html5/thumbnails/17.jpg)
Team Dynamics
Forming
Storming
Norming
Performing
17
![Page 18: E11 Lecture 15: Game Kickoff](https://reader030.vdocuments.mx/reader030/viewer/2022021215/620729850771f21b322f2f9a/html5/thumbnails/18.jpg)
Team Issues
Leadership and decision making
How will you resolve disagreements?
Plan a mechanism for dispute resolution before you have problems.
Division of labor
Many ways to partition the problem
Each team member should become the expert for some part
But stay informed about your partner’s work
Pair programming
18
![Page 19: E11 Lecture 15: Game Kickoff](https://reader030.vdocuments.mx/reader030/viewer/2022021215/620729850771f21b322f2f9a/html5/thumbnails/19.jpg)
Design Process
Conceptual Design
Brainstorm wildly; no criticizing ideas initially
Record the ideas
Systematically compare alternatives and choose the best
Detail Design
Cyclical nature of design
Get a working prototype early and refine it
Always keep a copy of the last working code
19