Elastic
Elastic Documentation:
This year(2026), we started using Elastic as our default dashboard when driving and testing the robot. This documentation will have basic information on Elastic features, as well as examples of how the team is using this. This documentation will be a summary of the formal documentation found here: https://frc-elastic.gitbook.io/docs
Elastic has a lot of widget features that can be used to display information. I'll briefly go through some of them, then go further into how we can use some of these features, as well as implementating them into the code.
Features of Elastic: - Text displays. Text displays can be used to print out any form of text. - Number sliders. These can help you change things actively on the robot. - Voltage view, which shows robot battery voltage, and how it drops when running. - Radial gauge, to show speeds of robot functions. - Graphs, to show specific jumps between time. - Match time, which shows how much time is left in a match. - Boolean box, to show if something is triggered or not. - Toggle button/switch, to set something True or False - Color view, which could be used to show what color is being seen by a camera - Field layout, with bot position
Implementing Elastic: - This year, we've put a lot of work into implementing Elastic and using several of its features. The main ones we've used are text displays of values, number sliders to make testing easier, and the field layout, to see where our robot is.
Below is an example of how we implement it in the code, using the 2026 hood code as an example:
public void periodic() {
// SmartDashboard.putBoolean("hood/encoder connected?", encoder.isConnected());
SmartDashboard.putNumber("hood/encoder ticks", degreesToCounts(getCurrentAngle()));
SmartDashboard.putNumber("hood/hood angle", getCurrentAngle());
desiredAngle = SmartDashboard.getNumber("hood/Desired Angle", 25);
SmartDashboard.putNumber("hood/PID", pid.calculate(getCurrentAngle(), desiredAngle));
SmartDashboard.putNumber("hood/DutyCycle", dutyCycle.Output);
}