View Single Post
  #8   Spotlight this post!  
Unread 11-01-2007, 21:35
amateurrobotguy's Avatar
amateurrobotguy amateurrobotguy is offline
Lead Programmer/Senior Engineer
no team
 
Join Date: Feb 2005
Rookie Year: 2000
Location: ****
Posts: 136
amateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these parts
Re: Question about autonomous mode

Quote:
Originally Posted by itsme View Post
Well, I could do this this way: first of all the robots scans for light, if it gets 2 lights it sums up the tilt it made for each light. According to this I can calculate the angle my robot is from both of the lights, and know the angles of the triangle between light #1, light #2 and the robot (according to each tilt with the servo tracking). Then I can know exactly where I am according to the lights and eventually according to the spider legs.
If there is only 1 light straight ahead then the sum of the tilt would be zero, and my robot will have to go straight ahead.
Tell me if you think this idea is good
Ahhhh, young grasshoper, you are on the right path. As lead coder of our team, I reaaaaalllly should start working on the code.
__________________
I quit FRC over 2 years ago (more if you're reading this past 2010).