Fixed Robot#ticksToAngle incorrectly dividing instead of multiplying oneDegree with ticks

This commit is contained in:
2023-01-22 08:44:07 -06:00
parent ed81cd6dd5
commit a5b00b1397

View File

@@ -341,7 +341,7 @@ public class Robot {
double oneDegree = 360.0 / ticksPerRevolution;
return oneDegree / ticks;
return oneDegree * ticks;
}
public Variable hardwareConfig(String variableName) {