Python 3 for the FIRST Robotics Competition (FRC)

pynetworktables2js 2015.1.0 released

Team 1418 and the RobotPy project are happy to announce the release of pynetworktables2js, a cross platform library that forwards NetworkTables key/values to a webpage, so that you can easily write a Driver Station Dashboard for your robot in HTML5 + JavaScript.

Because the communications layer uses NetworkTables, you can connect your web interface to all FRC languages (C++, Java, LabVIEW, Python).

The original working prototype for pynetworktables2js was originally created by 1418 student Leon Tan, and I’ve polished it and turned it into something that other teams can use. Team 1418 won an Innovation In Control award this weekend at the Greater DC regional, in part because of our shiny+functional HTML dashboard (look for a source code release soon!).

Lots of students and mentors know how to create simple web pages to display content, and there’s lots of resources out there for creating dynamic content for webpages that use javascript. There is a lot of visually appealing content that others have created using web technologies – why not leverage those resources to make something cool to control your robot?

PyFRC 2015.3.4 released

Contains some physics related and CANTalon bugfixes. Speaking of which, pyfrc has physics support again, which means you can run your robot on a simulated field again! It’s pretty useful for testing out autonomous modes and some other limited behaviors. Check out the pyfrc documentation for more details!

As before, there are samples distributed with pyfrc that show you how you can take advantage of this really cool functionality that puts python a step above the rest for FRC programming!

RobotPy 2015.0.14 released

This is a bugfix release of RobotPy, but teams are strongly encouraged to upgrade.

  • When HAL functions that use a status return a warning, warnings.warn is called instead of throwing an exception. This problem has been most observed when using the PDP, but in theory it could happen in other locations (see
  • Updates to the simulated HAL

See all changes on github.

Critical RobotPy bug; RobotPy 2015.0.12 released

This is a critical bugfix release of RobotPy, and all RobotPy users are recommended to upgrade. We sincerely apologize for releasing this after build season has ended.

  • There was a race condition that could cause the DriverStation thread to crash at startup, and the robot would not respond to driver input, with no notification to the user that this had occurred (other than netconsole output)
  • SampleRobot programs now only report readiness to the Driver Station after robotInit has finished

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

Hopefully the last critical pynetworktables bugfix release; RobotPy 2015.0.8 released

I spent a week looking really closely at pynetworktables, and as a result pynetworktables 2015.1.0 has been released, which fixes a number of critical bugs which may cause your robot to freeze/deadlock or have poor performance on poorly performing networks. See for more information.

RobotPy has been updated to 2015.0.8, and is a recommended update for all RobotPy users.

  • Update pynetworktables dependency
  • Minor simulator related clarified error messages

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