View Single Post
  #2   Spotlight this post!  
Unread 23-11-2016, 17:29
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 374
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: SFX Dashboard Tabs

Don't think it's possible. You should make your own dashboard; it's quite easy.

First, get the NetworkTables library. You can build the official C++ and Java libraries using the project source code (follow readme.md instructions, then add to your project in C++ or Java). There is also Python, C#, and node.js (disclaimer: my own project, used for my webkit smartdashboard)

Then, you can connect to the robot as follows (Java)
Code:
// sets the address to roborio-862-frc.local
// You can also use setIPAddress(String address)
NetworkTable.setTeam(862);
NetworkTable.setClientMode();
NetworkTable.init();

// the table for the WPILib SmartDashboard class
// Preferences and LiveWindow are Preferences and LiveWindow
NetworkTable smartDashboard = NetworkTable.getTable("SmartDashboard");
// the default value parameter is returned from get*() if the client is not connected
double defaultValue = 0;
System.out.println(smartDashboard.getNumber("myNumberVariable", defaultValue));
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote