What Smart Dashboard are you using to view the camera?
Also we’re running into the same problem. From looking at a few posts from Chief Delphi and Reddit, I found a few teams saying they skipped the Smart Dashboard completely and switched to using a browser to view the camera stream.
To view the camera stream through a web browser:
- Turn on your robot and connect your driver station laptop to the wifi.
- Turn on the driver station software and wait until you have communication to the robot. Leave the robot disabled.
- Browse to the following Webpage (TE would be the first 2 digits of your team number, AM would be the last 2 digits of your team number. So if your team was 1122, it would be 10.11.22.2): http://10.TE.AM.2:1181/?action=stream
- Now you can enable and try driving with that camera.
The main pitfall is you’ll have to refresh the page every time someone downloads new code or reboots the robot. It appears to be more responsive, haven’t figured out how to get the FPS to print via this method yet. I’m crossing my fingers that this takes care of it.
Also Add this to your code after the start Automatic Capture line.
That tells the Camera Server to keep the camera stream open as much as possible.