Skip to content

Commit 34b0285

Browse files
Calibrate back right wheel after bevel gear replacement
Initial calibration done when wheel was broke and assumption made regarding direction of wheel drive. Assumption was backwards. Reverse wheel zero offset 180 degrees to correct. - Nick Q
1 parent 387af46 commit 34b0285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/include/drivetrain-swerve/Constants.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ namespace constants {
3232
const WheelConstants frontLeft = {"Front Left", 4, 8, {-0.476, 0.476}, {{0.7, 0, 0}, 1.74}, 13};
3333
const WheelConstants frontRight = {"Front Right", 1, 5, { 0.476, 0.476}, {{0.7, 0, 0}, 0.93}, 10};
3434
const WheelConstants backLeft = {"Back Left", 3, 7, {-0.476, -0.476}, {{0.7, 0, 0}, -0.58}, 12};
35-
const WheelConstants backRight = {"Back Right", 2, 6, { 0.476, -0.476}, {{0.7, 0, 0}, 1.75}, 11};
35+
const WheelConstants backRight = {"Back Right", 2, 6, { 0.476, -0.476}, {{0.7, 0, 0}, (1.75-M_PI)}, 11};
3636
}
3737
}

0 commit comments

Comments
 (0)