Repository navigation
Examples
Complete robot projects built with YAMS, attached to this release. Download the zip for your command framework, extract it, and open the folder in WPILib VS Code. Each one already includes this release's YAMS vendordep, and runs in simulation with WPILib: Simulate Robot Code.
For C++, example-cpptest.zip is a complete C++ robot: an arm, a turret, a hood, an elevator, a shooter, and swerve and differential drivetrains.
Getting started
- Install YAMS in a WPILib 2027_alpha7 project, with the vendordep for your command framework (see Installation below).
- Create your mechanism's code with YAMG. Fill in a form about your elevator, arm, pivot or flywheel, turn on Use YAMS, and copy the generated code into your project.
- Tune it with the YAMS Live Tuner. Connect to your robot or the simulator, check the inversions and range of motion, then send setpoints and change the gains while it runs. Try it without a robot in demo mode.
- Read the YAMS docs for even more. Step by step tutorials for every mechanism and swerve, simulation, telemetry, absolute encoders, homing, AdvantageKit and more.
Installation
Pick the vendordep for the command framework your robot uses. Only install one of them.
Online
In VS Code, run WPILib: Manage Vendor Libraries > Install new libraries (online) and paste one of these URLs:
| Command framework | Vendordep URL |
|---|---|
| Commands v2 | https://cdn.yassrobotics.com/yams_commands2.json |
| Commands v3 | https://cdn.yassrobotics.com/yams_commands3.json |
Pinned to this release: https://cdn.yassrobotics.com/yams_commands2-2026.12.01.json and https://cdn.yassrobotics.com/yams_commands3-2026.12.01.json.
Offline
Download 2026.12.01-YAMS-Offline.zip from the assets below. It contains a maven folder and a vendordeps folder that merge into your 2027_alpha7 WPILib home folder. The 2027_alpha7 folder is created by the matching WPILib installer, so install that first.
Windows: extract into C:\Users\Public\wpilib\2027_alpha7. In File Explorer, right click the zip, choose Extract All..., and enter that folder. Or in PowerShell:
Expand-Archive -Path "$HOME\Downloads\2026.12.01-YAMS-Offline.zip" -DestinationPath "C:\Users\Public\wpilib\2027_alpha7" -ForcemacOS: extract into ~/wpilib/2027_alpha7. Finder's double click extracts next to the zip instead, so use Terminal:
unzip -o ~/Downloads/2026.12.01-YAMS-Offline.zip -d ~/wpilib/2027_alpha7Linux: extract into ~/wpilib/2027_alpha7:
unzip -o ~/Downloads/2026.12.01-YAMS-Offline.zip -d ~/wpilib/2027_alpha7Afterwards you should have wpilib/2027_alpha7/maven/yams/... and wpilib/2027_alpha7/vendordeps/yams_commands2.json / yams_commands3.json. Then, in VS Code, run WPILib: Manage Vendor Libraries > Install new libraries (offline) and pick Yet Another Mechanism System (Commands v2) or (Commands v3).
What's new
Commits since v2026.11.24:
- CI image: warm the Java test natives and the Linux and SystemCore publishes; Build - Arm64 uses the aarch64 image (#309) (c2900eb)
- CI: run the Linux jobs in the YAMS CI image, and add an aarch64 image (#308) (6fbe0cf)
- CI: a YAMS CI image on ghcr.io, C++ unit tests compiled once, and faster Windows and macOS builds (#307) (d4c7ae3)
- Add MecanumDrive, with everything SwerveDrive has and open loop driving (#290) (3633f67)
- Changelog for 2026.11.30 and unreleased changes; C++ swerve sim pose follows measured module states, as Java does (#303) (78e48b3)
- Mechanisms: simIterate() and updateTelemetry() hold the mechanism's lock, so simIterate() can run from a Notifier (#302) (b4d8135)
- SwerveDrive: thread safe, so simIterate() can run from a Notifier (#301) (20e7540)
- docs: a GIF of tuning the swerve azimuth kP, then kD, live in AdvantageScope (#300) (0770ae0)
- Deprecate SwerveDrive.zeroGyro(): use zeroOdometryHeading() or resetOdometry(pose) (#299) (50cfd3c)
- Docs: upgrade guide lists that read well on a phone (#298) (0fb6507)
- docs: drop the live tuning section from the upgrade guide, since nothing changed (#297) (adc775c)
- docs: a simpler upgrade guide, with import rules instead of tables (#296) (994a3b9)
- docs: download each example from the latest release, straight from Example Robots (#295) (2d02a09)
- docs: an Example Robots page, and the upgrade guide at the top (#294) (2af2c37)
- Docs & Examples: add Advanced tilt-scaled odometry guide and Commands v2/v3 examples (#285) (160c3da)
- Docs & Examples: add Advanced swerve skid detection guide and Commands v2/v3 examples (#284) (d962750)
- Docs & Examples: add Advanced power health monitoring guide and Commands v2/v3 examples (#286) (13ba3fd)
- yams-docs-review skill: add the house rules from the docs restructure (#292) (d4a757d)
- Docs: break the swerve, mechanism, exponential profile and EasyCRT pages into subpages (#291) (aae251b)
- Docs & Examples: add Advanced collision and jerk detection guide and Commands v2/v3 examples (#287) (37d837a)
- Fix: DoubleJointedArm IK/FK parity, SwerveDrive sim actual-state integration, BatterySim safety, and ADRC expm scaling (#289) (32804c6)
- Add the YAMS docs review skill (#288) (e8fe8a4)
- Docs: an Advanced section, with shoot on the move and its example robot (#283) (170eb1e)
- docs: remove docs/docs, the Home space moved to docs/home (#282) (b526aec)
- GITBOOK-24: No subject (af18087)
- GITBOOK-SITE: Changes to YAMS (ea3c8d7)
- docs: keep only the GitBook spaces (#281) (9b881fc)
- GitBook: Export content from Documentation (c345b02)
- GITBOOK-24: No subject (2d72d73)
- GitBook: Export content from API Reference (b40aab3)
- GitBook: Export content from Changelog (a583d87)
- GITBOOK-SITE: Changes to YAMS (0a345aa)
- Swerve: drive field relative with the odometry rotation, and publish rotation and gyro as Rotation2d (#279) (eaf5f0e)
- Migration guide: take a 2026 project to the latest release, without per-release sections (#277) (2d782c3)
What's Changed
- Deprecate SwerveDrive.zeroGyro(): use zeroOdometryHeading() or resetOdometry(pose) by @thenetworkgrinch in #299
- docs: a GIF of tuning the swerve azimuth kP, then kD, live in AdvantageScope by @thenetworkgrinch in #300
- SwerveDrive: thread safe, so simIterate() can run from a Notifier by @thenetworkgrinch in #301
- Mechanisms: simIterate() and updateTelemetry() hold the mechanism's lock by @thenetworkgrinch in #302
- Changelog for 2026.11.30 and unreleased changes; C++ swerve simulation follows the measured module states, as Java does by @thenetworkgrinch in #303
- Add MecanumDrive, with everything SwerveDrive has and open loop driving by @thenetworkgrinch in #290
- CI: a YAMS CI image on ghcr.io, C++ unit tests compiled once, and faster Windows and macOS builds by @thenetworkgrinch in #307
- CI: run the Linux jobs in the YAMS CI image, and add an aarch64 image by @thenetworkgrinch in #308
- CI image: SystemCore, Linux and Java test downloads in the image; Build - Arm64 on the aarch64 image by @thenetworkgrinch in #309
Full Changelog: v2026.11.30...v2026.12.01