@@ -228,9 +228,9 @@ Ved måling ved start-hvile-position: skriv at vi bruger teoretisk setpoint (i.e
*Figure 5: Plot of readings from color sensor (orange) and light sensor (brown) along with their setpoints*
The two graphs have about the same shape, with two peaks separated by a valley. The first ~800 ms is the calibration of the setpoint. Then we see the reading values rise as the robot is tilted to its starting position, causing the sensor to get closer and closer to the surface below. We are not sure as to the reason for the occurence of the valleys - a guess could be that the robot is lifted slightly from the table again because Camilla, who tilting the robot, was wary of letting the sensor hit the surface too hard. The very different depths of the valleys could be due to the change in lighting level, as described previously.
The two graphs have about the same shape, with two peaks separated by a valley. The first ~800 ms is the calibration of the setpoint. Then we see the reading values rise as the robot is tilted to its starting position, causing the sensor to get closer and closer to the surface below. After the second peak, we see the reading decrease as the robot is tilted backwards. We are not sure as to the reason for the occurence of the valleys - a guess could be that the robot is lifted slightly from the table again because Camilla, who tilting the robot, was wary of letting the sensor hit the surface too hard. The different depths of the valleys could be due to the change in lighting level, as described previously.
We see from the plot that the color sensor actually has a larger maximum deviation from the setpoint than the light sensor. The color sensor has a larger average deviation as well. This goes against our immediate visual observations. On the other hand, the slope of the graph for the color sensor is less steep than that of the light sensor, which might explain our observations. The different slopes, however, could also be due to different speeds of the movement when tilting the robot - it should be noted, though, that this could also have affected our results in a way that diminishes the actual difference which might support our observations.
We see that the color sensor actually has a larger maximum deviation (*max. dev.*) from the setpoint than the light sensor. The color sensor has a larger average deviation (*avg. dev.*) as well. This goes against our immediate visual observations. On the other hand, the slope of the graph for the color sensor is less steep than that of the light sensor, which might explain our observations. The different slopes, however, could also be due to different speeds of the movement when tilting the robot - it should be noted, though, that this could also have affected our results in a way that diminishes the actual difference which might support our observations.
All in all, there were several external factors affecting our measurements and it is hard to take them properly into account.