@@ -24,6 +24,7 @@ For these exercises Camilla will be taking notes, Nicolai will be programming an
...
@@ -24,6 +24,7 @@ For these exercises Camilla will be taking notes, Nicolai will be programming an
## Results
## Results
### Self balancing robot with light sensor
### Self balancing robot with light sensor
---
We started by running Bagnall's program [2] without modifications, in the large working space in the Zuse building. This didn't give a good result: The robot just rushed ahead, either upright or sliding around on its "back", never holding its balance and standing still. The only reason that the robot was sometimes able to keep upright was that when tilting forwards, it landed on its light sensor which held up the robot like a crutch (as seen in Video 1).
We started by running Bagnall's program [2] without modifications, in the large working space in the Zuse building. This didn't give a good result: The robot just rushed ahead, either upright or sliding around on its "back", never holding its balance and standing still. The only reason that the robot was sometimes able to keep upright was that when tilting forwards, it landed on its light sensor which held up the robot like a crutch (as seen in Video 1).
[](video IMG_2238.MOV)
[](video IMG_2238.MOV)
...
@@ -73,11 +74,17 @@ We started by changing the int's to floats - 'cause Ole said so. Aaaaand this wi
...
@@ -73,11 +74,17 @@ We started by changing the int's to floats - 'cause Ole said so. Aaaaand this wi
The next step seems to be changing the parameters, as Hurbain says that the values of the program are used from a calibration of his light sensor.
The next step seems to be changing the parameters, as Hurbain says that the values of the program are used from a calibration of his light sensor.
### Choice of parameters on the fly
### Choice of parameters on the fly
---
We used the **TrackerController** class [4] from lesson 2 as a basis for our GUI.
We used the **TrackerController** class [4] from lesson 2 as a basis for our GUI.