Python 3 for the FIRST Robotics Competition (FRC)

Critical pyfrc bugfix release 2015.1.0

If you used pyfrc 2015.0.x and uploaded code to your robot there was a critical bug that may prevent your robot from running robot programs (affects python and Java). To fix this, please upgrade pyfrc to the latest version, and run the following command:

Windows:    py -m pyfrc.robotpy.fixbug

Linux/OSX:  python3 -m pyfrc.robotpy.fixbug

Additionally, if you upgrade pyfrc, any future code deploys will check for this bug and repair it if found.

If you want to fix this manually, you can ssh in as admin, and execute rm /var/local/natinst/log/FRC_UserProgram.log.

We apologize for any inconvenience. More information can be found at

pyfrc 2015.0.1 released

The following bugs were fixed:

  • Code deployment failed when running on Windows (issue #11)
  • When running tests during deployment, the test directory would be deployed instead of the code directory

The following features were added:

  • --nc option has been added to show netconsole output after deployment, so you don’t have to start a separate netconsole listener

All users of pyfrc are encouraged to upgrade.

RobotPy 2015.0.2 released

This is a bugfix release of RobotPy.

  • Fixes a major bug that prevents you from using Encoders and other objects on the RoboRIO (see issue 114 for more info).
  • Fixes bugs in the CameraServer

See all changes on github. You can download the latest release from github, or use the installer to upgrade your current installation of RobotPy.

pyfrc 2015.0.0 and RobotPy 2015.0.1 released

We’re happy to announce the initial release of pyfrc for 2015! You should find the following features:

  • Unit testing
  • Simulation
  • Easy robot code upload to RoboRIO (python3 upload)

Check out the documentation at

Additionally, RobotPy 2015.0.1 has been released!

  • There are some minor improvements to the installer
  • Bugfixes in CANJaguar
  • pynivision is now included in the installer, so you can use the NI Vision stuff from python

See all changes on github. Updated RobotPy releases can be found at github on our release page.

2015 RobotPy now available!

Now that kickoff is over and the game has been released, we’re happy to announce the initial release of RobotPy for 2015. There’s a lot of moving pieces in various stages of completion, but here’s where we are now:

  • WPILib is available and should be fully functional. Check out our getting started guide to install WPILib and the Python interpreter on your robot.
  • pynetworktables is available for robots and clients to connect to the SmartDashboard or from coprocessors, and should be fully functional.
  • pyfrc is mostly there, with the simulator working and some of the unit test functionality working. I’m hoping to finish this up by the end of the weekend.
  • We have initial support for the FRCSim Simulator, but the documentation is light and not all devices have been implemented yet. The python version of the GearsBot example mostly works though. :)
  • The Eclipse plugins aren’t anywhere near functional yet (sorry!). Hopefully by next week.
  • We’ve got numpy built for the RoboRIO, and it’s easily installable via opkg. Check out for more information.

Our initial RobotPy release for 2015 is now available for download on our release page.

The team has put months of effort into this release, and we’re really excited about 2015! Special thanks to Christian Balcom (@computer-whisperer, FRC Team 4819), who has done a significant amount of work on the pure python port of WPILib, and various useful tooling.

Go ahead and start using what we have, and report bugs as you find them! We expect that there will be a lot of bugfixes over the next few weeks, but that will probably be true for the other languages too. Please report any problems on our issue tracker as you find them!