... | @@ -32,7 +32,8 @@ Only: |
... | @@ -32,7 +32,8 @@ Only: |
|
Cruise behavior - it just drives forward without any behavior changes.
|
|
Cruise behavior - it just drives forward without any behavior changes.
|
|
Follow behavior - it reacts according to a light reading compared to a threshold (based on an initial light reading). It uses reflective light, which we realized when we tried to close out the light by holding a hand infront of the sensor. This might lead to unintuitive behavior if its driving in a very dark room and gets close to a surface, since the avoid behavior wants to drive away from the surface, but the follow behavior might want to drive towards it. TODO reflective might only measure specific light values LOOK INTO IT CAMILLA - EMIL
|
|
Follow behavior - it reacts according to a light reading compared to a threshold (based on an initial light reading). It uses reflective light, which we realized when we tried to close out the light by holding a hand infront of the sensor. This might lead to unintuitive behavior if its driving in a very dark room and gets close to a surface, since the avoid behavior wants to drive away from the surface, but the follow behavior might want to drive towards it. TODO reflective might only measure specific light values LOOK INTO IT CAMILLA - EMIL
|
|
### Escape behavior
|
|
### Escape behavior
|
|
We use a program from p. 305[2]
|
|
We use a program from p. 305[2].
|
|
|
|
We tried turning by just powering one motor, but that didnt work so now we power forward in one and backwards in one. This worked well, even though we had the other behaviors turned on, so they affected the run. We tried with them turned off aswell, and it worked even better this time.
|
|
### Motor for light sensor
|
|
### Motor for light sensor
|
|
### SharedCar and Arbiter
|
|
### SharedCar and Arbiter
|
|
|
|
|
... | | ... | |