diff --git a/server/src/main/java/algorithm/RoomBypassingAlgorithm.kt b/server/src/main/java/algorithm/RoomBypassingAlgorithm.kt index 4cd037ea231..301a01fef8b 100644 --- a/server/src/main/java/algorithm/RoomBypassingAlgorithm.kt +++ b/server/src/main/java/algorithm/RoomBypassingAlgorithm.kt @@ -14,9 +14,6 @@ class RoomBypassingAlgorithm(thisCar: Car) : AbstractAlgorithm(thisCar) { override val SMOOTHING = SonarRequest.Smoothing.MEDIAN override val WINDOW_SIZE = 3 - //SHOULD BE CALIBRATED BEFORE RUNNING!!!!!!!!!!! - private val CHARGE_CORRECTION = 1.0//on full charge ok is 0.83 - 0.86 - private val MAX_DISTANCE_TO_WALL_AHEAD = 55 // reached the corner and should turn left private val OUTER_CORNER_DISTANCE_THRESHOLD = 90 // reached outer corner private val ISOSCALENESS_MIN_DIFF = 5 // have to correct alignment to the wall @@ -184,7 +181,6 @@ class RoomBypassingAlgorithm(thisCar: Car) : AbstractAlgorithm(thisCar) { } log("") - // Check most basic measurements: 60/90/120 log("2. Check if we have measurement on 90") if (dist90.distance == -1 || dist90.distance > OUTER_CORNER_DISTANCE_THRESHOLD) {