Quote:
Originally Posted by team-4480
Hi,
I have been struggling to get the USB Camera to work with the RoboRIO for a long time. Now that I see that the new game has many obstacles that make it hard for the driver to see, I desperately want the camera to work. I was reading the Game Manual for this year and I saw under 2.4 Section this:
So that got me wondering if I could do roboRIO-4480.local:1180 and see if the camera itself isn't working?
|
no, the protocol isn't http. Also note the men's name changed this year.
Quote:
Originally Posted by team-4480
Yep, I should have added that I am currently using this code(It is in Python but it isn't any different then Java/C++)
Code:
try:
self.camera = wpilib.USBCamera()
self.camera.startCapture()
self.camServ = wpilib.CameraServer()
self.camServ.startAutomaticCapture(self.camera)
except:
self.camera = None
I put this in the startup __init__ code.
|
It isn't going to work if you don't implement the changes from your other thread
http://www.chiefdelphi.com/forums/sh...mp;postcount=2