Skip to content

Second-Order Swerve vs? Discretized ChassisSpeeds #6643

Answered by calcmogul
narmstro2020 asked this question in General
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@narmstro2020
Comment options

@calcmogul
Comment options

Answer selected by narmstro2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants