|
Re: Send data from raspberry pi to roboRIO using c++
Hello, I have successfully built and installed the NetworkTables on the raspberry pi. However, I am having trouble getting it integrated with my vision program.
I am a bit of a newbie when it comes to linux, compilers, and stuff like that. I don't really know what to include in program. Right now I have
#include <ntcore/ntcore_cpp.h>
but it says it cannot find it. Also, when I am compiling the code I use this command
g++ -std=c++0x -lntcore vision2.cpp -o vision2 'pkg-config --cflags --libs opencv'
It does not work because it cannot file the include.
Also, I cant seem to find any documentation on how to use NetworkTables to send information from the server side. I have looked through the source code but that doesn't help me that much.
Any help is appreciated!
-Drew
|