Second-Order Swerve vs? Discretized ChassisSpeeds #6643
-
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.
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.
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.