No commit message authored by Jesper Kurtzmann Svith's avatar Jesper Kurtzmann Svith
No commit message
......@@ -80,7 +80,8 @@
>#### Task
>Use the ThreeColorSensor to make a line follower that stops in a green goal zone.
>
Code snippet from ThreeColorSensor class:
> Code snippet from ThreeColorSensor class:
> ```
public boolean white() {
greenCount = 0;
return (ls.readNormalizedValue()> whiteGreenThreshold);
......@@ -93,7 +94,7 @@ public boolean white() {
return (ls.readNormalizedValue()>whiteGreenThreshold && ls.readNormalizedValue()> greenBlackThreshold);
else return false;
}
```
>
>#### Result!
>As can be seen in video (??), the ThreeColorSensor program makes the robot follow the black line oscillating in small turns between the black and the white areas untill it enters the green area. >The movement is not very smooth however,
......
......