CS 547: Sensing and Planning in Robotics Gaurav S. Sukhatme Computer Science Robotic Embedded Systems Laboratory University of Southern California

Slides:



Advertisements
Similar presentations
CSE-573 Artificial Intelligence Partially-Observable MDPS (POMDPs)
Advertisements

Reasoning Under Uncertainty: Bayesian networks intro Jim Little Uncertainty 4 November 7, 2014 Textbook §6.3, 6.3.1, 6.5, 6.5.1,
Hidden Markov Models Reading: Russell and Norvig, Chapter 15, Sections
Monte Carlo Localization for Mobile Robots Karan M. Gupta 03/10/2004
Introduction of Probabilistic Reasoning and Bayesian Networks
1 Slides for the book: Probabilistic Robotics Authors: Sebastian Thrun Wolfram Burgard Dieter Fox Publisher: MIT Press, Web site for the book & more.
Bayesian Robot Programming & Probabilistic Robotics Pavel Petrovič Department of Applied Informatics, Faculty of Mathematics, Physics and Informatics
Bayes Filters Pieter Abbeel UC Berkeley EECS Many slides adapted from Thrun, Burgard and Fox, Probabilistic Robotics TexPoint fonts used in EMF. Read the.
Planning under Uncertainty
Recursive Bayes Filtering Advanced AI
10/28 Temporal Probabilistic Models. Temporal (Sequential) Process A temporal process is the evolution of system state over time Often the system state.
1.Examples of using probabilistic ideas in robotics 2.Reverend Bayes and review of probabilistic ideas 3.Introduction to Bayesian AI 4.Simple example.
Particle Filters Pieter Abbeel UC Berkeley EECS Many slides adapted from Thrun, Burgard and Fox, Probabilistic Robotics TexPoint fonts used in EMF. Read.
Probabilistic Methods in Mobile Robotics. Stereo cameras Infra-red Sonar Laser range-finder Sonar Tactiles.
CS 547: Sensing and Planning in Robotics Gaurav S. Sukhatme Computer Science Robotic Embedded Systems Laboratory University of Southern California
Part 3 of 3: Beliefs in Probabilistic Robotics. References and Sources of Figures Part 1: Stuart Russell and Peter Norvig, Artificial Intelligence, 2.
CS 547: Sensing and Planning in Robotics Gaurav S. Sukhatme Computer Science Robotic Embedded Systems Laboratory University of Southern California
City College of New York 1 Dr. John (Jizhong) Xiao Department of Electrical Engineering City College of New York A Taste of Localization.
© sebastian thrun, CMU, C Statistical Techniques In Robotics Sebastian Thrun and Geoffrey Gordon Carnegie Mellon University
Probability: Review TexPoint fonts used in EMF.
Part 2 of 3: Bayesian Network and Dynamic Bayesian Network.
Monte Carlo Localization
CS 547: Sensing and Planning in Robotics Gaurav S. Sukhatme Computer Science Robotic Embedded Systems Laboratory University of Southern California
Probabilistic Robotics Introduction Probabilities Bayes rule Bayes filters.
© sebastian thrun, CMU, CS226 Statistical Techniques In Robotics Sebastian Thrun (Instructor) and Josh Bao (TA)
CPSC 322, Lecture 32Slide 1 Probability and Time: Hidden Markov Models (HMMs) Computer Science cpsc322, Lecture 32 (Textbook Chpt 6.5) March, 27, 2009.
CS 547: Sensing and Planning in Robotics Gaurav S. Sukhatme Computer Science Robotics Research Laboratory University of Southern California
CPSC 422, Lecture 14Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 14 Feb, 4, 2015 Slide credit: some slides adapted from Stuart.
CSE 590ST Statistical Methods in Computer Science Instructor: Pedro Domingos.
CS 188: Artificial Intelligence Fall 2009 Lecture 19: Hidden Markov Models 11/3/2009 Dan Klein – UC Berkeley.
CSE 515 Statistical Methods in Computer Science Instructor: Pedro Domingos.
Probability in Robotics
Markov Localization & Bayes Filtering
Lab 4 1.Get an image into a ROS node 2.Find all the orange pixels (suggest HSV) 3.Identify the midpoint of all the orange pixels 4.Explore the findContours.
CSE-473 Artificial Intelligence Partially-Observable MDPS (POMDPs)
Reasoning Under Uncertainty: Bayesian networks intro CPSC 322 – Uncertainty 4 Textbook §6.3 – March 23, 2011.
Visibility Graph. Voronoi Diagram Control is easy: stay equidistant away from closest obstacles.
1 Robot Environment Interaction Environment perception provides information about the environment’s state, and it tends to increase the robot’s knowledge.
CPSC 322, Lecture 32Slide 1 Probability and Time: Hidden Markov Models (HMMs) Computer Science cpsc322, Lecture 32 (Textbook Chpt 6.5.2) Nov, 25, 2013.
Computer Vision Group Prof. Daniel Cremers Autonomous Navigation for Flying Robots Lecture 5.2: Recap on Probability Theory Jürgen Sturm Technische Universität.
Computer Vision Group Prof. Daniel Cremers Autonomous Navigation for Flying Robots Lecture 5.3: Reasoning with Bayes Law Jürgen Sturm Technische Universität.
4 Proposed Research Projects SmartHome – Encouraging patients with mild cognitive disabilities to use digital memory notebook for activities of daily living.
Probability in Robotics Trends in Robotics Research Reactive Paradigm (mid-80’s) no models relies heavily on good sensing Probabilistic Robotics (since.
Probabilistic Robotics Introduction.  Robotics is the science of perceiving and manipulating the physical world through computer-controlled devices.
Probability in Robotics Trends in Robotics Research Reactive Paradigm (mid-80’s) no models relies heavily on good sensing Probabilistic Robotics (since.
Probabilistic Robotics
CS 547: Sensing and Planning in Robotics Gaurav S. Sukhatme Computer Science Robotic Embedded Systems Laboratory University of Southern California
Probabilistic Robotics Introduction Probabilities Bayes rule Bayes filters.
CSE 473 Uncertainty. © UW CSE AI Faculty 2 Many Techniques Developed Fuzzy Logic Certainty Factors Non-monotonic logic Probability Only one has stood.
CS382 Introduction to Artificial Intelligence Lecture 1: The Foundations of AI and Intelligent Agents 24 January 2012 Instructor: Kostas Bekris Computer.
Probabilistic Robotics Introduction. SA-1 2 Introduction  Robotics is the science of perceiving and manipulating the physical world through computer-controlled.
Probabilistic Robotics Probability Theory Basics Error Propagation Slides from Autonomous Robots (Siegwart and Nourbaksh), Chapter 5 Probabilistic Robotics.
General approach: A: action S: pose O: observation Position at time t depends on position previous position and action, and current observation.
Matching ® ® ® Global Map Local Map … … … obstacle Where am I on the global map?                                   
CSE 468/568 Deadlines Lab1 grades out tomorrow (5/1) HW2 grades out by weekend Lab 3 grades out next weekend HW3 – Probability homework out Due 5/7 FINALS:
Review of Probability.
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 14
Markov ó Kalman Filter Localization
State Estimation Probability, Bayes Filtering
Probability Review 11/22/2018.
CSE-490DF Robotics Capstone
CSE 515 Statistical Methods in Computer Science
A Short Introduction to the Bayes Filter and Related Models
EE-565: Mobile Robotics Non-Parametric Filters Module 2, Lecture 5
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 14
Probability Review 2/24/2019.
Probability in Robotics
Reinforcement Learning Dealing with Partial Observability
basic probability and bayes' rule
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 14
Presentation transcript:

CS 547: Sensing and Planning in Robotics Gaurav S. Sukhatme Computer Science Robotic Embedded Systems Laboratory University of Southern California (Slides adapted from Thrun, Burgard, Fox book slides)

Administrative Matters Signup - please fill in the details on the signup sheet if you are not yet enrolled Web page list Grading (2 quizzes 40%, class participation 10%, and project 50%) TA: Megha Gupta Note: First quiz today, scores available at the end of the week to help you decide if you want to stay in the class

Project and Textbook Project –Small teams or individual projects –Equipment (ROS, PR2) Book –Probabilistic Robotics (Thrun, Burgard, Fox) –Available at the Bookstore

I expect you to come REGULARLY to class visit the class web page FREQUENTLY read EVERY DAY SPEAK UP when you have a question START EARLY on your project If you don’t –the likelihood of learning anything is small –the likelihood of obtaining a decent grade is small

In this course you will –Learn how to address the fundamental problem of robotics i.e. how to combat uncertainty using the tools of probability theory –Explore the advantages and shortcomings of the probabilistic method –Survey modern applications of robots –Read some cutting edge papers from the literature

Syllabus and Class Schedule 8/22Introduction and probability theory background 8/29Bayesian filtering 9/5(no class) Labor Day 9/12PR2 and ROS tutorial 9/19Sensor models and perception 9/26Quiz 1 (Gaurav and Megha at IROS) 10/3Action models 10/10Bayesian filtering revisited: the Kalman filter & Particle filtering 10/17The Markov decision process 10/24The partially observable Markov decision process 10/31Interim project updates (short presentations and demos) 11/7Mixture models and the Expectation-Maximization algorithm 11/14Quiz 2 (Gaurav on travel) and extended office hours 11/21 Extended office hours 11/28 Final project presentations

Robotics Yesterday

Robotics Today

Robotics Tomorrow?

What is Robotics/a Robot ? Background –Term robot invented by Capek in 1921 to mean a machine that would willing and ably do our dirty work for us –The first use of robotics as a word appears in Asimov’s science fiction Definition (Brady): Robotics is the intelligent connection of perception to action History (Wikipedia entry is a reasonable intro)

Trends in Robotics Research Reactive Paradigm (mid-80’s) no models relies heavily on good sensing Probabilistic Robotics (since mid-90’s) seamless integration of models and sensing inaccurate models, inaccurate sensors Hybrids (since 90’s) model-based at higher levels reactive at lower levels Classical Robotics (mid-70’s) exact models no sensing necessary Robots are moving away from factory floors to Entertainment, Toys, Personal service. Medicine, Surgery, Industrial automation (mining, harvesting), Hazardous environments (space, underwater)

Tasks to be Solved by Robots  Planning  Perception  Modeling  Localization  Interaction  Acting  Manipulation  Cooperation ...

Uncertainty is Inherent/Fundamental Uncertainty arises from four major factors: –Environment is stochastic, unpredictable –Robots actions are stochastic –Sensors are limited and noisy –Models are inaccurate, incomplete Odometry Data Range Data

Probabilistic Robotics Explicit representation of uncertainty using the calculus of probability theory Perception = state estimation Action = utility optimization

Advantages and Pitfalls Can accommodate inaccurate models Can accommodate imperfect sensors Robust in real-world applications Best known approach to many hard robotics problems Computationally demanding False assumptions Approximate

Pr(A) denotes probability that proposition A is true. Axioms of Probability Theory

A Closer Look at Axiom 3 B

Using the Axioms

Discrete Random Variables X denotes a random variable. X can take on a finite number of values in {x 1, x 2, …, x n }. P(X=x i ), or P(x i ), is the probability that the random variable X takes on value x i. P( ) is called probability mass function. E.g..

Continuous Random Variables X takes on values in the continuum. p(X=x), or p(x), is a probability density function. E.g. x p(x)

Joint and Conditional Probability P(X=x and Y=y) = P(x,y) If X and Y are independent then P(x,y) = P(x) P(y) P(x | y) is the probability of x given y P(x | y) = P(x,y) / P(y) P(x,y) = P(x | y) P(y) If X and Y are independent then P(x | y) = P(x)

Law of Total Probability Discrete caseContinuous case

Reverend Thomas Bayes, FRS ( ) Clergyman and mathematician who first used probability inductively and established a mathematical basis for probability inference

Bayes Formula

Conditioning Total probability: Bayes rule and background knowledge:

Simple Example of State Estimation Suppose a robot obtains measurement z What is P(open|z)?

Causal vs. Diagnostic Reasoning P(open|z) is diagnostic. P(z|open) is causal. Often causal knowledge is easier to obtain. Bayes rule allows us to use causal knowledge: count frequencies!

Example P(z|open) = 0.6P(z|  open) = 0.3 P(open) = P(  open) = 0.5 z raises the probability that the door is open.

Combining Evidence Suppose our robot obtains another observation z 2. How can we integrate this new information? More generally, how can we estimate P(x| z 1...z n ) ? (next lecture)

Example: Second Measurement P(z 2 |open) = 0.5P(z 2 |  open) = 0.6 P(open|z 1 )= 2/3 z 2 lowers the probability that the door is open.

Actions Often the world is dynamic since –actions carried out by the robot, –actions carried out by other agents, –or just the time passing by change the world. How can we incorporate such actions?

Typical Actions The robot turns its wheels to move The robot uses its manipulator to grasp an object Actions are never carried out with absolute certainty. In contrast to measurements, actions generally increase the uncertainty.

Modeling Actions To incorporate the outcome of an action u into the current “belief”, we use the conditional pdf P(x|u,x’) This term specifies the pdf that executing u changes the state from x’ to x.

Example: Closing the door

State Transitions P(x|u,x’) for u = “close door”: If the door is open, the action “close door” succeeds in 90% of all cases.

Integrating the Outcome of Actions Continuous case: Discrete case:

Example: The Resulting Belief

Next Lecture Bayesian Filtering –The Markov assumption –A recursive filter from Bayes rule –Examples