View Single Post
  #8   Spotlight this post!  
Unread 25-02-2009, 17:11
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,381
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Autonomous code MUCHO MUCHO IMPORTANTE!!!!!!!!!!!!!

Quote:
Originally Posted by Joe_Widen View Post
Heres how I would do it.

First, have the camera find the green light above a trailer that you want to dump in. Next, have the robot line itself so the direction the camera is facing(hopefully in the direction of the green light) is the same direction the robot is facing. Next, drive forward. As you get closer to trailer of the robot, the camera should change pitch. You need to know at what pitch your camera is at when you are near a trailer. When you get to that pitch, tell your robot to stop moving and unload your balls.

Good luck. IMO, its really not to difficult to code. If you can follow my steps, its quite simple. Gettin the bugs out of it and making it run smooth is another story. But you need to start somewhere.

Joe's suggestions are spot on.....with one minor suggestion on my part. DO NOT WAIT until the camera locks on to a target to move forward. A human player can practically fill your trailer in the amount of time it takes to lock on.

Joe is correct, coding it to work is the easy part. Tweaking it to work accurately and consistently is a whole different story. That will take time and practice.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist