Got a YouTube account?

New: enable viewer-created translations and captions on your YouTube channel!

English subtitles

← Office Hours Week 1 - Artificial Intelligence for Robotics

Get Embed Code
2 Languages

Showing Revision 2 created 05/25/2016 by Udacity Robot.

  1. [Sebastian Thrun - Professor CS373, Andy Brown - Course Manager CS373]
  2. [Andy:] Welcome to our first office hours. We've seen a lot of really good discussion in the forums.
  3. Now we have Professor Thrun here with me--I'm Andy the moderator in the CS373 forum.
  4. We're going to divide the questions into the course content questions,
  5. and we're going to after that talk about some other questions--
  6. things that are specific to Sebastian's work.
  7. First course content question that a lot of people seemed to have questions about was
  8. when we're talking about the sensing, you introduce these multipliers called
  9. p_hit and p_miss, and you assign values 0.6 and 0.2.
  10. People were confused about where those numbers came from.
  11. [Sebastian:] This is something I just put in ad hoc when I explained it,
  12. and later on they've become the measurement probabilities,
  13. but I didn't want to start talking about probabilities without programming them first.
  14. P_hit would be what's the probability of, say, being next to a door and really seeing it,
  15. and p_miss will be the probability of being next to a door and not seeing it.
  16. There is usually actually four of those.
  17. There are four measurement combinations--
  18. the probability of seeing the right measurement under there is a door
  19. and if there is no door,
  20. the probability of seeing the wrong measurement under these two assumptions,
  21. but two of them are sufficient for the math.
  22. [Andy:] In a related question about your own work, how do you assign these?
  23. You said it was done ad hoc in this little example, but in really designing a robot car,
  24. how do you decide on what these values are going to be?
  25. Is it done experimentally? Is it based on the parameters of the sensors?
  26. [Sebastian:] That's where a lot of meat comes in, and it's certainly meat I didn't really cover in class.
  27. I do cover it in my book.
  28. It depends a lot on the sensor.
  29. So if we use a camera, I use a different model than if we use a range finder.
  30. We use a lot of laser range finders.
  31. If I was using a laser range finder--they measure distances--
  32. and it's not phit/pmiss anymore, it's the probability of measuring
  33. a certain distance in a certain location.
  34. The very first approximation is physics.
  35. You can actually derive what the centrifugal noise in the sensor and characterize those.
  36. But when you just use physics, you often have a very poor ??? on the actual uncertainty,
  37. so when tuning those parameters, you often do this very experimentally.
  38. We go in and try out certain parameters to see which ones work
  39. and then often soften them to make them fit the math.
  40. [Andy:] The next question a lot of people had was does this method we're using
  41. depend on the robot already having a map of its environment?
  42. [Sebastian:] Localization does depend on having a map of the environment.
  43. Everything I taught so far assumes there is a map.
  44. There is an entire field called simultaneous localization and mapping--
  45. or for short, SLAM--that addresses the general problem of acquiring a map at the same time .
  46. I haven't covered this in class.
  47. [Andy:] Those were two of the most heavily voted course content questions.
  48. In a real localizer--I guess you sort of addresses this--but what are we looking for?
  49. We're not looking for doors. We're looking for--?
  50. [Sebastian:] In the Google self-driving car, which is a good example,
  51. we actually have a map of the ground that is not that dissimilar from the way
  52. Google Earth project images on the ground.
  53. Then if you think about the robot having a laser camera, but a camera, that
  54. produces local maps, and these local maps have some of the same features
  55. like lane markings, as our global map.
  56. And then we probability match question is one where we take the local map,
  57. superimpose it over the global map, and see where it matches the best.
  58. It's a search usually in x and y space.
  59. It's also a little search on orientation space, because you might have your orientation slightly wrong.
  60. The likelihood function that replaces our p_hit and p_miss
  61. is then usually a correlation function that says how well does the local map
  62. that you see right now match the global map.
  63. When you shift it to the right position, it usually matches much, much better,
  64. and as a result you get a much larger probability.
  65. [Andy:] Some people were worrying about whether changing road conditions,
  66. whether weather or lighting conditions, things like that,
  67. would greatly affect the usability of the robot car.
  68. [Sebastian:] That's a great question, and we discuss this every day.
  69. Turns out that in certain weather conditions the car is relatively robust right now.
  70. Rain, for example, changes the total appearance of the street,
  71. and we can adjust this with a single constant factor that adjusts
  72. the total brightness of the laser map.
  73. Other things like a complete snow-covered street we have no solution right now it turns out.
  74. What we're doing right now is we just don't drive in snow.
  75. We live in California. There's not much snow here.
  76. When there is snow, we just tell the driver not to use the system.
  77. That's something we have to work on.
  78. I think as we move into things like snow and very massive changes, we have to reference other features.
  79. Maybe there trees around or other structures or rocks.
  80. Typically, snow comes in the mountains so maybe there's mountainous structure.
  81. And we have to toss some of that information into the system.
  82. [Andy:] People are getting very excited in the forums.
  83. They want to actually build their own robotic car.
  84. Some questions have been how much is it going to cost?
  85. If I can't do it because the cost is too high, can I get some Legos and build a robotic car that way?
  86. [Sebastian:] There are a lot of kits you can buy.
  87. I love Lego Mindstorm, is which a wonderful way to experiment with these things.
  88. There are a lot of low-cost robot platforms you can buy.
  89. I don't really recommend to hack into your car.
  90. The reason is the moment you start snipping wires, your car might actually become unsafe.
  91. If you do work with a car, make sure you never, ever
  92. drive this car manually again or you know what you're doing.
  93. We've actually been really tapping into cars,
  94. and we've done things like decoding and understanding
  95. how you use an electric steering booster to turn this in to steering motor
  96. so that the car would be able to steer on computer command not just on human command.
  97. But it's a lot of work, and it's actually very risky, so don't do it yourself.
  98. Rather go and buy yourself a Lego Mindstorm or something similar and play with it.
  99. You can actually study a lot of the same stuff using a Lego kit.
  100. If you make a Lego robot move from the kitchen to the living room, that's actually really impressive.
  101. [Andy:] One last question is for the people who are especially enthusiastic about robotics and AI.
  102. How do you get involved in this field? What can someone do after taking this course?
  103. [Sebastian:] Take this class.
  104. As you know, we've been handing the CVs of our top students onto various companies
  105. like Amazon and Twitter and Facebook and Google.
  106. That's one way to get involved.
  107. That doesn't work for everybody.
  108. The way I got involved is, for one, I had a lot of toys that you could program.
  109. I had a computer. I had little things to move around.
  110. There was a construction set in Germany which I could play with as a kid.
  111. Then I really started becoming a scientist.
  112. I started publishing papers.
  113. I started solving problems that the literature left open--
  114. look into those and see if I could make a contribution.
  115. At the age of about 22, I had my first big, big paper that was at a major conference.
  116. That kind of started me to get into the field and got me really hooked.
  117. The nice thing is I think there are many, many problems around you that require the same technology.
  118. There's tracking problems, estimation problems all over the place, right?
  119. So if you can't afford a robot, why not just by a web camera and put it in your kitchen
  120. and have it, for example, track whether your cooking is good or bad?
  121. That's something that everybody can do with the same technology.
  122. Like today, most cooks occasionally boil water over and it makes your stove wet.
  123. Can you build a system that prevents this?
  124. That's a robotic task that uses the same technology.
  125. If you do this and do this really, really well, you might start a business.
  126. You might find other people to work with you.
  127. You might show it to a professor, and if they got excited about it, they might publish it at a conference.
  128. There are many, many ways into the system, honestly.
  129. Just be creative about it.
  130. [Andy:] It sounds like you're emphasizing you have to think like a roboticist.
  131. That's, I think, what this class is going to help to do.
  132. [Sebastian:] Yeah, what I'm trying to do is make people think like roboticists.
  133. I'm extremely excited that in this class you get to program it yourself.
  134. That's a new thing. When I was a student, I didn't have that possibility.
  135. In our previous class you couldn't do it.
  136. We are not at the point where you can drive your own robot around yet.
  137. I hope to get to this point where we have a good robot simulator so you can play with this.
  138. But we have enough stuff you can just buy.
  139. Most importantly a camera--like a camera on a phone.
  140. You can do localization on a hand-held phone in a room using images.
  141. If you do a really fantastic job, you can start a company and sell it to one of the major players.
  142. It's an open problem to the present day how to do this really well.
  143. There's a lot of technology available today that allows you
  144. to think like a roboticist and still solve the interesting problems--with this class, I hope.
  145. [Andy:] All right. Well, thank you very much.
  146. [Sebastian:] Okay. Thank you.
  147. [CS 373: Programming a Robotic Car - Taught by Professor Sebastian Thrun]
  148. [Udacity -]