Closed virtuald closed 6 years ago
After looking over cscore and robotpy-cscore, it would actually be awesome if you guys could just leave mjpg-streamer in this repo as an option. We used it last year and will again this year as basically the most simple solution for streaming an MJPG stream back to the driver station from a USB camera. We're a Java team and therefore don't have (or want to have) the whole robotpy implementation running on our roborio, and as of right now it doesn't look like there's a straightforward and quick installation of the base cscore package. If you really want to get it out of this repo then our team can always fork a previous revision and keep that around, but there might be some other teams out there that come looking for this in the future - I know we weren't the only team using it last year.
Why not use java cscore on the RoboRIO?
I mean, there's nothing you could do simpler than this:
public class Robot extends IterativeRobot {
@Override
public void robotInit() {
CameraServer.getInstance().startAutomaticCapture();
}
}
Wow, sorry about that... completely didn't realize CameraServer was part of wpilib already and was assuming we'd have to build ourselves. Thanks for that, should definitely be easy enough.
Removed in 02c3025
Need to adjust the installer so it can install it.