You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
seems like an issue regarding the steer gear ratio.
// in ModuleIOSim.java of the projectinputs.odometryTurnPositions = Arrays.stream(moduleSimulation.getCachedSteerRelativeEncoderPositions())
.map(relativeEncoderPosition ->
newRotation2d(relativeEncoderPosition.divide(moduleSimulation.STEER_GEAR_RATIO)))
.toArray(Rotation2d[]::new);
Bug Description
The odometry of the AdvancedSwerveDrive example project is not working correctly.
Robot Code Repository
https://github.com/Shenzhen-Robotics-Alliance/maple-sim/tree/main/templates/AdvantageKit_AdvancedSwerveDriveProject
Steps to Reproduce
Run the robot code and display the odometry positions
The text was updated successfully, but these errors were encountered: