Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Writing a NetworkTables Client in C++ (http://www.chiefdelphi.com/forums/showthread.php?t=111793)

William Kunkel 22-01-2013 11:11

Writing a NetworkTables Client in C++
 
Is there any good documentation for writing NetworkTables clients in C++? As far as I can tell, the ScreenStepsLive documentation only tells you how to access them from the server (robot) in C++, and has documentation for a client in Java. I've tried reading through the class reference, but I don't really understand the architecture of the system.

virtuald 23-01-2013 16:59

Re: Writing a NetworkTables Client in C++
 
Check out the mid-season update.

virtuald 23-01-2013 17:20

Re: Writing a NetworkTables Client in C++
 
Never mind. It just has a java library.

https://github.com/robotpy/pynetworktables is a python wrapper of the C++ libraries for a PC. Currently only the server (robot) works, but I'm hoping to get the client part working by later this week.

virtuald 23-01-2013 17:51

Re: Writing a NetworkTables Client in C++
 
Ok, found the client bug in WPILib. The python wrappers now will do server and client mode, and there are samples that let you do this.

Presumably you could extract the magic glue from my python wrappers to compile yourself a C++ version of NetworkTables.

For the bug, see http://firstforge.wpi.edu/sf/go/artf...3589813396 74


All times are GMT -5. The time now is 13:02.

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