|
RoboRealm NetworkTables
Hey All, quick question (maybe) here, we are having a significant amount of trouble using RoboRealm to send variables back and forth over a network to the smart dashboard. We have read many documents and tutorials and everything just seems to sparse in information to help. Can you only use the network tables if you are programming in Java? and secondly, how can I pull variables from the network tables. the code that i have written so far resembles:
distance = table->NetworkTable::GetNumber("/SmartDashboard/Distance");
SmartDashboard:: PutNumber("RoboRealm Value", distance);
we believe everything is declared correctly and we are using the
"#include "NetWorkTables/NetworkTable.h"
the problem that I believe, is that the "distance = table->..." line breaks the loop. If anyone has an idea on how to fix this, it would be greatly appreciated.
|