The FRC Automatic PID Tuning Library is a Java library designed to simplify and automate the process of tuning PID controllers for the FIRST Robotics Competition (FRC). It provides a convenient way to optimize your robot's PID controllers for various subsystems such as drivetrains, elevators, and more.
- Automated PID tuning for FRC robots.
- User-friendly and customizable tuning process.
- Gradle and Maven compatibility for easy integration.
Before using this library, you'll need:
- A working FRC development environment with Java support.
- Gradle or Maven installed on your development machine.
You can easily add the FRC Automatic PID Tuning Library to your FRC project as a dependency by including it in your build.gradle
(for Gradle) or pom.xml
(for Maven) file.
<dependencies>
<!-- ... other dependencies ... -->
<dependency>
<groupId>com.example</groupId>
<artifactId>frc-pid-tuning</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>
dependencies {
// ... other dependencies ...
implementation 'com.example:frc-pid-tuning:1.+'
}
- Define Automatic-PID as a dependency
- Chose an accurate system model
- Add model as input, along with other important system information
- Collect the output values from characterization
- Use output values (P,I,D) for your system's PID controller
For more details and advanced usage, please refer to the library's official github pages documentation.
We welcome contributions from the FRC community. If you encounter issues or have ideas for improvements, please feel free to open an issue or submit a pull request on our GitHub repository.
This project is licensed under the WPILib License.
For any questions or support, please contact our team.
Happy PID tuning for your FRC robot! We hope this tool makes the process smoother and more efficient for your team.