|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Moving to a point between lights with autonomous
Yea, Donut has a point. Our team started this year and I do most of the programming. I haven't been able to figure out a way to pin down the spot between lights due to the movement of the rack with a camera and encoders, but I can get a tube on any spot under lights, thats 12 spots we can get. So even if you can only get the ones under the lights, it doesn't mean that you're at that big of an disadvantage. (although if your team can get 3 keepers in a row horizontally you are in pretty good shape)
|
|
#2
|
||||
|
||||
|
Re: Moving to a point between lights with autonomous
Exactly my point. Our team has evaluated these, and some of these are surprisingly workable, or at least have been on our test rack.
|
|
#3
|
||||
|
||||
|
Re: Moving to a point between lights with autonomous
Quote:
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??? |
|
#4
|
||||
|
||||
|
Re: Moving to a point between lights with autonomous
Quote:
![]() |
|
#5
|
|||
|
|||
|
Re: Moving to a point between lights with autonomous
How about, instead of constantly checking your position on the field using the camera you only check once and figure out where you need to go. if you have some sort of guidance system (more accurate then time) then it is very possible to dead reckon to a position on the field and place from there. Simply calculate the way the moved the rack based off what you SHOULD be seeing as opposed to what you ARE seeing. Think about how the deep space probes navigate, they have a star map so they know what they should be seeing and if they get something different they react accordingly. One huge advantage is the decrease in the amount of code the processor has to run so it can run faster because it doesnt have to run through the math library every time. Though I like what kaszeta has been saying, if you cant figure it out with the camera there are other options out there. Perhaps your scoring mechanism will automatically find the spider leg... just think outside the box. The idea i posted just now is what I intend on doing (for at least one of the approaches) this year. Hope that wasn't too cryptic and actually helped a little.
|
|
#6
|
||||
|
||||
|
Re: Moving to a point between lights with autonomous
The problem with attempting dead reconing based off where the lights start is that it is very hard to account for slippage of your wheels and what other robots will be doing. If your alliance has 3 robots going for the rack at once and you hit another robot on your way without some sort of feedback you will have no way of correcting yourself and getting back on target.
|
|
#7
|
|||
|
|||
|
Re: Moving to a point between lights with autonomous
Quote:
Robinson Levin |
|
#8
|
||||
|
||||
|
Re: Moving to a point between lights with autonomous
Thank you all for you suggestions so far. Damien1247, I think I am going to do something similar to what you suggested, however, dpick1055 does have a valid point about the inaccuracy. To solve both problems, why not use the camera to get close to the rack, and then do "dead reckoning" based on where the camera tells you you are at that point. Anyway, thanks again, keep the suggestions and ideas pouring in!
|
|
#9
|
|||
|
|||
|
Re: Moving to a point between lights with autonomous
I might be wrong about this but if you use the old camera code that dose not actually know when it sees 2 lights but thinks it is 1 big light, and you lower the confidence necessary to track it should track directly between the 2 lights almost acting like a 3rd light in the middle
|
|
#10
|
||||
|
||||
|
Re: Moving to a point between lights with autonomous
Just in case someone hasn't seen this yet, check out this thread to see what I am talking about for tracking 2 lights: http://www.chiefdelphi.com/forums/sh...ad.php?t=52467
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Camera tracking between two lights | Ankush Dhar | Programming | 2 | 12-02-2007 23:44 |
| Moving robot while tracking with camera questions... | Steve Orr | Programming | 6 | 02-02-2006 22:24 |
| Anybody have a code for an autonomous mode to go to the 50 point bar???? and... | chaoticprout | Programming | 9 | 06-11-2004 12:22 |
| Teams with 100 point average in Atlanta Qualifying rounds | DougHogg | Championship Event | 0 | 21-04-2004 01:03 |
| problems with receiving signals between radios (need help0 | chrisw | Technical Discussion | 4 | 11-01-2002 10:35 |