Python 3 for the FIRST Robotics Competition (FRC)

RobotPy 2017.0.5 critical bugfix release

This is a critical bugfix release for all RobotPy teams. hal.initialize() was being called twice, which can lead to unpredictable and unspecified behaviors.

This also includes some minor updates:

  • Upgrade to HAL 2017.2.1
  • Will log versions of third party libraries at startup if they support a new robotpy extension point
  • Fix SendableChooser to match WPILib Java behavior

All RobotPy teams are strongly urged to upgrade.

RobotPy 2017.0.1 critical bugfix release now available

robotpy-ctre provides support for the Talon SRX. The install process is a bit rough and simulation doesn’t work in pyfrc yet (someone just needs to take the time to do it), but I wanted to get this out now so people could try it. We’ll fix the installer and the simulator soon.

https://github.com/robotpy/robotpy-ctre

RobotPy 2017.0.1 critical bugfix release now available

This fixes two major bugs in the original RobotPy release:

  • #246 The installer did not work properly on systems without an ssh configuration file, or on Windows
  • #243 Robot code would fail at system start due to a bug in the python 3.6 random module (thanks to @auscompgeek for finding the fix!)

All RobotPy users should upgrade to this latest version of RobotPy.

2017 RobotPy now available!

It’s a little late, but we’re happy to announce the initial release of RobotPy for the 2017 season. This release contains most new changes for WPILib in 2017. Here’s what this package provides you:

This release will only work correctly on a RoboRIO that has been reimaged for the 2017 season.

There’s a couple of important things to note here:

  • Because 3rd party drivers are now being supported separately from WPILib, CANTalon has been removed from this release. We will be releasing support in a separate library hopefully within a few days.
  • pynetworktables has been rewritten based on the ntcore library, and it should support all of the new cool things that ntcore supports
  • The HAL changes in WPILib this year mean that:
    • CPU usage should be significantly less than it was last year (observed 4-10% idle usage, compared to 20% last year)
    • Tests should run a lot faster (I’ve seen 50% improvements on basic tests
  • CameraServer has been removed for now. We will have a python-compatible version of the new cscore library available in the near future, which should result in a significantly upgraded experience for image processing
  • We’ve improved our test coverage significantly, so there’s less chance of things breaking

Additionally, the documentation site has been restructured significantly, so that all RobotPy projects essentially share the same set of documentation – no more need to remember five different sites!

Thanks to everyone who contributed to this release, but particularly @james-ward @auscompgeek @Twinters007 and @ArthurAllshire

Installation instructions can be found on our documentation site, and are also included as a README file with this zipfile. We expect there to be some bugs at first as teams start playing with their new toys, so please report them on our issue tracker as you find them!