View Single Post
  #21   Spotlight this post!  
Unread 02-15-2011, 10:22 AM
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: Anyone successful with camera in RobotPy?

two methods:

one:
Code:
import vision
camera_obj = vision.PCVideoServer()
two:
Code:
import vision
camera_obj = vision.AxisCamera.GetInstance()
__________________
Code:
class team2412(GP):
    def __init__(self):
        GP.__init__(self)
        self.coopertition = True
        self.info = {"name": "Robototes", "school": "Sammamish High School, Bellevue, WA"}
        assert self.kind_people == True
Reply With Quote