... | ... | @@ -60,7 +60,9 @@ From the tests performed with the gyro sensor, it seems possible to detect when |
|
|
It was clear from the tests performed that the car was not able to drive forward in a straight line without the use of a line follower. In further work, a line follower should therefore be added to the car, so that this can be used on the straight lines.
|
|
|
It is still to be investigated how to turn the car in a precise way, after the plateaus are entered. The current idea is to use the DifferentialPilot class to turn the car.
|
|
|
The control strategy needs to be changed, since we plan on including a line follower. A possible solution might be to implement two behaviors:
|
|
|
|
|
|
**Lowest priority:** Use the light sensor to follow a line.
|
|
|
|
|
|
**Highest priority:** Use the gyro to detect plateau, and turn 180 degrees right, left or on the spot, based on a simple state machine.
|
|
|
|
|
|
## References
|
... | ... | |