|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: 2014 Vision Code
This section of the FIRST/WPI documentation also covers some of the theory behind the example, including topics like calibration: http://wpilib.screenstepslive.com/s/3120/m/8731
|
|
#2
|
||||
|
||||
|
Re: 2014 Vision Code
Quote:
Thanks for the link though :-) |
|
#3
|
||||
|
||||
|
Re: 2014 Vision Code
How are you planning on doing vision: through cRIO, send it to driver station, or use an on board computer?
|
|
#4
|
||||
|
||||
|
Re: 2014 Vision Code
I would highly suggest either doing the processing on the driver station or a coprocessor. Our team has already run into issues with letting the crio do the thinking...
|
|
#5
|
||||
|
||||
|
Re: 2014 Vision Code
Sounds like we're going to do it on the Driver Station. My next question is (after going through the steps in the tutorial), how do we get that data (variables) to talk with the cRIO code?
|
|
#6
|
||||
|
||||
|
Re: 2014 Vision Code
Looking at it more...I think processing on the cRIO would be easier. We're only using Vision for Autonomous, then we're planning on disabling vision.
|
|
#7
|
|||
|
|||
|
Re: 2014 Vision Code
Whichever way you decide to go, it is helpful to share data between DS and robot. The tutorial touches on this, and I've participated in a few other CD threads that go deeper. If those don't answer your questions, please ask.
Greg McKaskle |
|
#8
|
||||
|
||||
|
Re: 2014 Vision Code
Quote:
As for sending data from the DS back to the robot, you can usually just use NetworkTables to send the data. NI's code and RoboRealm both have easy NetworkTables integration built-in. (Not sure about OpenCV, haven't tried it.) |
|
#9
|
||||
|
||||
|
Re: 2014 Vision Code
Thank you all for the help! We'll be doing some major testing to find the best route to go with and I'll come back with some questions if needed.
Thanks again! |
|
#10
|
|||
|
|||
|
Re: 2014 Vision Code
That all depends on the rate and complexity of the processing. You could probably get away with processing 1 image per match this year which shouldn't cause any problems at all running on the cRIO.
|
|
#11
|
||||
|
||||
|
Re: 2014 Vision Code
Depending on your auton routine of choice, I suppose. We're going to try for more complex autonomous routine this year, so we'll need as much flexibility in the vision as we can get.
|
|
#12
|
|||
|
|||
|
Re: 2014 Vision Code
The LV example code for finding a game ball is takes two passes. While it would run on the cRIO, the robot and potentially the ball are both moving. I would think it would be hard to accomplish this without a DS or additional processor. The field targets seem pretty easy to do on the cRIO or any of the other approaches. By the way, "easy-vision" is still vision -- it's all relative.
Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|