Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Using NetworkTables in C++ (need a quick and concise tutorial) (http://www.chiefdelphi.com/forums/showthread.php?t=126202)

mhaeberli 13-02-2014 12:22

Re: Using NetworkTables in C++ (need a quick and concise tutorial)
 
Dustin,
I'd welcome a pointer to your changes - on first examination I don't see your C++ NetworkTables code in the three links in your signature block.
Best,
Martin

virtuald 13-02-2014 12:26

Re: Using NetworkTables in C++ (need a quick and concise tutorial)
 
Quote:

Originally Posted by mhaeberli (Post 1342468)
Dustin,
I'd welcome a pointer to your changes - on first examination I don't see your C++ NetworkTables code in the three links in your signature block.
Best,
Martin

See above. :)

mhaeberli 13-02-2014 13:38

Re: Using NetworkTables in C++ (need a quick and concise tutorial)
 
Dustin,
OK (light bulb goes on!) so - the pynetworktables implementation you wrote has a complete NetworkTables implementation in C++. Again, because I'm dense, it would have been a bit clearer had you said: "see, for example, github.com/robotpy/wpilib/networktables ; github.com/robotpy/wpilib/networktables2"
The branding as "pynetworktables" was tied in my brain to Python...
Best,
Martin

virtuald 13-02-2014 14:24

Re: Using NetworkTables in C++ (need a quick and concise tutorial)
 
Quote:

Originally Posted by mhaeberli (Post 1342523)
Dustin,
OK (light bulb goes on!) so - the pynetworktables implementation you wrote has a complete NetworkTables implementation in C++. Again, because I'm dense, it would have been a bit clearer had you said: "see, for example, github.com/robotpy/wpilib/networktables ; github.com/robotpy/wpilib/networktables2"
The branding as "pynetworktables" was tied in my brain to Python...
Best,
Martin

Correct. The python stuff is just a wrapper around the C++ implementation

More importantly to note, the C++ implementation is the same implementation that the robot is running (e.g., that's why the repository is called WPILib), with some minimal changes to make it work on Windows/Linux. So ideally, the code should work as well as the code that's running on the robot.


All times are GMT -5. The time now is 14:26.

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