Hello everyone, I am a programmer from team 4956 and I have a problem. When I install and program a camera in use my drivers find that it is basically unusable from latency and the videos stream lags much behind real time. I was wondering if anyone knew how to cut the delay down to make the camera actually useful or maybe using a different camera would help.
1 Like
It’s been a couple of years since I’ve messed with video streams on the robot myself, but I remember that when we were doing it a couple of years ago, we had to turn down the resolution a lot in order to get good latency. It has to do with the network more so than the hardware.
- Use a good camera. Some low-end cameras have a noticeable delay, which cannot be improved
- Use lower resolutions. Higher resolutions typically push fewer frames per second, increasing latency.
Driving doesn’t usually need high detail. More compression on the stream doesn’t usually impact drivability much, but can have a significant impact on bandwidth use. Considering the hard cap of 4Mbps this year, that is something you should take into consideration
1 Like
In addition, use a fixed exposure as the fps may change if the camera is changing exposure.
1 Like