|
|
|
![]() |
|
|||||||
|
||||||||
| View Poll Results: Vision Tracking: Did the GDC get it right this year or not? | |||
| Yes, they got it! This is the year. |
|
27 | 55.10% |
| No, Another disappointment. Maybe next year... |
|
22 | 44.90% |
| Voters: 49. You may not vote on this poll | |||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Vision tracking: Did they get it right?
Since it is not possible to support all type of robot bases with the current WPILib, it controls what is probably the most common. At one level it computes an angle to rotate, then uses robot drive to rotate. It should be pretty easy to map to alternate drive bases. Of course you will likely want it to move forward, kick, line up with another, etc.
Greg McKaskle |
|
#2
|
||||||
|
||||||
|
Re: Vision tracking: Did they get it right?
Is vision needed in this game?
Is the goal stationary? YES Do you know the location of the balls prior to Auton? YES Do you know your robot location prior to Auton? YES Is there potential defense in auton? NO Can a human score without camera? YES Is vision needed in this game? NO We are all for using the camera, when the effort is worth it. We used it in 06, because it was worth it. We will not use it this year because it is not worth it. |
|
#3
|
|||
|
|||
|
Re: Vision tracking: Did they get it right?
I assume you're referring to the "RobotDrive" class.
It would be easy enough to create your own CrabDrive class which extends the RobotDrive class. This would allow you to pass a CrabDrive to the vision code and have it work properly. Code:
class CrabDrive : RobotDrive {
//build your class here.
}
|
|
#4
|
||||
|
||||
|
Re: Vision tracking: Did they get it right?
Our drivers were very impressed by a demo of the system. They feel that they can drive and play with the camera alone!
This should be an interesting game! |
|
#5
|
||||
|
||||
|
Re: Vision tracking: Did they get it right?
Not necessarily. A defensive bot's autonomous mode may be to block a goal.
|
|
#6
|
||||
|
||||
|
Re: Vision tracking: Did they get it right?
Nope. Penalty for crossing the white line and penalty for each game piece the robot touched.
|
|
#7
|
|||||
|
|||||
|
Re: Vision tracking: Did they get it right?
Quote:
But there is a goal on your side of the line that you could block. ![]() |
|
#8
|
||||
|
||||
|
Re: Vision tracking: Did they get it right?
Is there any starter camera tracking code for LabVIEW yet? I looked through the examples, but those are only for color recognition- not for shapes.
|
|
#9
|
|||
|
|||
|
Re: Vision tracking: Did they get it right?
The starter code for LabVIEW is actually built into the default template. This means that when you create a new robot project, it already contains some sample vision code for finding the target.
|
|
#10
|
||||
|
||||
|
Re: Vision tracking: Did they get it right?
Quote:
I think that, because the targets are stationary rather than moving like last year, there is definitely an opportunity to score in autonomous using the camera to track. Long range shooting was impossible last year because of the moving targets and the unpredictable floor, but this year I can see it make a comeback (although it might have been nice to see a point increase for a long range goal... sort of like a 3-pointer in basketball. Oh well...) |
|
#11
|
|||
|
|||
|
Re: Vision tracking: Did they get it right?
I've only looked at the C++ vision code so far, but I would imagine the labview code to be similar.
I am going to test it tomorrow with the old robot, but there are a few things that worry me: - While the ellipse detection only uses luminance data for detecting edges, it does so by allocating memory, mixing the image down, processing it, then freeing the memory. I don't know how efficient vxworks' malloc is, but this seems like a rather bad idea. - From what I can tell, the ellipse detection uses the edges of ellipses - meaning that it will detect two ellipses around the inner and outer edges of the black circle. While this is perfectly acceptable when one bases navigation of the center of the circles, it has to potential to throw a wrench into distance algorithms (e.g. inverse perspective transform). Some sort of algorithm will be needed to pick one of the edges (preferably the outer one). - The tracking algorithm only samples the image once, then bases all further turning on the gyro without sampling any more images. There are both problems with this approach, as well as problems in the implementation. I won't elaborate on this point, as it probably deserves its own separate thread. I'm impressed that they created a decently working camera example for teams to start with, though it definitely is not a perfect solution. I have to wonder if they did this on purpose - after all, it would be no fun if everyone's robot ran the same code. |
|
#12
|
|||
|
|||
|
Re: Vision tracking: Did they get it right?
Quote:
Quote:
This method is more reliable and typically faster when homing in on stationary targets. If you'd like to discuss it further, feel free to start another thread. -Joe |
|
#13
|
||||
|
||||
|
Re: Vision tracking: Did they get it right?
Quote:
|
|
#14
|
||||
|
||||
|
Re: Vision tracking: Did they get it right?
perhaps. this year doesnt so sound so imortant or controlable this year. if we had this camera last year and these cool little laptops, yeha this would make it a whoooooooooooooole lots better.
|
|
#15
|
||||
|
||||
|
Re: Vision tracking: Did they get it right?
Quote:
I totally agree, you could use encoders to score really effectively. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is fedex right? did ship get delayed for central Mass? | Joe G. | General Forum | 7 | 21-02-2009 19:38 |
| So what did we get right? | geeknerd99 | Chit-Chat | 9 | 10-05-2006 13:11 |
| 71's Vision Tracking Problems | Bill Beatty | Rumor Mill | 7 | 19-04-2005 17:41 |
| did they | Jgreenwd1 | Championship Event | 1 | 29-04-2002 11:45 |
| They got it right in LA (Times)! | dlavery | Regional Competitions | 0 | 10-04-2002 15:26 |