Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:05,122 --> 00:00:10,540
In this lecture I will continue
talking about occupancy grid mapping.
2
00:00:10,540 --> 00:00:15,340
We will define more mathematical notations
to discuss the mapping algorithm.
3
00:00:16,980 --> 00:00:22,150
Remember, we want to update
the occupancy probability of each cell
4
00:00:22,150 --> 00:00:25,550
from our measurements
in a Bayesian framework.
5
00:00:25,550 --> 00:00:29,670
However, keeping track of
probabilities directly can be hard.
6
00:00:31,380 --> 00:00:34,980
Instead of using occupancy
probability itself,
7
00:00:34,980 --> 00:00:39,720
let me introduce a new concept that
will make our computation really simple.
8
00:00:41,240 --> 00:00:44,560
If there is a probability
of something happening,
9
00:00:44,560 --> 00:00:49,860
written as p(X) and
the odds can be considered as a ratio.
10
00:00:51,170 --> 00:00:55,150
This ratio is the probability
of the thing happening
11
00:00:55,150 --> 00:00:57,650
over the probability of
the thing not happening.
12
00:01:00,110 --> 00:01:05,306
We are going to use the odds of a cell
occupied, which can be expressed
13
00:01:05,306 --> 00:01:10,250
as shown on the slide using
the posterior probability notation.
14
00:01:11,788 --> 00:01:17,270
Applying Bayes' rule, we can rewrite
the odds to include the sensor model term,
15
00:01:17,270 --> 00:01:21,880
the prior term, or both,
the numerator and the denominator.
16
00:01:23,160 --> 00:01:27,000
Then the evidence term
p(z) naturally goes away.
17
00:01:29,060 --> 00:01:32,710
Things get simpler when we take
the logarithm of the odds.
18
00:01:33,960 --> 00:01:36,936
Let's take the log of both
sides of the equation.
19
00:01:36,936 --> 00:01:41,371
Note that the left-hand side
includes the posterior odds and
20
00:01:41,371 --> 00:01:45,900
the right-hand side includes
the sensor model and the prior.
21
00:01:48,180 --> 00:01:51,530
Because of the characteristics
of log functions,
22
00:01:51,530 --> 00:01:56,820
the two terms multiplied on the right-hand
side gets separated into an addition.
23
00:01:58,780 --> 00:02:03,312
This is a formula for the log-odds
update of occupancy grid mapping.
24
00:02:05,959 --> 00:02:10,692
The map stores the log-odds
values of each cell and
25
00:02:10,692 --> 00:02:16,440
the measurement model is
represented as a log-odds as well.
26
00:02:16,440 --> 00:02:21,790
The computation for map updates then
becomes additions of those log odds.
27
00:02:23,840 --> 00:02:29,462
There are two things you need to remember
when you apply this update rule.
28
00:02:29,462 --> 00:02:33,830
First, the update is done only for
observed cells.
29
00:02:35,290 --> 00:02:39,190
Second, the updated values become priors
30
00:02:39,190 --> 00:02:42,070
when you receive new measurements
in the future time steps.
31
00:02:43,550 --> 00:02:45,430
The update rule becomes recursive.
32
00:02:47,150 --> 00:02:49,650
Let me show how the update
works in detail.
33
00:02:51,400 --> 00:02:55,450
We will first have a closer look
at the measurement model and
34
00:02:55,450 --> 00:02:57,710
think about the two cases of measurements.
35
00:02:59,510 --> 00:03:02,470
As we defined in the previous lecture,
36
00:03:02,470 --> 00:03:06,430
a cell will be observed as
either occupied or free.
37
00:03:07,920 --> 00:03:10,690
Of course, there are many
cells we don't even observe.
38
00:03:11,930 --> 00:03:17,462
We will simply not update anything for
these cells.
39
00:03:17,462 --> 00:03:25,036
For the occupied measurements, we can
write the log-odds occupied as shown.
40
00:03:25,036 --> 00:03:30,876
For the free measurements,
we can write the log-odd free like this.
41
00:03:30,876 --> 00:03:36,714
Note that the conditioning
value of m is reversed for
42
00:03:36,714 --> 00:03:43,091
the free case to indicate that
m is 0 matches with z = 0.
43
00:03:43,091 --> 00:03:46,311
Keeping the update rule in mind,
44
00:03:46,311 --> 00:03:52,070
let's look at a simple example
of occupancy grid mapping.
45
00:03:54,390 --> 00:03:57,679
We have these values for
the measurement model parameters.
46
00:03:59,400 --> 00:04:03,860
In a small occupancy grid map
initialized with zero log-odds values.
47
00:04:06,730 --> 00:04:11,270
This initialization is equivalent
to having the same probability
48
00:04:11,270 --> 00:04:14,610
of the cells being occupied and
being free.
49
00:04:17,030 --> 00:04:21,220
Now we receive a new measurement
from our range sensor,
50
00:04:21,220 --> 00:04:23,800
which emits a single ray in this example.
51
00:04:25,190 --> 00:04:30,310
As you have seen, the yellow cell
is measured as being occupied and
52
00:04:30,310 --> 00:04:34,110
the light blue cells are measured
as being free empty space.
53
00:04:36,620 --> 00:04:41,781
For the cells that are observed to
be occupied, we update the log-odd
54
00:04:41,781 --> 00:04:47,660
by adding the log-odd occupied
measurement parameter, 0.9 in this case.
55
00:04:50,060 --> 00:04:55,080
For the cells that are observed to
be free, we update the log-odd by
56
00:04:55,080 --> 00:04:59,589
subtracting the log-odd free
measurement parameter, 0.7.
57
00:05:02,530 --> 00:05:07,200
After all the updates, we move on to
get ready to take more measurements.
58
00:05:09,040 --> 00:05:10,600
When we receive a new measurement,
59
00:05:11,760 --> 00:05:16,180
we update the observed cells in
the same way as the previous moment.
60
00:05:17,910 --> 00:05:23,400
You can see that as the cells
are observed multiple times being free,
61
00:05:23,400 --> 00:05:24,970
they start to get darker.
62
00:05:26,160 --> 00:05:31,510
This means that our belief of those
cells being occupied gets lower.
63
00:05:34,360 --> 00:05:38,690
You just have seen a simple
example of occupancy grid mapping.
64
00:05:39,960 --> 00:05:45,590
In practice and for your assignments, a
range sensor will have more than one ray.
65
00:05:46,780 --> 00:05:52,136
Additionally, you will need to find
out what cells are observed based
66
00:05:52,136 --> 00:05:57,151
on your pose estimate of the robots and
distance measurements.
67
00:05:57,151 --> 00:05:59,856
We are going to talk about
that in the next lecture.6228
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.