|
Re: URL for MjpegServer from CameraServer/USB Camera
Quote:
Originally Posted by dmelcer9
Thanks! Didn't get a chance to test until today (building was closed for bad weather) but it worked really nicely. One (hopefully) last question: is there any way to increase the resolution of the mjpg stream? Currently GRIP shows the stream as a tiny thumbnail which is workable but a little annoying.
|
When you call startAutomaticCapture, it will return a UsbCamera object. Call setResolution on that object, and that will set the resolution to whatever you put in.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
|