![]() |
NetworkTables rPi
Hi!
Is it possible to install NetworkTables(c++) for our pi? We want to run c++ openCV scripts and use NetworkTables to grab the values and bring them back to the Rio. Thanks! |
It is possible, I believe. We run it in Python with the pynetworktables library, so I'm sure there's one for C++.
|
Re: NetworkTables rPi
|
Re: NetworkTables rPi
That requires the use of toolchains which is not supported by Raspbian. Is there any other way?
|
Re: NetworkTables rPi
Quote:
|
Re: NetworkTables rPi
If anyone knows how, if they could explain the process of doing this or point me in the right direction, then I would be very grateful!
Thanks!! |
Re: NetworkTables rPi
Quote:
|
Re: NetworkTables rPi
As Thad said, you can compile directly on the Raspberry Pi. CMake is definitely the easier option.
Should be something like: Code:
cd ntcoreI remember Java giving some trouble with compiling. If it does run "cmake . -DWITHOUT_JAVA=true" instead. |
Re: NetworkTables rPi
Thanks for the help! We really appreciate it!
|
Re: NetworkTables rPi
There is a version of ntcore built for the Raspberry Pi 2/Debian for use with GRIP. You might want to look at:
https://github.com/WPIRoboticsProjec...eases/tag/v0.1 |
Re: NetworkTables rPi
I'm running into an error after installing and compiling and using the -lntcore prefix but I'm getting the error, "error while loading libraries, libntcore.so.1 cannot open shared object file: No such file or directory" What should I do?
|
Re: NetworkTables rPi
You need to append /usr/local/lib to your library path. CMake installs libntcore.so to /usr/local/lib which is not on the library path by default. This answer on StackOverflow answers the question better than I can.
Sorry for the late response and I hope this helps! |
Re: NetworkTables rPi
I have a quick question for you. Depending on your response, I might have an alternate solution that works well for us.
I believe I know the answer, but the question is, are you running your RPi on the robot? In other words, are you doing your vision processing on the RPi on the robot.? |
Re: NetworkTables rPi
Yes, yes we are. We seemed to have it working now but we are eager to hear your alternate solution :) Sorry for the late response!!
|
| All times are GMT -5. The time now is 09:50. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi