|
Re: Connecting to the Camera
For 2012 the AxisCamera class has been modified to default to using your team subnet for the camera. So if you call AxisCamera.getInstance(), you'll get an object that tries to connect to the camera on 10.x.y.11, where x.y are your team number (same as the other things on the subnet).
You can also call getInstance with a string that represents the IP address that you'd like to use. For example, AxisCamera.getInstance("10.1.90.11").
The reason for the change is to encourage teams to standardize on connecting the camera to the switch rather than port 2 of the cRIO as was done previously. The idea is to make everyone consistent so that it's easier to debug issues at events and online. Also, the new 4-slot cRIOs don't have a second ethernet port so it is not a choice.
Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
|