comp 150 probabilistic robotics for human robot
play

COMP 150: Probabilistic Robotics for Human-Robot Interaction - PowerPoint PPT Presentation

COMP 150: Probabilistic Robotics for Human-Robot Interaction Instructor: Jivko Sinapov www.cs.tufts.edu/~jsinapov Today Homework 1 hints Introduction for Particle Filters for localization Localization and Mapping Robot Maps


  1. COMP 150: Probabilistic Robotics for Human-Robot Interaction Instructor: Jivko Sinapov www.cs.tufts.edu/~jsinapov

  2. Today ● Homework 1 hints ● Introduction for Particle Filters for localization

  3. Localization and Mapping

  4. Robot Maps [https://www.pirobot.org/blog/0015/map-1b.png]

  5. Robot Maps [http://www.openrobots.org/morse/doc/1.2/user/advanced_tutorials/ros_nav_tutorial.html]

  6. Robot Maps [https://raw.githubusercontent.com/wiki/introlab/rtabmap/doc/IROS-Kinect-Challenge/combined.png]

  7. Robot Maps [http://rrt.fh-wels.at/images/sites/fancybox/3d_mapping.jpg]

  8. Robot Maps

  9. A Simple 1-D Map

  10. A Simple 1-D Map How would we represent this map using math?

  11. A Simple 1-D Map At t = 1, our robot receives an observation:

  12. A Simple 1-D Map At t = 1, our robot receives an observation: bel(x) x

  13. A Simple 1-D Map At t = 1, our robot receives an observation: bel(x) x

  14. A Simple 1-D Map At t = 1, our robot receives an observation: bel(x) x

  15. A Simple 1-D Map At t = 1, our robot receives an observation: bel(x) x

  16. A Simple 1-D Map At t = 1, our robot receives an observation: bel(x) x

  17. A Simple 1-D Map At t = 1, our robot receives an observation: Clearly, a single Gaussian is insufficient to represent our belief that we may be at either of the 3 doors with equal probability bel(x) x

  18. A Simple 1-D Map At t = 1, our robot receives an observation: Clearly, a single Gaussian is insufficient to represent our belief that we may be at either of the 3 doors with equal probability What if we had an initial estimate of the robot’s location prior to observing and moving? bel(x) x

  19. But what if we don’t know where we are at the start? Or, what if somebody moves the robot manually after it started its operation?

  20. Odometry “Odometry is the use of data from motion sensors to estimate change in position over time. It is used in robotics by some legged or wheeled robots to estimate their position relative to a starting location. This method is sensitive to errors due to the integration of velocity measurements over time to give position estimates. “

  21. Odometry Errors

  22. Basic idea behind Particle Filters x

  23. Now, in 2-D [http://www.ite.uni-karlsruhe.de/METZGER/DIPLOMARBEITEN/dipl2.html]

  24. Robot Pose

  25. Odometry Motion Model

  26. Sampling from the Model

  27. Motion Model

  28. Velocity Models with Different Parameters

  29. Velocity Models with Different Parameters

  30. Example

  31. Initially, we do not know the location of the robot, so the particles are everywhere

  32. Next, the robot sees a door

  33. Therefore, we inflate particles next to a door and shrink the rest

  34. Therefore, we inflate particles next to a door and shrink the rest

  35. Computing the weights p(z 1 |x 1 ) x 1 Before x 1 After x 1

  36. Before, we continue we re-sample our particles to make them all the same size

  37. Before, we continue we re-sample our particles to make them all the same size

  38. Resampling Rules = = =

  39. Resampling • Given : Set S of weighted samples. • Wanted : Random sample, where the probability of drawing x i is given by w i . • Typically done n times with replacement to generate new sample set S’ .

  40. Roulette wheel Resampling w 1 w n w 1 w n w 2 w 2 W n-1 W n-1 w 3 w 3 • Stochastic universal sampling • Roulette wheel • Systematic resampling • Binary search, n log n • Linear time complexity • Easy to implement, low variance [From Thrun’s book “Probabilistic Robotics”]

  41. Next, the robot moves to the right...

  42. Therefore, we have to shift the particles to the right as well

  43. Therefore, we have to shift the particles to the right as well

  44. ...and add some position noise

  45. ...and add some position noise

  46. Next, the robot senses that is next to a door

  47. Next, the robot senses that is next to a door

  48. …we resample again

  49. The robot keeps going to the right...

  50. ...we shift the particles again

  51. ...and we add noise.

  52. And so on...

  53. Now, let’s compare that to some of the other methods

  54. Grid Localization

  55. Markov Localization

  56. KF

  57. Particle Filter

  58. Examples

  59. Localizing using Sonar

  60. 73

  61. 74

  62. 75

  63. 76

  64. 77

  65. 78

  66. Using Ceiling Maps

  67. Vision-Based Localization P(z|x) z h(x)

  68. Under a light Measurement z: P(z|x) :

  69. Close to a light Measurement z: P(z|x) :

  70. Far from a light Measurement z: P(z|x) :

  71. Could the robot use both vision and sonar to localize? How?

  72. Summary Particle filters are an implementation of recursive Bayesian filtering They represent the posterior by a set of weighted samples. In the context of localization, the particles are propagated according to the motion model. They are then weighted according to the likelihood of the observations. In a re-sampling step, new particles are drawn with a probability proportional to the likelihood of the observation.

  73. Localization and Mapping Project Ideas ● Build maps and localize using vision ● 2D and/or 3D vision ● Ceiling Maps ● Incorporate multiple sources of observations for computing p(z1,z2,…,zk|x) ● Integrate existing mapping and localization algorithms into the turtlebot2 code-base

  74. Credits ● Some slides adapted / borrowed from: Alexander Stoytchev Sebastian Thrun

  75. THE END

  76. 89

  77. 90

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend