This fixes two 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.
Downloads
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:
- Python 3.6.0 interpreter for RoboRIO
- WPILib/HAL packages for RoboRIO
- pynetworktables and robotpy-wpilib-utilities
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!
Downloads
This is a minor bugfix release, and users are not recommended to upgrade unless they have an extra robot to test on. There are two issues addressed:
- Fixes a bug in match_arglist where positional arguments were accepted after keyword arguments. This fix may break existing code that inadvertently relies on this behavior
- Fixes an issue in TimerTask (used only by PIDController) where it doesn't raise an error if the specified period is <= 0, which can eat a lot of CPU
Downloads
This fixes a hanging issue when running tests with a PIDController object. If you're using the PIDController object, you should probably upgrade.
Downloads
Includes PIDController fix, CANTalon simulation fix, and slight optimizations (maybe 5% improvement) to the simulated HAL performance. Some hal-data control keys have changed.
Downloads
Minor bugfix release, contains:
- wpilib.Timer.delay now checks for negative times and throws an exception instead of hanging forever
- WPILib update: CANTalon updates to stopMotor
- WPILib update: Use stopMotor in robotDrive
Downloads
Warning: There are some backwards-incompatible changes for CANTalon in this release!
Includes enhanced sensor support in simulation, the new motion profiling stuff that was introduced for 2016, and a bunch of new setter functions and other random status things. I even added unit tests for it too!
The simulation hal_data structures have been updated as well, which may break your tests. However, the new API should be easier to use and more consistent.
Downloads
Fixes a problem with Ultrasonic sensors, and adds setInverted to CANTalon.
Downloads
Fixes serious problems with the Ultrasonic implementation's automatic mode. If you use this, you should update.
Downloads
This adds logging to the TimerTask object used by the PIDController, and addresses an issue where time may sometimes become negative.