cvf06035 created page: home authored by Ida Larsen-Ledet's avatar Ida Larsen-Ledet
...@@ -26,7 +26,7 @@ For these exercises Camilla will be taking notes, Nicolai will be programming an ...@@ -26,7 +26,7 @@ For these exercises Camilla will be taking notes, Nicolai will be programming an
### Self balancing robot with light sensor ### Self balancing robot with light sensor
We start by running the initial program provided by [2]. This didn't give a good result. Frej just rushes in either direction and never stands still. The only reason that Frej is able to keep upright and move about is that he has tilted to the side that his light sensor is one, causing him to rest on the sensor. We start by running the initial program provided by [2]. This didn't give a good result. Frej just rushes in either direction and never stands still. The only reason that Frej is able to keep upright and move about is that he has tilted to the side that his light sensor is one, causing him to rest on the sensor.
[![Robot performing poorly using Bagnall's program](SOMEURL.jpg)](video IMG_2238) [![Robot performing poorly using Bagnall's program](SOMEURL.jpg)](video IMG_2238.MOV)
*Video 1: Robot racing around and resting on its light sensor.* *Video 1: Robot racing around and resting on its light sensor.*
...@@ -41,6 +41,9 @@ We turned on the light - see video ...@@ -41,6 +41,9 @@ We turned on the light - see video
We tried a stiber angle which worked much better - see video We tried a stiber angle which worked much better - see video
We tried to get rid of the weight difference that came from the bouncing wires and therefore 'rebuild' the robot. We tried to get rid of the weight difference that came from the bouncing wires and therefore 'rebuild' the robot.
[![Robot performing better when calibrated against the door](SOMEURL.jpg)](video IMG_2244.MOV)
*Video 2: Calibrating the robot against the door, with a somewhat succesful result (the robot didn't fall over that quickly, but didn't remain standing in one spot either)*
#### surface #### surface
The light was on. The light was on.
The light sensor returns very different measurements of different colors, and the bathroom floor has lots of colors (see picture). Therefore we tried the big black thing which gives a completely different setting. Both the color of the surface (which is now black instead of blue-ish) and the consistency in the color (completely black instead of different blue-ish colors) and how even the surface is, as the black thing is very uneven. The light sensor returns very different measurements of different colors, and the bathroom floor has lots of colors (see picture). Therefore we tried the big black thing which gives a completely different setting. Both the color of the surface (which is now black instead of blue-ish) and the consistency in the color (completely black instead of different blue-ish colors) and how even the surface is, as the black thing is very uneven.
... ...
......