Skip to content

Publish the SwerveDrive tuning command at Tuning/<name>/Live Tuning - #248

Merged
thenetworkgrinch merged 1 commit into
masterfrom
swerve-live-tuning-path
Oct 29, 2026
Merged

thenetworkgrinch merged 1 commit into
masterfrom
swerve-live-tuning-path

Conversation

@thenetworkgrinch

@thenetworkgrinch thenetworkgrinch commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

Every live tuning command in YAMS lives at `NT:/Tuning//Live Tuning` except `SwerveDrive`'s, which was published at `NT:/Mechanisms//tuning`. Its tuning values were already under `NT:/Tuning//`, so the command and its values were in different tables.

Before After
Motor controllers (`Arm`, `Elevator`, `Pivot`, `FlyWheel`, bare controllers) `NT:/Tuning//Live Tuning` unchanged
`SwerveInputStream` `NT:/Tuning/SwerveInputStream//Live Tuning` unchanged
`SwerveDrive` `NT:/Mechanisms//tuning` `NT:/Tuning//Live Tuning`
  • Java v2, Java v3 and C++: the command is published at `Tuning//Live Tuning`, through the `Tuning` tunables backend, and named `Live Tuning`. In Java v3 it was ` Tuning`; in Java v2 and C++ it had no name.
  • MIGRATION.md: a bullet under "Updating from v2026.10.15" says where it moved. The bullet also covers Make the swerve tuning command require the drive #247: the command now requires the drive, so it pauses the default drive command.

This renames an NT key, so dashboards that start the command at the old path need updating. The YAMS-Gitbook docs and the YAGSL config generator's live tuning are being moved in companion PRs.

Tested: the Java swerve tests (./gradlew test --rerun --tests '*Swerve*', 204 passed, 0 failed) and the C++ swerve tests (-PcatchFilter='[SwerveDriveTest]', 186 assertions in 43 test cases) pass. The rest of the suites have not been run.

…like every other mechanism

It was at Mechanisms/<name>/tuning, apart from the Live Tuning commands of motor controllers and SwerveInputStream. It is now named Live Tuning and published through the Tuning backend, beside the drive's tuning values. MIGRATION.md notes the move.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant