|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Camera Streaming
Is there a way to remove the lag on the USB camera to the driver station (a setting on the camera, etc...)? If not, is there any way to have a snapshot button on the controller?
|
|
#2
|
||||
|
||||
|
Re: Camera Streaming
Quote:
What programming language? |
|
#3
|
|||
|
|||
|
Re: Camera Streaming
Microsoft Lifecam HD-3000 and C++
Last edited by 414cnewq : 07-03-2016 at 12:32. Reason: More specific about the camera |
|
#4
|
||||
|
||||
|
Re: Camera Streaming
Will also add we have both a C++ and Java version of our robot code (don't ask) and we had lag on both. (Lag in the video stream, specifically)
|
|
#5
|
||||
|
||||
|
Camera Solutions
You have two main options, one being mjpg streamer (if using an off board device for vision) to see the camera through the browser, link here: https://github.com/jacksonliam/mjpg-streamer
You can also look at this tutorial on how to use the camera from the Roborio, link here: https://wpilib.screenstepslive.com/s...ifecam-hd-3000 |
|
#6
|
||||
|
||||
|
Re: Camera Solutions
Quote:
|
|
#7
|
|||||
|
|||||
|
Re: Camera Streaming
Pay attention to your CPU usage on both the rRIO and laptop. Video streaming can be very taxing on both. Also try different resolutions and frame rates. Finally, there is a C++ specific update for CameraServer, make sure you installed it.
|
|
#8
|
|||
|
|||
|
Re: Camera Streaming
We have a raspberry pi with MJPG streamer running with ~30ms of lag, which is pretty good for a wireless webcam stream I think.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|