Swerve Drive Shuffleboard Plugin

These past few days I have been working on a Shuffleboard plugin to display and simulate a swerve drivetrain, and I think I’m just now ready to release it out to the public!

For context, our team had just bought swerve modules earlier this year, and we were able to compete with them in a preseason competition mostly successfully. Though I hated how there was no easy way to really visualize our swerve drive in Shuffleboard (besides adding a bunch of numbers that are impossible to interpret). So I decided to take up the challenge and make my own plugin!

And yeah, I know there’s technically a way to display a swerve using builtin Shuffleboard widgets, but we were unable to use it because we did not use PID to control the drive. So my goal for this plugin is to be as accessible as possible and work with as many swerve drives as possible.

Also keep in mind that I wrote this very fast with little testing - expect bugs!

Anyways, here’s the link if you want to give it a try!

And here’s some screenshots:




4 Likes

Awesome!! Thank you for making this. Did you try to compare it to Advantage Scope Swerve Widget, or Elastic’s swerve widget, or FRC Web Components before hand?

You may have created ANOTHER standard if you didn’t.

I based it partly off the advantage scope swerve (I saw it briefly in a screenshot a while ago and was just going off of memory) and I want to eventually also display the “actual” module rotations and speeds on the widget rather than the calculated values. I didn’t realize web components had a swerve plugin, I could take it look at it.