View Single Post
  #1   Spotlight this post!  
Unread 13-01-2011, 00:05
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
will this work for adding camera code to python?

Code:
class camera {
%TypeHeaderCode
#include <WPILib/Vision/AxisCamera.h>
%End

public: 
AxisCamera cam = AxisCamera.GetInstance();
}
as camera.sip? All i need for my team's robot this year is the Robot's POV, so this should do it, right?

Last edited by Robototes2412 : 13-01-2011 at 00:06. Reason: wrong line
Reply With Quote