View Single Post
  #3   Spotlight this post!  
Unread 13-02-2007, 14:54
Daniel_LaFleur's Avatar
Daniel_LaFleur Daniel_LaFleur is offline
Mad Scientist
AKA: Me
FRC #2040 (DERT)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Peoria, IL
Posts: 1,972
Daniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond repute
Send a message via MSN to Daniel_LaFleur
Re: Moving to a point between lights with autonomous

Quote:
Originally Posted by minfranco View Post
I was just wondering if anyone has discovered a way to get the robot to a column between lights while in autonomous. A pointer in the right direction would be very helpful!
I'm not the programmer for our team, but ....


In order to be able to place a keeper between the spider legs that have the lighted targets your camera needs to detect 2 targets (*note: that may not happen depending on initial setup).

Once you have 2 targets (since they have range data) you need to do some trig. You need to calculate the center of the line between the lights, then calculate the offset of the spider leg from that line. Then you need to plot a course from your current position to that position.


@ kaszeta

Since he specifically asked for the spider leg between the target lamps, how are you going to know which legs have target lamps and which ones dont without a way of detecting the lamp???