... | ... | @@ -54,7 +54,10 @@ |
|
|
>
|
|
|
>
|
|
|
>#### Result!
|
|
|
>
|
|
|
>After running the LineFollowerCal.java we observed that it runs fine along a black line but as soon it encounters a different color eg. green or grey it starts spinning uncontrollably. This is partly due to the program only distinguishing between black and non-black colors. This means that whenever the robot encounters a color different from black it will diverse from its course. From this point it might not detect black colors even though it drives over a black line due to its sample interval of 10ms. This interval makes the robot detect colors once every 10ms and all other time it is blind to it's surrounding meaning that we cannot be sure that i makes a reading as it drives over black.
|
|
|
|
|
|
|
|
|
|
|
|
>## Exercise 3: ThreeColorSensor with Calibration
|
|
|
|
|
|
>
|
... | ... | |