RobotPy WPILib 2016.2.0 now has full CANTalon support including 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. 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.
Additionally, PyFRC 2016.2.3 has been released, with a useful new feature that allows you to select autonomous mode via NetworkTables if you’re using the AutonomousModeSelector object to select autonomous modes (used in the Magicbot framework too). Check out this screenshot:
RobotPy releases can be downloaded from our github releases page, and pyfrc can be upgraded using Pip.
This is a bugfix release of RobotPy, and all RobotPy users are recommended to upgrade, particularly owners of NavX devices or those who want to use the PIDController object.
If you want to see the NavX stuff in action, one of the NavX samples that I ported over shows a robot rotating to a specific angle based on a button press, and it works in simulation (not tested on a real robot). Very cool demo – you will need to make sure you have the latest version of pyfrc installed as well.
If you’re just trying to view the images from a camera, this can be a great solution. The stream is embeddable in a webpage, so it integrates well with a pynetworktables2js dashboard. Includes an init script that automatically starts mjpg-streamer when the robot starts, and you can edit the settings pretty easily too.
We’re happy to announce the initial release of RobotPy for the 2016 season. This release contains most of the new changes for WPILib in 2016, with the notable exception of some new CANTalon functionality (but we hope to get that updated within the next week or so). Here’s some things that we have available for 2016:
The RobotPy project has added precompiled OpenCV 3.1.0 binaries to our 2016 opkg feed, which makes it super easy to use python + opencv on the RoboRIO. I also compiled with Java bindings, so it should be usable from C++ or Java programs if you desire also.