Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   GRIP Read CameraServer Output (http://www.chiefdelphi.com/forums/showthread.php?t=154388)

Jdkmotorhead 28-01-2017 14:58

GRIP Read CameraServer Output
 
Hello, my team and I have been experimenting with the new 2017 CameraServer, and I was wondering if it is possible to access the dashboard stream from GRIP on a coprocessor connected to the network, now that the class uses an mjpeg stream? And if so, how? We have tried using the roboRio IP address without success; should we use a different IP, or is there a specific port that the camera's on?

SamCarlberg 28-01-2017 18:32

Re: GRIP Read CameraServer Output
 
Add IP camera, set URL to

roborio-TEAM-frc.local:1185/?action=stream

Jdkmotorhead 29-01-2017 00:34

Re: GRIP Read CameraServer Output
 
Quote:

Originally Posted by SamCarlberg (Post 1637563)

roborio-TEAM-frc.local:1185/?action=stream

Thanks! I'll try this next time I'm at the build room.

Jdkmotorhead 29-01-2017 15:46

Quote:

Originally Posted by SamCarlberg (Post 1637563)
Add IP camera, set URL to

roborio-TEAM-frc.local:1185/?action=stream

Is it possible to send multiple camera streams from the roborio to GRIP simultaneously?

SamCarlberg 29-01-2017 16:04

Re: GRIP Read CameraServer Output
 
Yes. Each call to startAutomaticCapture() will host a stream on the next port. The first one is on 1185, the second is 1186, third is 1187, and so on

Edit: I misremembered. Ports start at 1181, not 1185

Jdkmotorhead 29-01-2017 19:29

Re: GRIP Read CameraServer Output
 
Quote:

Originally Posted by SamCarlberg (Post 1637843)
Yes. Each call to startAutomaticCapture() will host a stream on the next port. The first one is on 1185, the second is 1186, third is 1187, and so on

OK, Thanks!


All times are GMT -5. The time now is 22:46.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi