Java Camera Video on ClassMate

Has anyone gotten the Classmate to show the video stream while using Java as our programming language? If so any ideas on how get it working? I heard that merely calling AxisCamera.getInstance() will start the stream but this didn’t work for us.

You will need to start the Driver Station and the Dashboard I assume, on the Classmate. As the program that uses the Axis camera is running on the cRIO and you need something running on your desktop to display the video coming in.

Well, we have the driver station setup and I believe updated. It just keeps saying “timeout in camera communication”. However, Java can internally see the camera and the sample Java vision recognition code is working.

The problem we are having is that the video is not showing up on the dashboard (classmate pc). We are now worried that the whole top half of the driver station program is not recieving any communication because it looks like it isn’t updating the PWM or analog input values as well.

We also seem to have this problem; nothing in the top portion of the dashboard seems to change. I’ll try testing it again today, of course.

The camera should start displaying the feed once getInstance has been called. The rest of the data on the dashboard needs to be sent manually, as seen in the dashboard example project in the NetBeans samples.
Make sure that you have the latest version of the driver station installed correctly, which may require uninstalling the driver station and reinstalling.
http://joule.ni.com/nidu/cds/view/p/lang/en/id/1535

But how can we uninstall the dashboard. I couldn’t find it in “Add or remove programs” nor in the DSUpdate1.0for2010 executable.

We’re having the same problem. We deployed the default code in LabVIEW, and then when we connect the robot to the ClassMate, we see “Timeout in Camera Communications” where the video feed should be displayed. Has anybody found a solution? (Our DS is version 2010.01.06.00.)

There seems to be an issue with the DS update only updating the “lower half” of the Driver Station (the actual driver station program) and not updating the “upper half” (the dashboard program).

To fix this, go in to your developer account, run the installer and select “remove this feature” on the “Features to Install” screen.

After it finishes, run the update again to reinstall the Driver Station/Dashboard.