... | ... | @@ -181,7 +181,7 @@ frontLight = light.getLightValue(); |
|
|
|
|
|
### Results
|
|
|
|
|
|
The result of this test is seen in the video "Concurrent behavior - Light turning motor". By starting the car in a somewhat dark area the lightThreshold becomes low and then when the car leaves the dark area it will enter the while loop where the turning of the light sensor is performed. After the car is initialized and is out in the light area we are able to "pull" the car either left or right by holding a flash light close to the car.
|
|
|
The result of this test is seen in the video "Concurrent behavior - Light turning motor". By starting the car in a somewhat dark area the lightThreshold becomes low and then when the car leaves the dark area it will enter the while loop where the turning of the light sensor is performed. After the car is initialized and is out in the light area we are able to "pull" the car either left or right by holding a flash light close to the car.
|
|
|
|
|
|
## SharedCar and Arbiter
|
|
|
|
... | ... | |