|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
CameraServer IP Address?
Hello everyone,
I have a quick question. What is the IP Address of a USB Camera that is setup with the cameraserver class? We're trying to run GRIP on the driver station (after failing to run it on a Raspberry Pi & RoboRIO) and I'm trying to set up the camera as an IP Source. Thanks, Jonathan P.S. Is my code correct? Code:
server = CameraServer.getInstance();
camera = new USBCamera("cam0");
camera.setExposureManual(20);
camera.updateSettings();
server.startAutomaticCapture(camera);
|
|
#2
|
||||
|
||||
|
Re: CameraServer IP Address?
I have no experience with GRIP, but I imagine you could find the IP of a camera through the Networking and Sharing Center on your computer (The one connected to said camera), or through the device manager.
Last edited by Kyle Heaton : 18-10-2016 at 21:28. |
|
#3
|
|||
|
|||
|
Re: CameraServer IP Address?
See https://www.chiefdelphi.com/forums/s...d.php?t=141952. Unless this has changed since then, GRIP doesn't support USB cameras on the roboRio using CameraServer at present due to the non-standard protocol used by the current CameraServer.
We're planning on fixing this for 2017 with a new camera server implementation that provides standard MJPEG-over-HTTP. In the meantime you can look at using mjpg-streamer instead of CameraServer (see https://github.com/robotpy/roborio-p.../mjpg-streamer and https://www.chiefdelphi.com/forums/s...d.php?t=135737). The IP address would be the IP address of the roboRio. Last edited by Peter Johnson : 18-10-2016 at 23:47. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|