Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cmd] Decrease default step voltage in SysIdRoutine command #7795

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

calcmogul
Copy link
Member

The old default was selected back when DC brushed motors were the norm. Motors are powerful enough now that it can cause wheel slip, which invalidates the test data.

Fixes #7794.

@calcmogul calcmogul requested a review from a team as a code owner February 17, 2025 00:52
@github-actions github-actions bot added the component: command-based WPILib Command Based Library label Feb 17, 2025
Copy link
Contributor

This PR modifies commands. Please open a corresponding PR in Python Commands and include a link to this PR.

@spacey-sooty
Copy link
Contributor

in my experience running SysId an even smaller step voltage is often useful, I'd rather the default be quite low as opposed to quite high

@calcmogul
Copy link
Member Author

What step voltage would you suggest?

The old default was selected back when DC brushed motors were the norm.
Motors are powerful enough now that it can cause wheel slip, which
invalidates the test data.

Fixes wpilibsuite#7794.
@calcmogul calcmogul force-pushed the cmd-decrease-default-step-voltage-in-sysid-routine-command branch from 6ea2ef0 to 912cdf5 Compare February 19, 2025 01:02
@spacey-sooty
Copy link
Contributor

spacey-sooty commented Feb 19, 2025

What step voltage would you suggest?

I generally start with 2 when getting SysId routines working, then go up

@calcmogul
Copy link
Member Author

Should users be incrementally changing it in general (i.e., should the docs be updated)? Most users just use the default value.

@spacey-sooty
Copy link
Contributor

I generally find that we need to change it to make it work well with our system. For example with swerve translation SysId depending on space to run it you might use different voltages and times

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: command-based WPILib Command Based Library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make SysId's default step voltage smaller
2 participants