3 Cameras For Robot? Help!

I’d like to use three cameras for this season, though I have a few questions.

  1. Can you even run three cameras?
  2. If so, can you run 3 usb cameras? There are only two ports, so if I get a splitter, will it still work?
  3. How do you write code in c++ so that when we are going forward, two cameras show, and when backwards, one cameras show in shuffleboard?

Team 1307 Programming Team

Maybe, depends. biggest concern I’d have is the 4Mbps bandwidth limit. Streaming all 3 at the same time could get ugly.

Our Raspberry Pi has 4. Are you talking about the roboRIO only?

The best thing to do if you are planning to run three cameras is to use a raspberry Pi so that the roborio dosen’t have to filter everything which will help with the video quality. Also if you want to write that code make it where if throttle is applied forward then camera 1&2(front cameras) will turn on and when throttle is applied backwards, use camera 3(back camera) then whenever you are stationary and not applying any throttle choose what cameras you want to see if you want to see any of it at all.
Hope that helps!