• No results found

Map Update via Geometrical Constraints

In document Robot Localization with Weak Maps (Page 40-46)

5.5 Update the wall based on Laser points

5.5.2 Map Update via Geometrical Constraints

In this part, we discuss the second approach for updating walls in the polygonal map. This method is based on a geometrical constraint which has been proposed by Kanatani. Kanatani is a Japanese mathematician that represents this principle in his book ”Statis- tical Optimization for Geometric Computation” [24]. We introduce the principle of this method in Section 3.5

Figure 5.6: Constraint for Incidence of a point to a line

Approach

Assume we have a point x that is an estimate of a point ¯x. And we have line n that is an estimate of a line ¯n. Suppose ¯x lies on ¯n in the absence of noise, then a problem arises for optimally correcting them so as to make them incident. The question is how much we have to move the line n to optimally correct it and put it on the ¯n.(See figure 5.6)

Same idea happens to the point x , how much is the ∆x that moves point x to the point ¯x. If x has a covariance matrix of V [x] and n has a covariance matrix of V [n]

then this is an optimization problem minimizing J (equation 3.49) under linear constraint in Equation 3.50.

Assume a laser point is corresponding to a wall in the prior map. The idea is if the laser point corresponds to a wall, they should be incident to each other in the absence of noise. The aim is to find out how optimally correcting them so as to make them incident. This can be regarded as a constraint for map updating. The principle is presented in Section 3.5.

Instead of using regression of laser points, we are dealing with all laser points in a set which is corresponding to the candidate wall for an update. Therefore, a single wall will be updated several times by each laser point in the set.

Fortunately, in this process, matrix inversion is not taking place. Hence, there is no need to handle Moore-Penrose pseudo inverse. The number of updates of any wall is much more than the Kalman filter method, however the running time per step is almost half.

Figure 5.7 shows a simplified example of the constraints update. Red points represent laser points with added Gaussian noise. The blue line corresponds to the prior wall in the map with the associated uncertainty represented by light blue lines. The green line is the final state of updated wall composed of all updates.

Prior line

Constraint Update

Laser Measurement

Figure 5.7: Wall update via geometrical constraint: red points stand for laser points with an arbitrary initial Gaussian noise. The blue line is the prior line with a relatively high uncertainty. Green line stands for updated wall with a lower uncertainty relative to prior line.

It is important to note that there are as many updates corresponding to the number of laser points in this model. For instance, in the figure 5.7, the prior line has been updated four times to give the green line. This type of constraint can only deal with a single point and a single line at a time. Therefore, in the algorithm used a loop has been employed to consider all laser points that correspond to the prior wall.

All the techniques used in the optimization of the Kalman update are used here again. The Mahalanobis distance is one example that can be employed to identify outlier. Using this technique makes updated wall very close to their real position in the environment.

Furthermore, a threshold for updating the location of wall has been defined. Whenever the angle between the constraint update wall and prior wall is greater than 15 degrees,

the algorithm omits this update. The algorithm considers this value to be a calculation error in data association.

Chapter 6

Experiments and Results

6.1

Localization in a Map with Unknown Scale

After several experiments with different number of particles, we discovered that increas- ing the quantity of particles does not guarantee more accurate scale estimation. As an example, within the best case scenario, 1500 particles predict the scale of map with least standard error and closest to the real size of the environment, however, in the same experiment with 3000 particles the results weakened. Figure 6.1 shows the results by implementing different number of particles.

Figure 6.1: Scale estimation result: a) the real scale of map is depicted by the red line. The scale estimation is very close to real scale therefore the plot is not very understand- able. b) The information on (a) is shown in a smaller range for better understanding of standard error.

The number of time steps to particles convergence to the robot’s location varies in different experiments. The table 6.1 illustrates the approximate number of time steps for localization and scale estimation respect to the quantity of particles and approximated run time for every time step.

Table 6.1: Average number of time steps to localize the robot

Number of particles 500 700 1500 3000

#-Step to Converge 113 106 97 111

Each time-step(sec) 0.38 0.53 1.63 9.6

tests with this technique, the particles converge in a symmetric position with respect to the real position of the robot; though, scale estimation is nearly close to the real one. Figure 6.2 presents the percentage of success in several experiments for various numbers of particles.

Figure 6.2: This figure shows the chance of success for scale estimation and localization of the robot in the expecting time step. In some experiment, the robot is localized finally but long after the expected time step.

The method implemented in this section has proven almost successful in robot lo- calization and the estimation of the map scale after about 100 time steps. The average scale factor represented by each particle is remarkably close to the real scale of the map that is 0.05 m/pixel. Occasionally, particles lose their convergence for a short time. This happens while there are several small objects around the robot, especially in rooms and when the robot is turning. The correct location, however, is found after a few steps and the scale estimation is close enough to the real value.

Figures 6.3 show a few steps between step 0 and step 100 for a test for 700 particles. The particles with higher scale factor may jump from a room to another room, simply because the control command has multiplied with their scale factor. However, after localization, the movement of particles is looking more natural.

Figure 6.3: Robot in motion : a) time-step 1. b) time-step 50. c) time-step 80. d) time-step 98.

In document Robot Localization with Weak Maps (Page 40-46)

Related documents