|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Cannot Connect to Camera through cRIO
When we connect to the camera directly from the laptop via crossover, we can get the feed by accessing its IP address (192.168.0.90) in the browser just fine.
However, when it's connected to port two of the cRIO, we can't connect to it, or get it to feed to the driver station. We can deploy code just fine, and we have the latest (as in the update released literally yesterday) version of the driver station, gyro compass and all. Can anyone give us some help or point us towards a guide or something, because I haven't been able to find one of those online either? |
|
#2
|
|||
|
|||
|
Re: Cannot Connect to Camera through cRIO
Problem resolved.
|
|
#3
|
||||
|
||||
|
Re: Cannot Connect to Camera through cRIO
It would be more helpful if you explained how you resolved it.
The network jack on our cRIO did not turn on. The camera needs a crossover cable. Then, apparently you can get it to work by using AxisCamera &camera = AxisCamera::GetInstance(); and setting the parameters (in the constructor). |
|
#4
|
|||
|
|||
|
Re: Cannot Connect to Camera through cRIO
So sorry.
We solved it by updating everything. It seems that, somehow, one of our freshmen had managed to update the driver station without the necessary LabView update. So once we got our hands on that and re-updated the driver station as well, we began to start getting camera feed. Hope this helps. |
|
#5
|
|||
|
|||
|
Re: Cannot Connect to Camera through cRIO
Quote:
|
|
#6
|
|||
|
|||
|
Re: Cannot Connect to Camera through cRIO
Quote:
|
|
#7
|
||||
|
||||
|
Re: Cannot Connect to Camera through cRIO
I'm not sure how you don't know where the updates are, they are mandatory and on FIRST's website:
http://www.usfirst.org/roboticsprogr....aspx?id=10934 Make sure the cRIO's port that connects to the camera turns on its LEDs so the camera has the potential to communicate. I believe this requires a crossover cable. Include the following lines in the class inheriting SimpleRobot's constructor: Code:
// we just got these lines from the example 2010ImageDemo AxisCamera &camera = AxisCamera::GetInstance(); camera.WriteResolution(AxisCameraParams::kResolution_320x240) camera.WriteBrightness(0) |
|
#8
|
|||
|
|||
|
Re: Cannot Connect to Camera through cRIO
Quote:
I do call getInstance() (java) but I didn't know I needed to set any other parameters? I can't get this camera to work so maybe thats what I'm missing? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cannot connect to cRIO from WindRiver | Darkknight512 | C/C++ | 8 | 25-01-2011 19:42 |
| Cannot connect Windriver to robot | abpahl | C/C++ | 4 | 19-02-2010 08:28 |
| Cannot connect to cRIO | aybose | Java | 3 | 02-02-2010 22:20 |
| I/O Board Cannot Connect | Haragorn | FRC Control System | 2 | 14-01-2010 13:50 |
| Cannot Connect to Axis Camera Wirelessly | computerish | Technical Discussion | 4 | 11-01-2009 19:19 |