|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Can't connect to the camera
We are using C++, the axis 206 camera, and the 8-slot cRIO. We have used the Camera setup tool for a direct connection to the cRIO's second Ethernet port. However, our cRIO can't find it. Below is our code:
Quote:
username: FRC password: FRC Whenever we run our code, the diagnostics message window reads: Quote:
|
|
#2
|
|||
|
|||
|
Re: Can't connect to the camera
Try using:
AxisCamera &camera = AxisCamera::GetInstance("192.168.0.90"); |
|
#3
|
|||
|
|||
|
Re: Can't connect to the camera
Thanks! We're no longer getting any errors. Also, how do we get the video onto our driver station?
|
|
#4
|
|||
|
|||
|
Re: Can't connect to the camera
The default dashboard is set up to expect the camera at 10.xx.yy.11. To use the camera in the configuration you have it, you will have to install LabVIEW, create a dashboard project, change the camera IP, build the Dashboard and use your new Dashboard.A possibly easier option would be to set up the camera to plug into the robot radio as described on Page 27 of Getting Started with the 2012 FRC Control System.
|
|
#5
|
|||
|
|||
|
Re: Can't connect to the camera
Thanks!
|
|
#6
|
|||
|
|||
|
Re: Can't connect to the camera
If you go with the camera->Robot radio option, you can take the IP back out of your GetInstance call as the robot radio configuration appears to be the new default looking at AxisCamera.cpp and AxisCameraParams.cpp
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|