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

[wpilib] Use RKDP in DifferentialDrivetrainSim to fix numerical instability #5931

Merged

Conversation

calcmogul
Copy link
Member

RK4 causes the same numerical stability issues the arm sim had with high gear ratios.

RK4 causes the same numerical stability issues the arm sim had with high
gear ratios.
@calcmogul calcmogul requested a review from a team as a code owner November 16, 2023 17:24
@calcmogul calcmogul changed the title [wpilib] Use RKDP in DifferentialDrivetrainSim [wpilib] Use RKDP in DifferentialDrivetrainSim to fix numerical instability Nov 16, 2023
@PeterJohnson PeterJohnson merged commit b1fad06 into wpilibsuite:main Nov 17, 2023
26 checks passed
@calcmogul calcmogul deleted the wpilib-use-rkdp-in-diff-drive-sim branch November 17, 2023 16:41
Starlight220 pushed a commit to Starlight220/allwpilib that referenced this pull request Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants