Second-Order Swerve vs? Discretized ChassisSpeeds #6643
Answered
by
calcmogul
narmstro2020
asked this question in
General
-
So this post on CD brought up two key ideas, but I never quite got this jist on whether Discretized Chassis Speeds was equivalent to Second Order Swerve or a separate issue and on whether or not you could implement both Second Order Swerve and also Discretize chassis Speed for added reduction in Swerve Drive Skewing. |
Beta Was this translation helpful? Give feedback.
Answered by
calcmogul
May 21, 2024
Replies: 1 comment 2 replies
-
You should use one or the other, not both. ChassisSpeeds.discretize() is WPILib's solution for the skew issue caused by sample delay. Remaining skew after that compensation is from poor feedforward/feedback control, in my experience. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
narmstro2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should use one or the other, not both. ChassisSpeeds.discretize() is WPILib's solution for the skew issue caused by sample delay. Remaining skew after that compensation is from poor feedforward/feedback control, in my experience.