View Single Post
  #10   Spotlight this post!  
Unread 25-01-2011, 20:44
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: Modifying image sent to Dashboard

Quote:
Originally Posted by EdenA View Post
Due to the reason that WPI Lib is HALF-BAKED this year, it will be nearly impossible for you to do any effective image processing in Java. This is because WPI Lib does not expose any native NI Vision functions (imaq*) to you (which are accessible in C++, but still undocumented.) Even if you do get image processing code you wrote yourself in Java working, it will take you a while to optimize it, and once you do, it still won't be nearly as fast as native optimized code from NI's Vision library, and will probably cause too much lag to be usable.

If you are not going to program in LabVIEW, I would recommend going C++ this year if you need to do image processing.
I have already successfully used the image code in java. Given I don't get the detail suggested by the NI documentation. But it is simply not necessary for this game or the task to be accomplished. I was able to drive to target with a variable speed based on distance to the target. Keeping it simple will most likely be more successful than the image processing suggested by the NI docs.

My personal opinion but the language you use should have no effect on the success of your code this year. As proven by my week 1 camera tracker done in java.
__________________
"Never let your schooling interfere with your education" -Mark Twain
Reply With Quote