Go to Post The point of FRC (in my opinions) is to teach the kids that might have no skills, new skills. - dirtbikerxz [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 04-01-2016, 21:52
timtim17's Avatar
timtim17 timtim17 is offline
Programmer
AKA: Austin
FRC #1294 (Top Gun Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Sammamish, WA
Posts: 13
timtim17 has a spectacular aura abouttimtim17 has a spectacular aura abouttimtim17 has a spectacular aura about
Re: USB Camera issues

I don't have experience with RobotPy, but I think you need to specify the name of the camera when creating the USBCamera instance.
Code:
self.camera = wpilib.USBCamera("cam1")
Also, I don't think you need to call self.camera.startCapture(), because self.camServ.startAutomaticCapture(self.camera) calls it for you.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:37.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi