first95 / FRC2020

Code base for 2020 robot, initialized with develop branch of 2019 repo.
MIT License
1 stars 1 forks source link

Create a button to switch smartdashboard view between one camera and the other #44

Closed jwalthour closed 4 years ago

jwalthour commented 4 years ago

When I try to connect both cameras to CameraServers, we get an error about exceeding USB bandwidth. The simplest workaround may be to just hook up a button to switch which camera is connected to one CameraServer.

jwalthour commented 4 years ago

Draft is ready to test in bb21e63f09214c303fe60ab68fb25873029f31cc, branch second_camera. Should be the 4 positions on the PoV hat on the drivers controller.

jwalthour commented 4 years ago

Up is upper port human view, down is the other camera human view, right turns on the green LED light, and left will turn on the white LED light.

b473624c953c2bc63b5f4973ac23a99adcbc8eea