detects an obstacle only when the IR beam was almost
perpendicular to the obstacle.
4.1 Results
Dataset. To be able to work offline, a dataset of
e-puck’s motion around the field was created storing
all the desired variables. The path followed by the
robot covered the whole field many times so that
there was enough data for validation as well. For
the implementation of each algorithm, the desired
variables were taken from the dataset and evaluated.
EKF Localization. The center of the field was taken
to be the initial belief with uncertainty in the covari-
ance matrix covering the whole arena shown in Fig-
ure. 3. The prediction step took into account the
odometry control input. The mean of belief was up-
dated by compounding the computed odometry with
the previous belief. The compounding function was
a non linear function, which also had noise affect
catered in it.
For every iteration in the measurement step, an
image was taken by the camera and processed using
the calibration parameters to identify the robot pose
with respect to the global coordinate frame. The
algorithm performed color segmentation and then
calculated the centroid of the robot. This estimated
robot pose, with its associated covariance matrix,
was then used to update the robot position mean and
covariance. Colored semi-circular markers were used
to determine the orientation (heading direction), of
the robot. In this case, where an overhead camera was
used for measurement, the measurement equation
was formulated by a linear equation. The update step
was performed by using the mean and covariance
generated in the prediction step in conjunction with
the measurement and measurement noise. The update
strengthens the robot belief around the true robot
pose shown in Figure. 3. Three iterations 1st, 16th
and 76th are shown in the figure. It can be seen
that as the number of iteration increases, the robot
belief strengthens around its true location. It can be
visually verified that with the increase in the number
of iterations, the Gaussian of robot belief grows
narrower, showing that the robot is confident about its
estimated pose. If at any time the update is stopped,
the robot belief still follows the robot around but the
uncertainty region starts expanding with respect to
the standard deviation in odometry.
Occupancy Grid Mapping. Occupancy grid map of
the environment inside the field was created by using
the IR sensors on the mobile robot e-puck. The image
overlay of the map is shown on top of the images cap-
tured by the overhead camera. The measured range
from each IR sensor was mapped by using the OGM
algorithm to retrieve a local map. In the implemented
algorithm, the IR sensor readings were taken to be
deterministic, which means the measured light falling
on the receptor of the sensor was converted into dis-
tance and was taken as the true value of distance. This
was an extraordinary assumption and should be taken
care of in the future.
In the presented result, the grid cell size in the
software map was 1mm and the real size of the field
was 600 mm x 800 mm. The images representing
the results had the same pixel ratio, with walls of
the field extending from each side. That meant that
a pixel in the image corresponds to 1mm in distance.
When evaluating the sharpness of edges in the map,
this measure is very important. The robot was made
to move beside the obstacles in the free space around
the field several times in the collected dataset so that
enough data is available for the mapping step. The re-
sult showed that not all the walls of obstacles and the
field are updated, there are discontinuities present in
them. As the grid cell size was too small, the noise in
measurement affected the grid cell update a lot. This
will not be the case if the resolution is higher, as then
the measurement to noise ratio will differ.
In Figure. 5, the back converted log odds map, into
probability map, is shown. All the values in the map
fall between 0 and 1. There are three colors in gray
scale, which identify the different type of grid cells.
These can be identified visually, as gray color show-
ing the grid cells, which were not updated and are un-
knowns, the white colored grid cells representing the
obstacles and the black colored grid cells representing
the free space.
The result of OGM is shown on top of the ground
truth. In Figure. 5, left image, only the grid pixels
identified as occupied are plotted in white on top
of the image with one to one correspondence in
millimetre scale. It can be visually verified that the
image fits perfectly on top of the obstacles and the
boundary walls. In addition to the occupied cells,
the cells which were classified as unknowns are also
pasted on top of the ground truth in black color.
Although most of the cells were correctly classified,
there were other cells, which are actually free but
are classified as unknowns. This happens because
of the small opening angle of the IR beam. It can
easily be removed in a post processing step, where
all these cells in the field except for obstacles, would
be classified as free under the condition that a single
clot of unknown cells is smaller than the size of
the robot. This can only be done if the size of the
Localization and Mapping of Cheap Educational Robot with Low Bandwidth Noisy IR Sensors
587