View Single Post
  #1   Spotlight this post!  
Unread 06-02-2017, 08:42
onenerdyguy onenerdyguy is offline
Registered User
FRC #5929
 
Join Date: Jan 2016
Location: Lake Park, MN
Posts: 56
onenerdyguy is on a distinguished road
Switch camera on SmartDashboard based upon value of Network Tables?

Is there a way to have the camera on the smart dashboard switch to another source based on a value we put into network tables?

We're basically wanting a backup cam to turn on when we invoke our 'reverse' function. I've got it putting a value into network tables, the reversing works, but I'm at a bit of a loss with the SD side.

Otherwise, we're debating putting the camera itself on a little servo and just having it flip, but I prefer software fixes to a potentially damagable hardware one.

We're in python, if it matters. The cameras are all streaming via mjpeg.
Reply With Quote