View Single Post
  #2   Spotlight this post!  
Unread 04-02-2017, 16:30
virtuald's Avatar
virtuald virtuald is online now
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,114
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: Trouble With USB Cameras

Quote:
Originally Posted by loveshark View Post
Our team has updated to the 2017 version of robotpy from the 2016 version, and we are having trouble with the USBCamera and CameraServer classes; when we run our code we get an error saying that the classes don't exist in the library.

Has anyone else encountered this? Is there a way to stream USB camera feed with robotpy 2017? Is it included in a separate package?
That is correct, they have been removed and will be replaced. They will be part of the cscore package, but it's not done yet -- it's been more effort than I had anticipated. Maybe by the end of this weekend, stay tuned. Watch this thread for an announcement.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Reply With Quote