Go to Post Consider that the 12V from your robot isn't any different from the 12V from your car's cigarette lighter. (Err... sorry... that's "power port" these days, thank goodness.) - dtengineering [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 28-01-2017, 14:58
Jdkmotorhead's Avatar
Jdkmotorhead Jdkmotorhead is offline
Registered User
FRC #5102 (The Underbots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Santa Maria CA
Posts: 20
Jdkmotorhead is an unknown quantity at this point
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?
__________________
"It's not a software issue."
Reply With Quote
  #2   Spotlight this post!  
Unread 28-01-2017, 18:32
SamCarlberg's Avatar
SamCarlberg SamCarlberg is offline
GRIP, WPILib. 2084 alum
FRC #2084
Team Role: Mentor
 
Join Date: Nov 2015
Rookie Year: 2009
Location: MA
Posts: 149
SamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to behold
Re: GRIP Read CameraServer Output

Add IP camera, set URL to

roborio-TEAM-frc.local:1185/?action=stream
__________________
WPILib
GRIP, RobotBuilder
Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2017, 00:34
Jdkmotorhead's Avatar
Jdkmotorhead Jdkmotorhead is offline
Registered User
FRC #5102 (The Underbots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Santa Maria CA
Posts: 20
Jdkmotorhead is an unknown quantity at this point
Re: GRIP Read CameraServer Output

Quote:
Originally Posted by SamCarlberg View Post

roborio-TEAM-frc.local:1185/?action=stream
Thanks! I'll try this next time I'm at the build room.
__________________
"It's not a software issue."
Reply With Quote
  #4   Spotlight this post!  
Unread 29-01-2017, 15:46
Jdkmotorhead's Avatar
Jdkmotorhead Jdkmotorhead is offline
Registered User
FRC #5102 (The Underbots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Santa Maria CA
Posts: 20
Jdkmotorhead is an unknown quantity at this point
Quote:
Originally Posted by SamCarlberg View Post
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?
__________________
"It's not a software issue."
Reply With Quote
  #5   Spotlight this post!  
Unread 29-01-2017, 16:04
SamCarlberg's Avatar
SamCarlberg SamCarlberg is offline
GRIP, WPILib. 2084 alum
FRC #2084
Team Role: Mentor
 
Join Date: Nov 2015
Rookie Year: 2009
Location: MA
Posts: 149
SamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to behold
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
__________________
WPILib
GRIP, RobotBuilder

Last edited by SamCarlberg : 29-01-2017 at 16:31.
Reply With Quote
  #6   Spotlight this post!  
Unread 29-01-2017, 19:29
Jdkmotorhead's Avatar
Jdkmotorhead Jdkmotorhead is offline
Registered User
FRC #5102 (The Underbots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Santa Maria CA
Posts: 20
Jdkmotorhead is an unknown quantity at this point
Re: GRIP Read CameraServer Output

Quote:
Originally Posted by SamCarlberg View Post
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!
__________________
"It's not a software issue."
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 14:51.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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