... | @@ -50,8 +50,9 @@ Try: 45 - still nothing |
... | @@ -50,8 +50,9 @@ Try: 45 - still nothing |
|
Try: 55 - better, but not responsive enough
|
|
Try: 55 - better, but not responsive enough
|
|
Try: 60 - seems to work ok, but keeps turning left (as it keeps going even when it's not longer registering light. We tried to stop the motors after making the sensor point forward again)
|
|
Try: 60 - seems to work ok, but keeps turning left (as it keeps going even when it's not longer registering light. We tried to stop the motors after making the sensor point forward again)
|
|
|
|
|
|
Stopping the motors in the end helped. But it seemed that the sensor wasn't turning enough when checking, so that the difference between the left and right light values was not large enough, whereby the motors were simply set to move forward, rather than following the light properly. We tried increasing the interval to 300. This didn't seem to make much of a difference, so we increased it up to 500 (the intial value). This seemed to work better (TODO: video), but the robot was turning away from the light rather than towards it.
|
|
Stopping the motors in the end helped. But it seemed that the sensor wasn't turning enough when checking, so that the difference between the left and right light values was not large enough, whereby the motors were simply set to move forward, rather than following the light properly. We tried increasing the interval to 300. This didn't seem to make much of a difference, so we increased it up to 500 (the intial value). This seemed to work better (TODO: video), but the robot was turning away from the light rather than towards it. This was due to an error in our code - we simply flipped left and right turns in the code.
|
|
|
|
|
|
|
|
We tested in the dark to obtain a bigger light difference.
|
|
|
|
|
|
|
|
|
|
TODO: insert program code
|
|
TODO: insert program code
|
... | | ... | |