View Single Post
  #1   Spotlight this post!  
Unread 01-11-2010, 01:46
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
RobotPy 2010.beta2

I've just released a new version of RobotPy (Python for FRC), 2010.beta2. The RobotPy site has moved to FIRST Forge at the encouragement of Brad Miller at WPI; please update your bookmarks. The new location is:

http://firstforge.wpi.edu/sf/projects/robotpy

Major changes from 2010.beta1 release:
  • Separate packages for the Python core (interpreter and libraries) and the WPILib module. The Python core itself no longer depends on WPILib. This decoupling will allow for separate releases of WPILib for different years (e.g. for beta testing or maintaining old robot code).
  • Dynamic loading support for binary modules; many of the standard Python modules are now dynamically loaded (as is WPILib). This will make it easier to distribute additional modules as separate packages in the future as well (e.g. NumPy).
  • RobotBase, SimpleRobot, and IterativeRobot classes are now provided.
  • You can now derive Python classes from PIDSource, PIDOutput, SpeedController, and Joystick and pass the derived classes to WPILib (e.g. PIDController). This enables custom PID control in Python.

The wiki pages at FIRST Forge contain the most recent documentation. In the coming weeks I plan to work on improving the documentation further; currently it mostly describes the differences between the C++ WPILib and the Python version.

I expect to complete translation of 294's 2010 robot program to Python on Wednesday. When I post it for download I will also make an announcement here.
__________________
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