|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
pynetworktables 2014.4 released
Fixing yet another bug in the WPILib implementation of networktables. This bug leaked sockets each time a client connection failed (which is pretty much all the time if there's no robot present). If you're using pynetworktables to talk to the robot, you're probably going to want this update.
The latest downloads are available at FIRST Forge. Please report any bugs you find at our github tracker. |
|
#2
|
|||
|
|||
|
Re: pynetworktables 2014.4 released
I'm thinking about using pynetworktables on a separate coprocessor on our robot, but our CRIO and driver station are currently configured for Java. I was wondering whether pynetworktables is compatible with the default Java code for NetworkTables.
|
|
#3
|
||||
|
||||
|
Re: pynetworktables 2014.4 released
Yes. pynetworktables is just a wrapper over the WPILib C++ implementation of NetworkTables, which is compatible with the Java implementation.
|
|
#4
|
|||
|
|||
|
Re: pynetworktables 2014.4 released
Yay, thanks! Dumb question - on Windows 8 (64 bit) running 64bit Python 2.7 can I just use pynetworktables-2014.4.win32-py2.7.exe or do I have to build from source.
|
|
#5
|
||||
|
||||
|
Re: pynetworktables 2014.4 released
You would need to build from source, or install the 32-bit version of python.
|
|
#6
|
|||
|
|||
|
Re: pynetworktables 2014.4 released
any chance we could charm you into building the 64 bit version...? If not, no worries...
|
|
#7
|
||||
|
||||
|
Re: pynetworktables 2014.4 released
Quote:
![]() Any particular reason you prefer the 64-bit build of python to the 32-bit build? |
|
#8
|
|||
|
|||
|
Re: pynetworktables 2014.4 released
I have VS 2013... I'll give it a try myself when I get a chance. I have all 64-bit stuff on Windows 8 - didn't want to deal with trying to mix and match - but I take your point that I can homogeneously go to all 32-bit nonetheless. For that matter, I could _try_ to run new Python 3.x in 64-bit mode... I'd be delighted with whatever you can do when you can do it, ... I really appreciate all your support and encouragement on NetworkTables
|
|
#9
|
||||
|
||||
|
Re: pynetworktables 2014.4 released
I've uploaded a 64-bit build for python 2.7
|
|
#10
|
|||
|
|||
|
Re: pynetworktables 2014.4 released
Super! Thanks!
|
|
#11
|
|||
|
|||
|
Re: pynetworktables 2014.4 released
Quote:
Thanks for this by the way, Regards, Kevin |
|
#12
|
|||
|
|||
|
Re: pynetworktables 2014.4 released
Also is there a particular upgrade process when moving from a previous version of pynetworktables to this one?
Must you uninstall the previous version of pynetworktables before running the new .exe or can you run it will the previous version installed, and the appropriate files will be overwritten? Thanks, Kevin |
|
#13
|
||||
|
||||
|
Re: pynetworktables 2014.4 released
I haven't been maintaining a changelog, but I probably should be doing that. I need to change around the relationship to robotpy works too, as there isn't a definite 1:1 way to figure out what source goes with what.
That notwithstanding, the only fix in this binary release is https://github.com/robotpy/wpilib/co...e754c012394444, which closes client sockets when the robot connection fails. Upgrading doesn't require anything special, just run the exe. |
|
#14
|
||||
|
||||
|
Re: pynetworktables 2014.4 released
Also, if you want to know what version of pynetworktables you're running on a machine, you can look at pynetworktables.__version__ . It should work on all versions of pynetworktables released this year -- with the exception that 2014.1 (and maybe 2014.2) as 'PYNETWORKTABLES_VERSION' as the value, instead of the actual version. The latest releases have this fixed, however.
|
|
#15
|
|||
|
|||
|
Re: pynetworktables 2014.4 released
Hi,
We're using pynetworktables to communicate results of vision processing python code from a pandaboard to a crio that IS NOT using robotpy. We had problems that caused our robot to become unresponsive to autonomous or teleop controls when a match began (but didn't have any problem during practice matches, or during non-field system testing.) Disconnecting the pandaboard eliminated the problem, but also our vision processing. Since we don't have a field system to debug with, we're investigating alternative communication pathways to pynetworktables (like i2c, since we don't need to communicate much info). I wondered if virtuald had an idea whether the bugs fixed by this pynetworktables release might cause this kind of problem or not, as more weight to encouraging the team to update pynetworktables. (I think that involves re-building pynetworktables through sip on the pandaboard due to its architecture.) The team is hesitant to apply the fix with a view of not changing things unless we have to, mid-season. Thanks for any quick thoughts. Last edited by Patrick Shainin : 17-03-2014 at 20:50. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|