|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Quote:
I don't need to be that exact, may be off by a foot or 2 is fine |
|
#2
|
||||
|
||||
|
Re: Is the crio powerful enough?
How about a foot or 50? ... There are important non-linearities in the calculations that magnify small measurement errors dramatically.
|
|
#3
|
|||
|
|||
|
Re: Is the crio powerful enough?
I have no idea what that means, but... Its like the IR Range finders, the voltage output is a curve, gradually evening out and becoming very inaccurate; is this an example of your explanation?
|
|
#4
|
||||
|
||||
|
Re: Is the crio powerful enough?
I love trig
team 1350 used binocular vision in 2006 somewhat successfully, I wasn't there to get the specifics, but it used 2 CMUcams and trig, and that was with the old IFI rc, assuming there is a target that can be easily picked up at a low resolution, and the servos controlling the cameras are accurate enough (the closer the object, the less acurate they need to be), it should be *relatively simple. Streamlining the rest of the code to free up memory should also help. Hint, research "boids", it could help with programing how to react to other robots. |
|
#5
|
||||
|
||||
|
Re: Is the crio powerful enough?
Quote:
|
|
#6
|
|||
|
|||
|
Re: Is the crio powerful enough?
The cRIO is powerful enough so that a few trig functions make absolutely no difference. We used a couple dozen of them for our drive routine with no noticeable slow-down at all. Using them in the vision routine should be no different. The main thing that will be slow is image processing, which is mostly affected by the camera resolution.
In addition, I imagine that the existing trig functions are already highly optimized for real-time applications, as that's what the cRIO is for. The cRIO has a floating point processor, so that should work pretty well. Also, in my experience, one camera is good enough for range finding, provided you know the physical dimensions of the target, which has been the case in the last few games. |
|
#7
|
|||
|
|||
|
Re: Is the crio powerful enough?
This conversation is focusing way too much on the cost of the trig functions, compared to the cost of the vision functions. Trig is a lot more expensive than addition and subtraction, but trivial compared to vision.
|
|
#8
|
||||
|
||||
|
Re: Is the crio powerful enough?
In summary:
Yes, the cRIO is powerful enough for trig functions. No, the cRIO is not powerful enough for stereo image processing at 60hz, without reprogramming the FPGA. |
|
#9
|
||||
|
||||
|
Re: Is the crio powerful enough?
Quote:
You can see that after about 60 degrees it gets very inaccurate. The IR sensor, on the other hand, is exponential decay, which makes a slightly friendlier curve. (Your error at 75% maximum distance is only +-25% of the total range of the IR sensor) |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reimaging the cRio Issues there are no cRio devices on the subnet | Stuart | FRC Control System | 2 | 25-02-2009 23:41 |
| 617 IN THE LIMELIGHT (Close Enough) | bsmmoney | Chit-Chat | 0 | 08-03-2008 00:01 |
| pic: The gearbox that makes us so powerful | keenanmolner | Robot Showcase | 6 | 20-02-2007 02:11 |
| The end of mindstorms - no smiley face sad enough | Eric Reed | FIRST Lego League | 20 | 15-01-2004 16:00 |
| Enough with the bumpers! | archiver | 2000 | 2 | 23-06-2002 22:32 |