|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
yet another axis camera question
I don't understand why the current camera instructions describe setting its address to 10.36.81.11 (for instance) but the AxisCamera::GetInstance() method returns an AxisCameraParam (base class) instance initialized to 192.168.0.90. AFAICT there is no way to override that IP address. What am I missing?
|
|
#2
|
|||||
|
|||||
|
Re: yet another axis camera question
You're missing the second half of the first sentence that describes setting the camera's IP address that way:
"The camera can also be connected directly to the radio and bypass the cRIO if you choose not to use image processing." |
|
#3
|
|||
|
|||
|
Re: yet another axis camera question
OK, for the sake of argument, let's say I want to do image processing. The question still stands -- how do I use the AxisCamera class to access the camera whose IP address is 10.x.x.11?
|
|
#4
|
||||
|
||||
|
Re: yet another axis camera question
You have two options with the camera.
1) If you want to use it for vision only, you can connect it directly to your radio, in which case you have to play around with the camera's IP address. 2) If you want to use image processing, you have to connect the Axis Camera to the cRIO, keeping Axis Camera's IP setting in factory settings. You should connect the camera to port 2 of the cRIO and not touch the camera's IP settings. Do the following: a) Turn the Camera off, press the reset button (control button) and keeping holding it. Turn the camera on, wait until the ring around the camera turns to reddish/orange color. Let go of the control button and ta daaaa... you are back to factory settings. ( Do this if you changed camera's IP configuration) b) Now, follow the instruction in this PDF http://usfirst.org/uploadedFiles/Rob...our_Camera.pdf Use "FRC" as username Use "FRC" as a password That is the configuration that worked for me. Note, This is still the IP address: 192.168.0.90 then, use this to check if you have vision. AxisCamera &camera = AxisCamera::GetInstance(); Last edited by Straberrie : 22-02-2011 at 12:22. |
|
#5
|
|||
|
|||
|
Re: yet another axis camera question
Thanks very much for the comprehensive explanation. The 2nd ethernet port on the cRIO is configured by default as a 192.168.x.x network so this makes perfect sense.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|