View Single Post
  #1   Spotlight this post!  
Unread 21-01-2017, 17:11
dmelcer9 dmelcer9 is offline
Registered User
AKA: Daniel
FRC #0810 (Mechanical Bulls)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2012
Location: Smithtown
Posts: 51
dmelcer9 is an unknown quantity at this point
URL for MjpegServer from CameraServer/USB Camera

I'm looking to use a USB camera connected to the robot for GRIP development. I know that GRIP doesn't accept the dashboard stream, but the MJPG stream supposedly works. However, I can't figure out what URL to point GRIP to if I want to actually use the stream.

Currently, our code looks something like this (forgot to commit to github so don't have the exact code):

Code:
//Robot.java -> RobotInit

UsbCamera c = CameraServer.getInstance().startAutomaticCapture();
MjpegServer s = CameraServer.getInstance().addServer("gripStream");
s.setSource(c);
What URL would I point the "Add IP Camera" source to in GRIP to get the camera to work properly?
Reply With Quote