... | ... | @@ -145,8 +145,8 @@ The power to the motor is controlled by the motorPowerLeft and motorPowerRight v |
|
|
We observed the robot having trouble moving because it received too low motor power, therefore we added a scale value to increase the overall motor power.
|
|
|
|
|
|
When using the mapping as seen in fig. 7. of the weekly assignment, we learned that the robot had a behaviour of moving towards objects and stopping. This was because of the inhibitory connection between the ultrasonic sensors and the electrical motors. The motor in the same side as the ultrasonic sensor would move slower as the distance to an object in that side got smaller, causing the robot to turn towards the object, and getting it in front of the other ultrasonic sensor, causing the robot to stop completely.
|
|
|
>We have a video (see fig ??) showing the robot turning towards the light of the doorway and stopping after the coming too close to an object in the room.
|
|
|
>We can conclude that when using two types of sensors as an exitatory and inhibitory connection to control the same value, the robot will at some point come to a complete stop, as the two sensor values cancel each other out.
|
|
|
We have a video (see fig ??) showing the robot turning towards the light of the doorway and stopping after the coming too close to an object in the room.
|
|
|
We can conclude that when using two types of sensors as an exitatory and inhibitory connection to control the same value, the robot will at some point come to a complete stop, as the two sensor values cancel each other out.
|
|
|
|
|
|
|
|
|
[![image alt text](http://img.youtube.com/vi/kWPPdGhtCJ0/0.jpg)](http://www.youtube.com/watch?v=kWPPdGhtCJ0)
|
... | ... | @@ -171,4 +171,5 @@ When using the mapping as seen in fig. 7. of the weekly assignment, we learned t |
|
|
* https://youtu.be/ZejM8vRiHFs
|
|
|
* https://youtu.be/kWPPdGhtCJ0
|
|
|
|
|
|
#### |
|
|
\ No newline at end of file |
|
|
#### Coding
|
|
|
* All code can be downloaded through this link: https://drive.google.com/open?id=0ByoaBUivaTqWfnAxV002ckVROElpTV9EMGRBWERrU1pnNEJVQWNSM2Nlc3I3VlhxLVpPbEk&authuser=0 |
|
|
\ No newline at end of file |