Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Python (http://www.chiefdelphi.com/forums/forumdisplay.php?f=187)
-   -   pynetworktables NT3 rewrite now available for testing (http://www.chiefdelphi.com/forums/showthread.php?t=152087)

virtuald 28-10-2016 00:40

pynetworktables NT3 rewrite now available for testing
 
pynetworktables has been rewritten in the style of ntcore, and now fully supports all of the NT3 features that are available in ntcore. For the most part.... it should all work. There are a few breaking changes I can think of:
  • Connection listeners are different. Sorry.
  • The special array types are gone (yay) and so is the networktables2 package
  • It's easier to make client connections (though the old way still works)
  • ... and that's about it

I haven't had the opportunity to try this on a real robot yet, BUT the unit tests have 75% coverage and it works on my machine, so it's probably good to go if you're using this on a driver station or coprocessor. Try it out, let me know how it works!

Installation is super easy if you already have python and pip installed:

Code:

pip install --pre pynetworktables
Also, if you're using pynetworktables2js, there's an alpha release of that available too, which accommodates some of the NT3 changes. However, more work needs to be done to fully support all of the NT3 features in pynetworktables2js.

andrewda 28-10-2016 01:46

Re: pynetworktables NT3 rewrite now available for testing
 
Awesome! I'll be sure to test out the newest version when I get a chance.

RyanN 28-10-2016 08:31

Re: pynetworktables NT3 rewrite now available for testing
 
Working on updating my application right now. Thanks for the hard work! We should pay you more! :)

TimTheGreat 28-10-2016 10:49

Re: pynetworktables NT3 rewrite now available for testing
 
Quote:

Originally Posted by RyanN (Post 1613965)
We should pay you

FTFY

RyanN 28-10-2016 12:22

Re: pynetworktables NT3 rewrite now available for testing
 
It was an easy enough update my code, and the feature I wanted works. Great work!


All times are GMT -5. The time now is 21:35.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi