Remote Layout Downloading
For situations where you want to load a dashboard layout from your robot, Elastic supports downloading a layout remotely and merging it with your current layout.
On-Robot Configuration
In your robot code, add the following line in robotInit()
or another initialization function
WebServer.start(5800, Filesystem.getDeployDirectory().getPath());
Next, you will have to deploy the Elastic configuration file to your robot:
Export the layout from Elastic
Move the exported json file into the deploy folder of your robot project
Deploy your robot code
Downloading Your Layout
To download the layout to your dashboard, enter the File
menu, and click Load Layout From Robot

Alternatively, you can use the shortcut Ctrl + D
A dialog will appear with 2 dropdown menus, one to select which layout to download, and another to select how you want to download the data.

Download Modes
Shuffleboard API Migration Guide
Code-Driven Layouts
Migrating Shuffleboard API layouts to remote downloading layouts is simple:
Clear all tabs and widgets of your dashboard, it is recommended you save your layout to a safe location before doing this step
Connect to your robot to populate Elastic with the code-driven layout
Export your dashboard layout
Set up the remote layout downloading as described here
After migrating your layout, it is advised to remove any Shuffleboard API-related code from your robot project.
Last updated