View Single Post
  #2   Spotlight this post!  
Unread 16-02-2014, 17:17
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 181
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Re: RoboRealm NetworkTables

If RoboRealm is sending values to the Network Tables, and if those values are already displaying on the SmartDashboard, then the only code you need is:

Code:
double distance = SmartDashboard::GetNumber("Distance");
This is assuming RoboRealm's variable is named "Distance".
Reply With Quote