Robotics Tasks. CS 188: Artificial Intelligence Spring Manipulator Robots. Mobile Robots. Degrees of Freedom. Sensors and Effectors

Similar documents
Announcements. CS 188: Artificial Intelligence Fall Robot motion planning! Today. Robotics Tasks. Mobile Robots

CS 188: Artificial Intelligence Fall Announcements

Local Search Methods. CS 188: Artificial Intelligence Fall Announcements. Hill Climbing. Hill Climbing Diagram. Today

CS 188: Artificial Intelligence Spring Today

Today. CS 188: Artificial Intelligence Fall Example: Boolean Satisfiability. Reminder: CSPs. Example: 3-SAT. CSPs: Queries.

Spring 2010: Lecture 9. Ashutosh Saxena. Ashutosh Saxena

Announcements. CS 188: Artificial Intelligence Fall Reminder: CSPs. Today. Example: 3-SAT. Example: Boolean Satisfiability.

CS 188: Artificial Intelligence Fall 2008

Announcements. CS 188: Artificial Intelligence Spring Production Scheduling. Today. Backtracking Search Review. Production Scheduling

Robotics. CSPP Artificial Intelligence March 10, 2004

ECE276B: Planning & Learning in Robotics Lecture 5: Configuration Space

Planning in Mobile Robotics

CS 188: Artificial Intelligence Spring Announcements

Sung-Eui Yoon ( 윤성의 )

Robotics. Chapter 25. Chapter 25 1

Lecture 3: Motion Planning 2

Computational Geometry csci3250. Laura Toma. Bowdoin College

Robot Motion Planning

Probabilistic Methods for Kinodynamic Path Planning

Lecture 3: Motion Planning (cont.)

Motion Planning. Howie CHoset

Visibility Graph. How does a Mobile Robot get from A to B?

Planning Techniques for Robotics Planning Representations: Skeletonization- and Grid-based Graphs

Computer Game Programming Basic Path Finding

Algorithmic Robotics and Motion Planning

CMU-Q Lecture 4: Path Planning. Teacher: Gianni A. Di Caro

Announcements. CS 188: Artificial Intelligence Spring Today. A* Review. Consistency. A* Graph Search Gone Wrong

CS 188: Artificial Intelligence

CS 188: Artificial Intelligence Fall 2011

Last update: May 6, Robotics. CMSC 421: Chapter 25. CMSC 421: Chapter 25 1

CS 188: Artificial Intelligence. Recap Search I

Lecture 18 Kinematic Chains

Robotics. Chapter 25-b. Chapter 25-b 1

Robot Motion Planning and (a little) Computational Geometry

Path Planning for Point Robots. NUS CS 5247 David Hsu

Planning: Part 1 Classical Planning

Robot Motion Control Matteo Matteucci

Motion Planning 2D. Corso di Robotica Prof. Davide Brugali Università degli Studi di Bergamo

Announcements. CS 188: Artificial Intelligence Spring Advanced Applications. Robot folds towels. Robotic Control Tasks

CS 188: Artificial Intelligence Spring Announcements

Autonomous and Mobile Robotics Prof. Giuseppe Oriolo. Motion Planning 1 Retraction and Cell Decomposition

video 1 video 2 Motion Planning (It s all in the discretization) Digital Actors Basic problem Basic problem Two Possible Discretizations

Geometric Path Planning McGill COMP 765 Oct 12 th, 2017

Introduction to Information Science and Technology (IST) Part IV: Intelligent Machines and Robotics Planning

MEV 442: Introduction to Robotics - Module 3 INTRODUCTION TO ROBOT PATH PLANNING

Non-holonomic Planning

Unit 5: Part 1 Planning

Path Planning. Jacky Baltes Dept. of Computer Science University of Manitoba 11/21/10

Lecture 11 Combinatorial Planning: In the Plane

Configuration Space of a Robot

CS 188: Artificial Intelligence. Recap: Search

Robotics/Perception II

Introduction to State-of-the-art Motion Planning Algorithms. Presented by Konstantinos Tsianos

Robots are built to accomplish complex and difficult tasks that require highly non-linear motions.

CS 188: Artificial Intelligence Spring Announcements

Lesson 1 Introduction to Path Planning Graph Searches: BFS and DFS

Inverse Kinematics. Given a desired position (p) & orientation (R) of the end-effector

10/11/07 1. Motion Control (wheeled robots) Representing Robot Position ( ) ( ) [ ] T

Visual Navigation for Flying Robots. Motion Planning

Trajectory Optimization

Sampling-Based Motion Planning

Jane Li. Assistant Professor Mechanical Engineering Department, Robotic Engineering Program Worcester Polytechnic Institute

Lecture 14: Path Planning II. Autonomous Robots, Carnegie Mellon University Qatar

Humanoid Robotics. Inverse Kinematics and Whole-Body Motion Planning. Maren Bennewitz

Assignment 1 is out! Due: 9 Sep 23:59! Can work in a group of 2-3 students.! NO cheating!!!! Submit in turnitin! Code + report!

Recap Hill Climbing Randomized Algorithms SLS for CSPs. Local Search. CPSC 322 Lecture 12. January 30, 2006 Textbook 3.8

Can work in a group of at most 3 students.! Can work individually! If you work in a group of 2 or 3 students,!

Geometric Path Planning for General Robot Manipulators

Robot Motion Planning

Road Map Methods. Including material from Howie Choset / G.D. Hager S. Leonard

Humanoid Robotics. Inverse Kinematics and Whole-Body Motion Planning. Maren Bennewitz

Approximate path planning. Computational Geometry csci3250 Laura Toma Bowdoin College

Last 2 modules were about. What the other robot did : Robotics systems and science Lecture 15: Grasping and Manipulation

Algorithms for Sensor-Based Robotics: Sampling-Based Motion Planning

Announcements. CS 188: Artificial Intelligence Fall 2010

Lecture Schedule Week Date Lecture (W: 3:05p-4:50, 7-222)

This week. CENG 732 Computer Animation. Warping an Object. Warping an Object. 2D Grid Deformation. Warping an Object.

CS 188: Artificial Intelligence Fall 2011

Manipula0on Algorithms Mo0on Planning. Mo#on Planning I. Katharina Muelling (NREC, Carnegie Mellon University) 1

Control of industrial robots. Kinematic redundancy

Jane Li. Assistant Professor Mechanical Engineering Department, Robotic Engineering Program Worcester Polytechnic Institute

Advanced Robotics Path Planning & Navigation

Robotics (Kinematics) Winter 1393 Bonab University

ROBOTICS (5 cfu) 09/02/2016. Last and first name Matricola Graduating

CS 188: Artificial Intelligence Fall 2008

Announcements. CS 188: Artificial Intelligence Fall Large Scale: Problems with A* What is Search For? Example: N-Queens

Jane Li. Assistant Professor Mechanical Engineering Department, Robotic Engineering Program Worcester Polytechnic Institute

Mobile Robots: An Introduction.

Path Planning. Marcello Restelli. Dipartimento di Elettronica e Informazione Politecnico di Milano tel:

Navigation and Metric Path Planning

6.141: Robotics systems and science Lecture 10: Implementing Motion Planning

Specialized PRM Trajectory Planning For Hyper-Redundant Robot Manipulators

CS 188: Artificial Intelligence

Autonomous Mobile Robots, Chapter 6 Planning and Navigation Where am I going? How do I get there? Localization. Cognition. Real World Environment

Angelic Hierarchical Planning. Bhaskara Marthi Stuart Russell Jason Wolfe Willow Garage UC Berkeley UC Berkeley

Inverse Kinematics of 6 DOF Serial Manipulator. Robotics. Inverse Kinematics of 6 DOF Serial Manipulator

Introduction to Mobile Robotics

10/25/2018. Robotics and automation. Dr. Ibrahim Al-Naimi. Chapter two. Introduction To Robot Manipulators

Robotic Motion Planning: Review C-Space and Start Potential Functions

Kinematics, Kinematics Chains CS 685

Transcription:

CS 188: Artificial Intelligence Spring 2006 Lecture 5: Robot Motion Planning 1/31/2006 Dan Klein UC Berkeley Many slides from either Stuart Russell or Andrew Moore Motion planning (today) How to move from A to B Known obstacles Offline planning Localization (later) Where exactly am I? Known map Ongoing localization (why?) Robotics Tasks Mapping (much later) What s the world like? Exploration / discovery SLAM: simultaneous localization and mapping Mobile Robots High-level objectives: move robots around obstacles Low-level: fine motor control to achieve motion Why is this hard? Immovable Obstacles Manipulator Robots High-level goals: reconfigure environment Low-level: move from configuration A to B (point-to-point motion) Why is this already hard? Also: compliant motion Start Configuration Goal Configuration Sensors and Effectors Sensors vs. Percepts Agent programs receive percepts Agent bodies have sensors Includes proprioceptive sensors Real world: sensors break, give noisy answers, miscalibrate, etc. Effectors vs. Actuators Agent programs have actuators (control lines) Agent bodies have effectors (gears and motors) Real-world: wheels slip, motors fail, etc. Degrees of Freedom The degrees of freedom are the numbers required to specify a robot s configuration Positional DOFs: (x, y, z) of free-flying robot 2 DOFs direction robot is facing Effector DOFs Arm angle Wing position Static state: robot shape and position 3 DOFs Dynamic state: derivatives of static DOFs (why have these?) Question: How many DOFs for a polyhedron free-flying in 3D space? 1

How many DOFs? What are the natural coordinates for specifying the robot s configuration? These are the configuration space coordinates What are the natural coordinates for specifying the effector tip s position? These are the work space coordinates Example Example How many DOFs? How does this compare to your arm? How many are required for arbitrary positioning of end-effector? Holonomicity Holonomic robots control all their DOFs (e.g. manipulator arms) Easier to control Harder to build Non- holonomic robots do not directly control all DOFs (e.g. a car) Configuration Space Workspace: The world s (x, y) system Obstacles specified here Configuration space The robot s state Planning happens here Kinematics Configuration Space Kinematics The mapping from configurations to workspace coordinates Generally involves some trigonometry Usually pretty easy Inverse Kinematics The inverse: effector positions to configurations Usually non-unique (why?) Forward kinematics Configuration space Just a coordinate system Not all points are reachable / legal Legal configurations: No collisions No self-intersection 2

Obstacles in C-Space More Obstacles What / where are the obstacles? Remaining space is free space Topology Example: 2D Polygons You very quickly get into issues of topology: Point robot in 3D: R 3 Directional robot with fixed position in 3D: SO(3) Two rotational-jointed robot in 2D: S 1 xs 1 For the present purposes, we ll basically ignore these issues In practice, you have to deal with it properly Workspace Configuration Space Example: Rotation Example: A Less Simple Arm 3

Degrees of freedom Summary Legal robot configurations form configuration space Motion as Search Motion planning as path- finding problem Problem: configuration space is continuous Problem: under-constrained motion Problem: configuration space can be complex Obstacles have complex images in c- space Why are there two paths from 1 to 2? Decomposition Methods Exact Decomposition? With polygon obstacles: decompose exactly Problems? Doesn t scale at all Doesn t work with complex, curved obstacles Break c-space into discrete regions Solve as a discrete problem Approximate Decomposition Hierarchical Decomposition Break c- space into a grid Search (A*, etc) What can go wrong? If no path found, can subdivide and repeat Problems? Still scales poorly Incomplete* Wiggly paths S G Actually used in practical systems But: Not optimal Not complete Still hopeless above a small number of dimensions 4

Skeletonization Methods Visibility Graphs Decomposition methods turn configuration space into a grid Skeletonization methods turn it into a set of points, with preset linear path between them Shortest paths: No obstacles: straight line Otherwise: will go from vertex to vertex Fairly obvious, but somewhat awkward to prove Visibility methods: All free vertex-to-vertex lines (visibility graph) Search using, e.g. A* Can be done in O(n 3 ) easily, O(n 2 log(n)) less easily Problems? Bang, screech! Not robust to control errors Wrong kind of optimality? q start q goal Voronoi Decomposition Voronoi regions: points colored by closest obstacle R G Voronoi diagram: borders between regions Can be calculated efficiently for points (and polygons) in 2D In higher dimensions, some approximation methods B Y Voronoi Decomposition Algorithm: Compute the Voronoi diagram of the configuration space Compute shortest path (line) from start to closest point on Voronoi diagram Compute shortest path (line) from goal to closest point on Voronoi diagram. Compute shortest path from start to goal along Voronoi diagram Problems: Hard over 2D, hard with complex obstacles Can do weird things: Probabilistic Roadmaps Roadmap Example Idea: just pick random points as nodes in a visibility graph This gives probabilistic roadmaps Very successful in practice Lets you add points where you need them If insufficient points, incomplete, or weird paths 5

Potential Field Methods So far: implicit preference for short paths Rational agent should balance distance with risk! Idea: introduce cost for being close to an obstacle Can do this with discrete methods (how?) Usually most natural with continuous methods Potential Fields Cost for: Being far from goal Being near an obstacle Go downhill What could go wrong? Define a function u q ~ u : Configurations R Such that u huge Write Potential Field Methods as you move towards an obstacle u small as you move towards the goal d g q = distance from q to q goal ~ ~ ~ d i q = distance from q to nearest obstacle ~ ~ One definition of u : u( q) = di ( q) d g ( q) 1 2 1 1 Preferreddefinition : u( q) = ( d g ( q) ) + η 2 2 2 d ( q) i SIMPLE MOTION PLANNER: Gradient descent on u Local Search Methods Queue-based algorithms keep fallback options (backtracking) Local search: improve what you have until you can t make it better Generally much more efficient (but incomplete) Gradient Methods How to deal with continous (therefore infinite) state spaces? Discretization: bucket ranges of values E.g. force integral coordinates Continuous optimization E.g. gradient ascent (or descent) Hill Climbing Simple, general idea: Start wherever Always choose the best neighbor If no neighbors have better scores than current, quit Why can this be a terrible idea? Complete? Optimal? What s good about it? Image from vias.org 6

Hill Climbing Diagram Random restarts? Random sideways steps? 7