|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Camera won't work
I believe that connecting the camera directly to the cRIO makes it unavailable for dashboard viewing. The dashboard makes HTTP requests to 10.xx.yy.11 to pull the images. When you attach it to the cRIO, it is inaccessible at that IP address.
|
|
#2
|
||||||
|
||||||
|
Re: Camera won't work
The dashboard has a boolean constant that must be changed to cause the image to come from the cRIO port 2.
In addition, there may be other changes needed in the robot code specific to your programming language. For LabVIEW, you must change another boolean constant in the begin.vi to change the source of the camera images. You must also call WPI_CameraSend Images To PC Loop.vi. See the following thread in the NI forums https://decibel.ni.com/content/thread/11629?tstart=0 (note that the thread is still unresolved, so there may be additional changes needed). Why do you want the camera connected to the cRIO port 2? |
|
#3
|
|||
|
|||
|
Re: Camera won't work
How else can we use the camera when it is on the robot?
|
|
#4
|
|||||
|
|||||
|
Re: Camera won't work
The 2012 default code and camera setup tool expect the camera to be connected to the robot's DLink bridge.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|