wpilibsuite/allwpilib

Make SysId's default step voltage smaller

Open

#7,794 opened on Feb 16, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C++ (714 forks)auto 404
component: examplescomponent: sysideffort: 1good first issuetype: fix

Repository metrics

Stars
 (1,281 stars)
PR merge metrics
 (PR metrics pending)

Description

Motors are more powerful these days, which means the default voltage tends to make wheels slip, invalidating the test data.

Normal velocity data shows an exponential decay from rest to the steady-state velocity. Slippage manifests in the velocity data as a spike, then an exponential decay down to an intersection with the normal exponential decay curve.

This change would be made in the SysIdRoutine examples.

Contributor guide