View Single Post
  #4   Spotlight this post!  
Unread 10-01-2016, 09:23
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,588
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Can you view the webcam from the TCP connection?

Quote:
Originally Posted by team-4480 View Post
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 View Post
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