View Single Post
  #1   Spotlight this post!  
Unread 23-02-2016, 18:22
onenerdyguy onenerdyguy is offline
Registered User
FRC #5929
 
Join Date: Jan 2016
Location: Lake Park, MN
Posts: 39
onenerdyguy is an unknown quantity at this point
Urgent- Python USB Camera not working

I'm having difficulty getting the MS Lifecam to show up on our robot. We have an axis camera currently, that's working great, but I can't get a second USB cam setup. We want a rear-view camera to help with intake, but we're having issues.

Current code:

camera = wpilib.USBCamera()
camera.startCapture()
server = wpilib.CameraServer()
server.startAutomaticCapture(camera)

When I go onto the Roborio, I can see the lifecam plugged in and recognized on it's web interface. However, even by going to the default dashboard, I can't get any image on the DS. Am I missing something?
Reply With Quote