|
Re: Initial release of RobotPy for 2015
Quote:
Originally Posted by NotInControl
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.
|
It is a full implementation of NetworkTables, and it does implement that functionality, though some of it has been converted to use callbacks instead of needing to implement the class. Check out NetworkTable.addConnectionListener and NetworkTable.addTableListener
Also, there is a sample available that shows the use of the table listener.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/ pynetworktables2js (NetworkTables for Python & Javascript)
2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award
Resources: FIRSTWiki (relaunched!) | My Software Stuff
Last edited by virtuald : 12-01-2015 at 14:55.
|