mirror of
https://github.com/TimeCrafters/FTC_2022
synced 2025-12-15 14:22:34 +00:00
Fixed Robot#ticksToAngle incorrectly dividing instead of multiplying oneDegree with ticks
This commit is contained in:
@@ -341,7 +341,7 @@ public class Robot {
|
||||
|
||||
double oneDegree = 360.0 / ticksPerRevolution;
|
||||
|
||||
return oneDegree / ticks;
|
||||
return oneDegree * ticks;
|
||||
}
|
||||
|
||||
public Variable hardwareConfig(String variableName) {
|
||||
|
||||
Reference in New Issue
Block a user