For the complete documentation index, see llms.txt. This page is also available as Markdown.

Overview

These guides are short API recipes: the classes and calls you need for one job, in Java and C++, with links to the full reference for each class.

New to YAMS? Start with the tutorials in the documentation. They build each mechanism one step at a time, explain the ideas (PID, feedforward, motion profiles, simulation), and show how to tune it and run it on the robot. Come back here once you know what you want to build and need the exact calls.

The guides assume you have:

  • A WPILib 2027 project with the YAMS vendordep installed, as in Create a project and install YAMS.

  • Basic command-based programming: subsystems (Commands v2) or mechanisms (Commands v3), commands and triggers.

The guides

The gains in these guides

The PID and feedforward numbers in the code are placeholders that show where each value goes. They are not tuned for your mechanism. With them, expect the mechanism to move toward its setpoint slowly, overshoot, or sag under gravity. Tune them as in Tune it in the arm tutorial.

If something does not work

Troubleshooting covers the common failures: code that does not build, a mechanism that does not show up or does not move in simulation, and problems on the real robot.

Last updated

Was this helpful?