Quote:
Originally Posted by Randy Forgaard
[UPDATED 06-Feb-2011:
4. Follow the instructions in " How to Configure your Camera." IMPORANT NOTE: Those instructions imply that you can set up either of two different users on the camera: Username "root" with password "admin" and/or username "FRC" with password "FRC". However, we found (at least when using the camera with WindRiver C++) that there MUST be a username "FRC" with password "FRC" in order for the Axis camera code to work.
|
It should be *emphasized* in these instructions that "The camera comes with a network address of 192.168.0.90". So if you are connecting camera through to the cRIO you need to leave this address. We accidentally misread the instructions and put 10.xx.yy.11, and it would not work. So we manually set it back to 192.168.0.90 with a subnet mask of 255,0,0,0 and use the l/p "FRC", "FRC". This is what works for us.
Also...
When I first read this and saw to use the wait(). I was not sure when this would be called, and was concerned that autonomous would have to wait before it could startup. Fortunately, this code is called only once when the robot is powered on, and the camera comes on (around 15 seconds) before anything is enabled (should come on long before the match starts). So really the wait is not the end of the world. We use a wait of 10 seconds as suggested from the robo-wranglers.
This is a great thread which has been very helpful... Thanks a bunch!!