Quote:
Originally Posted by Alan Anderson
The straightforward answer to any question involving stretching Java beyond the fully-supported features is "use C++."
|
Alas, I wish it was that easy. Our team uses Java because it is easier to teach it to people.
If you want samples of camera code, there are few sample projects included in the FRC plugins. I believe that they are based off the 2009 game Lunacy, where robots could track a pink/green target. When you create a project, instead of creating a new project, you can create a sample project.
Our team is (as I mentioned above) using Java this year. If you want to have a fast fps on the dashboard(greater than 20), you usually have to hook the camera through the switch and then modify the dashboard code (as opposed to the hooking the camera to the cRIO). Our team hasn't figured out how to hook the camera to the switch, and still process images on the cRIO. If your team does, please tell us.