We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b080d46 commit a201648Copy full SHA for a201648
TeamCode/src/main/kotlin/pioneer/opmodes/teleop/drivers/TeleopDriver1.kt
@@ -116,11 +116,14 @@ class TeleopDriver1(
116
117
private fun handleResetPose() {
118
if (gamepad.options) {
119
- if (bot.allianceColor == AllianceColor.RED) {
120
- bot.pinpoint?.reset(Pose(-86.7, -99.0, theta = 0.1))
121
- } else {
122
- bot.pinpoint?.reset(Pose(86.7, -99.0, theta = 0.1))
123
- }
+ //FIXME: Reset pose is just set to red for testing over WB, no blue side
+ bot.pinpoint?.reset(Pose(-86.7, -99.0, theta = 0.1))
+
+// if (bot.allianceColor == AllianceColor.RED) {
+// bot.pinpoint?.reset(Pose(-86.7, -99.0, theta = 0.1))
124
+// } else {
125
+// bot.pinpoint?.reset(Pose(86.7, -99.0, theta = 0.1))
126
+// }
127
}
128
129
0 commit comments