![]() |
Initial release of RobotPy for 2015
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 https://github.com/robotpy/roborio-packages 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! |
Re: Initial release of RobotPy for 2015
Sweet! Python forever, dude. I believe I'll be getting to using one of our boards for python soon.
Thanks for continuing support and here's to a year of FRC python innovation! |
Re: Initial release of RobotPy for 2015
This is amazing! In the three days I've had to play with this, I've gotten automatic uploading from my IDE working, along with on-the-fly code reloading. Upload times on the cRIO were around a minute and a half with reboot included, now I can get new code running in less than 7 seconds.
My favorite part is real debugging on the RoboRio :D |
Re: Initial release of RobotPy for 2015
Quote:
How are you debugging? Via pdb, or remotely (we have an open bug for setting up remote debugging). |
Re: Initial release of RobotPy for 2015
Quote:
I'm using my IDE (IntellJ IDEA)'s deployment function to upload the files over SCP on save. Here's the script! It's pretty well-commented, so anyone should be able to figure it out & adapt it to their setup pretty quickly. https://gist.github.com/aerobit/05c3bc5c71f60d52736e Quote:
Works perfectly! One question; I'm trying to get the Encoder class working, but no matter if I pass it two DigitalChannels or two ints representing the channels, the constructor fails with a "TypeError: 'int' object is not iterable". Here's the full error log. https://gist.github.com/aerobit/37ad61b750b8e11b555e |
Re: Initial release of RobotPy for 2015
Quote:
Quote:
Quote:
|
Re: Initial release of RobotPy for 2015
I had a question on the pynetworktables port. Does it implement the "tables" package of WPILib, in particular I am looking for the IRemoteConnectionListener class and ITableListener class.
I didn't see them when browsing the github repo, maybe I overlooked it. Thanks for putting this together. Def a useful resource. |
Re: Initial release of RobotPy for 2015
Quote:
Also, there is a sample available that shows the use of the table listener. |
| All times are GMT -5. The time now is 19:53. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi