Beam Sensor Models Pieter Abbeel UC Berkeley EECS Many slides adapted from Thrun, Burgard and Fox, Probabilistic Robotics TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAAAAAAAAAA Proximity Sensors n The central task is to determine P(z|x), i.e., the probability of a measurement z given that the robot is at position x. n Question: Where do the probabilities come from? n Approach: Let s try to explain a measurement. 2 Page 1! Beam-based Sensor Model n Scan z consists of K measurements. z = {z1, z2 ,..., zK } n Individual measurements are independent given the robot position. K P ( z | x, m) = ∏ P ( z k | x, m) k =1 3 Beam-based Sensor Model K P ( z | x, m) = ∏ P ( z k | x, m) k =1 4 Page 2! Typical Measurement Errors of an Range Measurements 1. Beams reflected by obstacles 2. Beams reflected by persons / caused by crosstalk 3. Random measurements 4. Maximum range measurements 5 Proximity Measurement n n Measurement can be caused by … n a known obstacle. n cross-talk. n an unexpected obstacle (people, furniture, …). n missing all obstacles (total reflection, glass, …). Noise is due to uncertainty … n in measuring distance to known obstacle. n in position of known obstacles. n in position of additional obstacles. n whether obstacle is missed. 6 Page 3! Beam-based Proximity Model Measurement noise 0 zexp Phit ( z | x, m) = η Unexpected obstacles zmax 1 ( z − zexp ) b − 1 e 2 2πb 0 2 zexp zmax ⎧η λ e −λz Punexp ( z | x, m) = ⎨ ⎩ 0 z < zexp ⎫ ⎬ otherwise⎭ 7 Beam-based Proximity Model Random measurement 0 zexp Prand ( z | x, m) = η zmax Max range 0 1 zexp Pmax ( z | x, m) = η z max zmax 1 z small 8 Page 4! Resulting Mixture Density ⎛ α hit ⎞ ⎜ ⎟ ⎜α unexp ⎟ P( z | x, m) = ⎜ α ⎟ ⎜ max ⎟ ⎜ α ⎟ ⎝ rand ⎠ T ⎛ Phit ( z | x, m) ⎞ ⎜ ⎟ ⎜ Punexp ( z | x, m) ⎟ ⋅ ⎜ P ( z | x, m) ⎟ ⎜ max ⎟ ⎜ P ( z | x, m) ⎟ ⎝ rand ⎠ How can we determine the model parameters? 9 Raw Sensor Data Measured distances for expected distance of 300 cm. Sonar Laser 10 Page 5! Approximation n Maximize log likelihood of the data P( z | zexp ) n Search space of n-1 parameters. n n n n n Hill climbing Gradient descent Genetic algorithms … Deterministically compute the n-th parameter to satisfy normalization constraint. 11 Approximation Results Laser 400cm 300cm Sonar Page 6! 12 Example z P(z|x,m) 13 Approximation Results Laser Sonar 15 Page 7! Influence of Angle to Obstacle "sonar-0" 0.25 0.2 0.15 0.1 0.05 0 0 10 20 30 20 30 40 10 50 60 70 0 40 50 60 70 16 Influence of Angle to Obstacle "sonar-1" 0.3 0.25 0.2 0.15 0.1 0.05 0 0 10 20 30 20 30 40 10 50 60 70 0 40 50 60 70 17 Page 8! Influence of Angle to Obstacle "sonar-2" 0.3 0.25 0.2 0.15 0.1 0.05 0 0 10 20 30 20 30 40 10 50 60 70 0 40 50 60 70 18 Influence of Angle to Obstacle "sonar-3" 0.25 0.2 0.15 0.1 0.05 0 0 10 20 30 20 30 40 10 50 60 70 0 40 50 60 70 19 Page 9! Summary Beam-based Model n n n Assumes independence between beams. n Justification? n Overconfident! Models physical causes for measurements. n Mixture of densities for these causes. n Assumes independence between causes. Problem? Implementation n n Learn parameters based on real data. Different models should be learned for different angles at which the sensor beam hits the obstacle. n Determine expected distances by ray-tracing. n Expected distances can be pre-processed. Page 10! 20