@@ -69,7 +69,25 @@ The Braitenberg vehicle[10] using ultrasonic sensors bumps into several objects
...
@@ -69,7 +69,25 @@ The Braitenberg vehicle[10] using ultrasonic sensors bumps into several objects
*Vehicle 3 mounted with light and ultrasonic sensors.*
*Vehicle 3 mounted with light and ultrasonic sensors.*
We built the Braitenberg vehicle 3 using two ultrasonic sensors and two light sensors. The light sensors had the floodlight disabled. Our goal was to create a robot avoiding obstacles and shadows.
We built the Braitenberg vehicle 3 using two ultrasonic sensors and two light sensors. The light sensors had the floodlight disabled. Our goal was to create a robot avoiding obstacles and shadows. First we made the vehicle's power only depend on the ultrasonic sensors. For calculating the motor power from the ultrasonic sensor, we used the following method:
When calculating the motor power, using also the light sensors, we simply averaged the motor power from this method and the method used for the vehicle using 2 light sensors[2]. This seemed to create a reasonable balance between the 2 two sensors, and made the vehicle drive around objects and avoid shadows as seen in video [7]