l ecture 26
play

L ECTURE 26: P ATH P LANNING 1 I NSTRUCTOR : G IANNI A. D I C ARO - PowerPoint PPT Presentation

16-311-Q I NTRODUCTION TO R OBOTICS F ALL 17 L ECTURE 26: P ATH P LANNING 1 I NSTRUCTOR : G IANNI A. D I C ARO PLANNING To plan or not to plan, that is the question . Planning: Sequence of actions to achieve a given goal (usually


  1. 16-311-Q I NTRODUCTION TO R OBOTICS F ALL ’17 L ECTURE 26: P ATH P LANNING 1 I NSTRUCTOR : G IANNI A. D I C ARO

  2. PLANNING To plan or not to plan, that is the question …. • Planning: Sequence of actions to achieve a given goal (usually without timing specifications), or towards achieving a given goal by achieving a set of sub-goals • Scheduling: Planning + Timing (usually without space considerations) • Task planning: Sequence of actions that accomplish a large goal (e.g., building a house) • Motion Planning: Generation of motions through space … Planning is a top-down approach to problem solving that requires a (reliable) model of the world / problem, to be able to e ff ectively reason about it! 2

  3. DELIBERATIVE ROBOT CONTROL ARCHITECTURE Top-down approach Deliberation: Thoughtfulness in decision and to problem solving action ➔ Thinking hard: model, reason and plan Act Model Perception Plan Environment Sense Iterative, Closed-loop SENSE-(MODEL)-PLAN-ACT Perception Model Plan Act Open-loop Environment [MODEL-PLAN]-ACT 3

  4. DELIBERATIVE DECISION-MAKING (IN FICTION) Eagle eye (2008) An “eagle eye” AI knowing everything and able to make very accurate plans on the spot. It requires accurate models of everything/everybody in the environment to issue reliable predictions about the (hectically changing) world and issue and revise plans accordingly 4

  5. REACTIVE CONTROL ARCHITECTURES: DON’T THINK, REACT! Sense-Act Transfer rules Ethological view ( Behavior ): (Behaviors) Direct mapping of sensory inputs to a pattern of motor actions that are then Rule 1 used to achieve a task Rule 2 Mathematical view ( Function ): A transfer function, transforming Rule 3 sensory inputs into actuator commands Rule n Sense Act Concurrent mode Environment vs. Sequential mode Vertical decomposition vs. Act Sense Model Plan Horizontal decomposition Environment 5

  6. REACTIVE CONTROL ARCHITECTURES: DON’T THINK, REACT! Identify Objects Monitor Changes Explore Wander Avoid Objects Environment Sense Act A navigation behavior Bug algorithms: Example of reactive navigation 6

  7. DELIBERATIVE VS. REACTIVE CONTROL ARCHITECTURES Deliberative Top-down paradigm problem solving Functional Look Requires a Internal pipeline ahead closed world models Concurrent React Model Works in an modules to inputs free open world Reactive Bottom-up paradigm problem solving 7

  8. HYBRID CONTROL ARCHITECTURES The best of the two worlds! Deliberative Reactive control control Real-time Representations Hybrid Multiple goals Models control Robustness Planning Flexibility Modularity How to combine ? Strategic Low(er)-level planning / reasoning controls and behaviors … the most used approach nowadays, but still a sort of art In the final assignment: (i) map-based Plan, (ii) use PI feedback-based control to guide motion, (iii) use EKF for continual state estimation, (iv) detect landmarks, (v) avoid obstacles 8

  9. MOTION PLANNING • Motion Planning: Generation of motions through space … • Path planning : Generation of a (feasible) path for going from A to B • Trajectory planning: Generation of a path for going from A to B specifying how to move based on velocity, time, and kinematics. • Coverage planning: Visit all places (only once) • Formation planning: Move from A to B in a formation under specified rules ... • … Open Motion Planning Library http://ompl.kavrakilab.org/gallery.html 9

  10. PARAMETERS / DESIGN CHOICES • How far should we look into the future? ➔ Depth of look ahead ➔ The farthest, the more reliable the plan is and the more expensive computation is • Model Predictive Control (MPC): iterative replanning up to a certain horizon • For motion planning, what is the spatial resolution which is required for the input model? ➔ Accuracy of spatial representation ➔ The higher the resolution the higher the computational requirements • How realistic / reliable is the input model (the map)? What are the e ff ects of imprecise models ? Input Real A representation (occupancy Without planning / looking ahead A plan good / feasible in the grid) extremely fine-grained things can get arbitrarily bad! incomplete input map could easily be → Might incur in not feasible in the real environment 10 computational issues

  11. PATH PLANNING: PROBLEM FORMULATION Inputs: • Start pose of the robot • Goal pose • Geometric and kinematic description of the robot • (Geometric) description of the world including existing obstacles Goal(s): • Find a path that complies with robot motion constraints ( feasibility ) and moves the robot gradually from start to goal poses never colliding with an obstacle ( admissibility ) • If no feasible + admissible solution exist ➔ Report a failure • Optimality: If more than one solution exists, select the best • Completeness: If at least one feasible + admissible path exists, the path planning algorithm is able to find it. Shortest distance , Minimum time , Minimum curvature, Optimality metrics: Max smoothness, Maximal safety, Min/Max … 11

  12. PATH PLANNING EXAMPLES: THE PIANO MOVER’S PROBLEM 12

  13. FREE SPACE AND OBSTACLE REGION IN THE C-SPACE • With W (e.g., W = R m ) being the workspace, O ✓ W the set of obstacles, A ( q ) the robot in configuration q 2 C , then: C f ree = { q 2 C | A ( q ) \ O = ; } C obs = C \ C f ree • The start configuration is q I The final (target) configuration is q G • Path planning amounts to find a continuous parametric path: P : [0 , 1] 7! C f ree with P (0) = q I , P (1) = q G 13

  14. CONSTRUCTION OF C FREE IN PRESENCE OF OBSTACLES One reference point is selected: The accessible C-space , C free , is obtained wrt the reference point by sliding the robot along the edge of the obstacle regions "blowing them up" by the robot radius 14

  15. CONFIGURATION SPACE IN PRESENCE OF OBSTACLES Special case: The robot is a polygonal one and can only translate C free For motion planning and navigation a mobile robot of any shape can be “reduced” to a point , precisely the chosen reference point, as long as all reasonings are done in the C-space and the C free space is computed 15

  16. CONFIGURATION SPACE IN PRESENCE OF OBSTACLES A polygonal robot that can both translate and rotate Full 3-dimensional C-space obstacle C-space obstacle for the case the robot shown in slices at 10 o increments for 𝜄 cannot rotate ( 𝜄 is fixed to 0) 16

  17. ANOTHER EXAMPLE Resulting C-space representation Polygonal robot rotating and SE(2), where the configuration translating in a 2D workspace with polygonal obstacles vector is (x,y, 𝜄 ) 17

  18. TOPOLOGY OF C-SPACE The construction of the free C-space can be very di ffi cult for complex shapes and cluttered environments How the two-link robot arm can Resulting C-space representation move from A to B based on the of the obstacle for the robot arm presence of the grey obstacle? 18

  19. TOPOLOGY OF C-SPACE How the two-link robot arm can move from start to end based on the presence of the three obstacles A, B, and C? Path, with 3 intermediate points, labeled as 4, 7, 10 Any configuration lying inside a C-obstacle corresponds to collision with the obstacle by the robot arm in the workspace. The (complex) topology of the C-space obstacles break C free into three connected components 19

  20. A P P R O X I M AT I N G C O M P L E X O B S TA C L E S Example of a lamp approximated by spheres: the approximation improves as the number of spheres used to represent the lamp increases. 20

  21. NON HOLONOMIC PATH PLANNING Two-moves car parking with forward and No constraints on the Constraints on the backward motion maximum turning angle maximum turning angle capabilities but no no side-way motion We have already considered how to deal with non holonomic path planning in the case of obstacle-free workspace … Non Holonomic path planning is a di ffi cult problem! 21

  22. L E T ’ S S TA R T W I T H H O L O N O M I C R O B O T S Let’s start, without (much) loss of generality (and performance), to assume to have an omnidirectional (holonomic) point robot moving in a polygonal world: W = R 2 , C ⊂ R 2 22

  23. SEMI-FREE SPACE: TOUCHING THE OBSTACLES • Semi-free paths: the obstacles can be touched • The semi-free space is a closed set , which can be (also) useful to prove optimality (the free space is an open set, since the obstacles’ frontier does not belong to the set) 23

  24. O P T I M A L S H O R T E S T PAT H ? § Polygonal path: sequence of connected straight lines § Inner vertex of polygonal path: vertex that is not beginning or end § Theorem: Assuming polygonal obstacles , a shortest path is a polygonal path whose inner vertices are vertices of obstacles 24

  25. O P T I M A L S H O R T E S T PAT H ? § Suppose for contradiction that shortest path is not polygonal th is § Obstacles are polygonal ⇒ ∃ point # in interior # of free space such that “(shortest) path through # is curved” rior § # in free space ⇒ ∃ disc of free space around # § Path through disc can be shortened by ound connecting points of entry and exit § à Path it’s polygonal! (also true in free space) 25

  26. O P T I M A L S H O R T E S T PAT H ü Path is polygonal " § Vertex cannot lie in interior of free space, otherwise we can do the same trick and shorten the path (that would not then be the shortest) § Vertex cannot lie on an edge, otherwise we can do the same trick ü Inner vertices are vertices of obstacles ∎ " 26

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