u4099 created page: Lesson4Week6 authored by Daniel Jung Moltzen's avatar Daniel Jung Moltzen
...@@ -83,7 +83,7 @@ Second: We implement the methods for the motors. ...@@ -83,7 +83,7 @@ Second: We implement the methods for the motors.
As seen in the video the car detects both the black line, and the white and green zones - in which it stops perfectly. The car has some problems when going from the ramp and down the hill. As seen in the video the car detects both the black line, and the white and green zones - in which it stops perfectly. The car has some problems when going from the ramp and down the hill.
The below codesnippet is the implemented code, the thresholds for the colors are calibrated each time the program starts, furthermore they are allowed to differ +-2 in relation to the detected value. The below codesnippet is the implemented code, the thresholds for the colors are calibrated each time the program starts, furthermore they are allowed to differ +-2 in relation to the detected value.
-
``` ```
public class carLineFollower1 { public class carLineFollower1 {
... ...
......