Quote:
Originally Posted by minfranco
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???