Thread: RobotPy 2011.2
View Single Post
  #6   Spotlight this post!  
Unread 22-01-2011, 01:14
Peter Johnson Peter Johnson is offline
WPILib Developer
FRC #0294 (Beach Cities Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Redondo Beach, CA
Posts: 247
Peter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud of
Re: RobotPy 2011.2

Quote:
Originally Posted by BotnEyedJoe View Post
Speaking only for ourselves regarding this: The vision lib would certainly be at the top of our 'love to have that' list (and you've mentioned that it is coming). The SmartDashboard looks interesting also - we did not find support for it in 11.2 - hope that's easy to add.

On a related note, perhaps you have time to share your viewpoint on where would someone interested in helping this effort begin (say, if they had some learning curve to overcome re: SIP and wrapping a new library)?
SmartDashboard should be in 11.2... at least I'm generating wrapper code for it. I've not tested it yet, but it should work, something like:
Code:
ds = wpilib.DriverStation.GetInstance()
dash = wpilib.SmartDashboard(ds.GetUserStatusDataSem())
ds.SetHighPriorityDashboardPackerToUse(dash)
I'm definitely working hard on the image processing stuff. Is it just the vision/vision2009 libraries that are useful, or do people really use a lot of stuff in nivision directly as well? Nivision is very large and raw C (rather than C++) so it's taking a lot of time to wrap it.

SIP is a good place to start, although SWIG can be used as well (although if your classes extend WPILib classes you'll need to use SIP). The next step is to check out the codebase (from git) and look at how the various packages are wrapped (WPILib namely).
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC

2010 FRC World Champions (294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)
Reply With Quote