mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
LinearSystemId's linear system factories throw on negative feedforward gains, but SysId can compute the feedback gains just fine in that case. Now we construct the system manually instead. Fixes #6423.
SysId: System Identification for Robot Mechanisms
Building and Running SysId
See here for build requirements.
Run the following in the monorepo root.
./gradlew sysid:run
Troubleshooting
Use AdvantageScope (shipped with the WPILib installer) to view .wpilog files for troubleshooting when SysId fails to generate plots.