View Single Post
  #7   Spotlight this post!  
Unread 25-02-2009, 17:01
Joe_Widen's Avatar
Joe_Widen Joe_Widen is offline
Registered User
FRC #1675 (The Ultimate Protection Squad)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Milwaukee
Posts: 215
Joe_Widen has much to be proud ofJoe_Widen has much to be proud ofJoe_Widen has much to be proud ofJoe_Widen has much to be proud ofJoe_Widen has much to be proud ofJoe_Widen has much to be proud ofJoe_Widen has much to be proud ofJoe_Widen has much to be proud of
Re: Autonomous code MUCHO MUCHO IMPORTANTE!!!!!!!!!!!!!

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.
__________________
Finally in college =]


2009 Midwest Regional Champions - Thanks 111 and 1625