|
Algorithm 1 Improved probabilistic algorithm |
-
Input:
previous state and sensor observations (Initialization)
-
Output:
threshold of particle number [10];
-
1:
= sample motion model();
-
2:
= likelihood field(), (Update);
-
3:
= +<>, (Resampling);
-
4:
if d> then
-
5:
generate particle set center on , (Incorporate visual observation)
-
6:
= <,>
-
7:
else= random particles
-
8:
end if
-
9:
add to with probability ()
|