Getting Camera Footage on the Classmate

We, CRASH 999, have used LabView since the beginning of last season and will be using it this year. We had the camera mounted last year and did get it to work but didnt have any use for it. This year we plan on using it more. We are able to get the video feed to play on the LabView front panel but are unable to get it to display on the Classmate. We have the robot, Classmate, and laptop all networked together using hardwires and a router. We can get all kinds of data to display on the Classmate like the joystick but just cant get the camera to display on the Classmate. We are using the default coding. I dont know if maybe the default coding doesnt support it, if not then can someone please tell us how to get it to display on the Classmate? Any help would be great. Also if you are experiencing the same troubles maybe we can be hopeless together.

Do you have any video feed at all? IE. can you view the feed in your browser at all?

In order to view the camera in the dashboard you must connect the camera to the Crio and the rest of the kit (I think).

If you wish to simply test the camera and view a live feed you need to follow the instructions in section 2.12 in the 2010 robot controls document (here)
In short you need to change your ip address to 192.168.0.X (x can be anything but 1 or 90, I used 99)
You then need go to 192.168.0.90 in your web browser and set up or put in the root password (default is pass)
You should then see a live feed from the camera. After this you should be able to change the cameras IP address from 192.168.0.90 to what ever your classmates IP is. i.e. The classmates IP is 10.XX.YY.5 so you would change the camera’s IP to 10.XX.YY.ZZ (Make sure ZZ is not the same as the Classmate, I used 9) After you have plugged the camera into the Classmate you should then be able to view the live feed by going to 10.XX.YY.ZZ on the classmate.

Make sure you have all cables are plugged in and the camera’s LEDs are green.

Hope that helps,
timytamy

We’re having the same problem here, it works fine when connected to the computer and through the NI Vision Assistant, but when we try to get a feed using the Camera demo code with Java, nothing comes up on the Laptop.

The updated dashboard on the Classmate includes a gyro-sensed heading indicator. If you don’t have that, and your dashboard video window shows the camera communication error message, you haven’t successfully updated the Classmate software. Run the updater twice, uninstalling the first time and reinstalling the second time.

Also make sure that your camera is configured correctly according to the guidelines set by FIRST. We found today that our camera needed to be hooked up to the computer and that we needed to run the Camera Configuration Setup tool (or something like that, it’s found under Start->National Instruments->LabVIEW 8.6).

Another important point is that the camera needs to have a specific combination of username and password. The default username "root is OK, but you then need to change the password to “admin”. The cRio will not be able to access the camera if it isn’t correct. You may also want to view this thread: http://www.chiefdelphi.com/forums/showthread.php?p=902975. There have been issues with the installation of the driver station. You may have to install/uninstall/and re-install the drivers station with the updated installer.

My team is using Java and trying to get the camera working on the driver station. We have v19 on the cRIO and all the netbeans plugins are updated. Also, the camera has the FRC account and the root account on it at the right IP address and is plugged into port two via ethernet.

that said, there is something wrong with the code we are using:
AxisCamera.getInstance().writeCompression(0);
AxisCamera.getInstance().writeResolution(AxisCamera.ResolutionT.k320x240);
AxisCamera.getInstance().writeBrightness(10);

it keeps erroring out when we deploy with that code in our program, but not if we comment that out. is this the right code?