Closed fletch3555 closed 9 months ago
It was added in the beta, and the docs were not updated yet. The doc site has moved, and you can see that function here: https://robotpy.readthedocs.io/projects/robotpy/en/latest/wpimath.kinematics/ChassisSpeeds.html#wpimath.kinematics.ChassisSpeeds.discretize
It was added in the beta, and the docs were not updated yet. The doc site has moved, and you can see that function here: https://robotpy.readthedocs.io/projects/robotpy/en/latest/wpimath.kinematics/ChassisSpeeds.html#wpimath.kinematics.ChassisSpeeds.discretize
Good call. I didn't realize I wasn't running the 2024 beta version. Should be updated now
wpimath.kinematics.ChassisSpeeds.descretize(...) doesn't seem to exist. Am I missing it somewhere? Is it new and needs to be added? Is there a different/better approach?
RobotPy docs: https://robotpy.readthedocs.io/projects/wpimath/en/latest/wpimath.kinematics/ChassisSpeeds.html wpilibj source: https://github.com/wpilibsuite/allwpilib/blob/main/wpimath/src/main/java/edu/wpi/first/math/kinematics/ChassisSpeeds.java#L92