1 \chapter{Experiment
2: Movement Behaviour with Mean Correction
}
4 As presumed in Section
\ref{exp1:results
}, errors in the Roomba's movements
5 could originate from imprecise measurement of the Roomba's internal sensors or
6 in the Wiselib implementation. So a natural approach to correct this sort of
7 errors would be to average the results for each data point from Experiment
1,
8 find a function that fits the mean measured error depending of the
9 target velocity and target distance or angle as well as possible, and then
10 adapting either one of the target parameters so that the resulting movement
11 would most likely be the desired target value. In this experiment however, only
12 the target distance resp. the target angle was adjusted, while the velocity
15 Fitting the function
\index{fit function
} was done with
\acs{GNU
} R
\index{GNU R
}
16 through the wrapper script
\prog{graph.sh
} which is explained in
17 section~
\ref{sec:impl:eval
}. In this experiment, a
2-dimensional linear fit for
18 the measured value was determined by the method of least squares, with target
19 value (angle or distance) and velocity as input parameters. The fit function was
20 then used in the algorithm to calculate the adapted target distance or angle.
23 The hardware setup was exactly the same as in Experiment
1. However, in this
24 experiment the application
\prog{mean
\_correction\_test} was used to measure
25 data. It did exactly the same as the application from Experiment
1, except that
26 it adapted the target value according to the method described above.
31 \includegraphics[width=
\textwidth]{images/iz250flur_drive-mean_data.pdf
}
32 \caption{Behaviour with mean correction on laminated floor, straight drive
37 \includegraphics[width=
\textwidth]{images/iz250flur_turn-mean_data.pdf
}
38 \caption{Behaviour with mean correction on laminated floor, turn tests
}
42 \includegraphics[width=
\textwidth]{images/seminarraum_drive-mean_data.pdf
}
43 \caption{Behaviour with mean correction on carpet floor, straight drive
48 \includegraphics[width=
\textwidth]{images/seminarraum_drive-mean_data.pdf
}
49 \caption{Behaviour with mean correction on carpet floor, turn tests
}
52 results better than in experiment
1, very accurate for laminate floor, carpet
53 floor more spread but still kind of in the middle and less deviation from ideal
55 \todo{statistical values, stddev?
}