I found a few threads on communicating with RoboRealm but reading this: http://www.roborealm.com/help/Network_Tables.php
didn’t clear too much up. I can upload the variables from RoboRealm, but I can’t figure out how to access them from the CRio. I would greatly appreciate it if somebody could post some code for this(Windriver C++), or just point me in the right direction.
I literally just walked away from my code. You basically have to use the smart Dashboard getData function and the string name of the variable to access it in your code.
You may also find that using the TableViewer application that comes as part of the FRC install is useful in debugging these types of issues. If you have RR running correctly, the TableViewer application should show the variable also. Its a good way to ensure that things are setup correctly with code that is know to work, then you can jump into getting the value on the CRio.
Also, don’t forget the namespace when naming it in RoboRealm. Ie. your variable should look like
/SmartDashboard/Distance
and this should be visible in both the TableViewer and SmartDashBoard.