View Single Post
  #3   Spotlight this post!  
Unread 05-07-2015, 23:30
virtuald's Avatar
virtuald virtuald is offline
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,050
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: How do you use the WPILib?

What classes do you use the most?

SampleRobot, Solenoid, AnalogInput, Jaguar/Talon et al, and Timer.

Do you edit any of the provided classes?

Well, we rewrote most of them in python...

The python version of WPILib tends to very strictly follow the spirit of the C++/Java API. I believe very strongly that if our team needs to modify WPILib, then we make a patch available on the WPILib bug tracker so that others can benefit from it, in all languages. Other modifications will tend to either extend existing objects, or create new objects based on the existing objects instead.

Do you extend any of the provided classes?

I tend to prefer creating new objects that hold WPILib objects as member variables instead of extending them.

What features do you wish WPILib had?
  • I think command-based programming is too verbose.
  • I would like better testing/simulation support in WPILib
__________________
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