Skip to content

Elastic 2025.0.0 Beta 4

Latest
Compare
Choose a tag to compare
@Gold872 Gold872 released this 16 Nov 18:49
· 2 commits to main since this release
51b171a

New Docs

The documentation has been moved to GitBook! The contents of the documentation have not significantly changed, but should be much easier to browse and navigate. The new URL for the online documentation is: https://frc-elastic.gitbook.io/docs

Additional Shortcuts

There are now new shortcuts to open settings and robot connection. Ctrl + , will open the settings, Ctrl + k will connect to the robot (the driver station ip address), and Ctrl + Shift + k will connect to simulation.

ElasticLib and Notification Changes

There is now additional customizability to notifications set with ElasticLib, along with API Improvements.

Method Chaining

Similar to how Phoenix 6 supports customizing control requests and configurations through method chaining, ElasticLib supports customizing notifications through method chaining.

For example:

ElasticNotification statusNotification = new ElasticNotification(NotificationLevel.INFO, "Info!", "Your robot is doing great!");

/* additional robot code  */

statusNotification.setLevel(NotificationLevel.WARNING);
statusNotification.setTitle("Warning!");
statusNotification.setDescription("Your robot has a small issue!");
Elastic.sendAlert(statusNotification);

can be simplified to

ElasticNotification statusNotification = new ElasticNotification(NotificationLevel.INFO, "Info!", "Your robot is doing great!");

/* additional robot code */

Elastic.sendAlert(statusNotification
    .withLevel(NotificationLevel.WARNING)
    .withTitle("Warning!")
    .withDescription("Your robot has a small issue!"));

Display Time, Size, and More!

In addition to the nicer API, Elastic now supports customizing the time to display the notification for and the size!

C++ Support

C++ support for ElasticLib has been added!

Other Small Improvements

  • The NetworkTables search field will continuously update while typing (#131)
  • Client name has been changed from "Elastic" to "elastic"
  • The width of a Combo Box Chooser dropdown will now take up the whole widget

Full Changelog

New Contributors

v2025.0.0-beta-3...v2025.0.0-beta-4