|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#5
|
|||
|
|||
|
Re: Can't figure out Roborealm. Need distance variable
Ah, I get it now. So would my code look like this to get the distance value out of RoboRealm and into the cRIO?
NetworkTable server = NetworkTable.getTable("SmartDashboard"); try { System.out.println(server.getNumber("Distance", 0.0)); } catch (TableKeyNotDefinedException ex) { } |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|