0% found this document useful (0 votes)
7 views

SESSION-2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

SESSION-2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 21

Amity School of Engineering & Technology

Session 2:
Metric Path Planning

By
Dr. Ashok Kumar
Amity School of Engineering & Technology

Introduction to Metric Path Planning


•Definition: Planning a robot's path in continuous, metric spaces.
•Focuses on precise geometrical and mathematical computations.
•Importance in robotics for tasks requiring accuracy and efficiency.

Objectives of Metric Path Planning


•Primary Goals:
• Find a collision-free path.
• Optimize path length, energy, or time.
•Applications:
• Autonomous vehicles, warehouse robots, robotic surgery.
Amity School of Engineering & Technology

Key Characteristics
•Continuous Space: Requires handling of real-world, non-discrete
environments.
•Metric Representation: Utilizes Cartesian or other coordinate systems.
•Complexity: Accounts for obstacles, dynamic environments, and robot
constraints

Types of Metric Path Planning Methods


1.Deterministic Methods:
1. Exact solutions, e.g., cell decomposition and visibility graphs.
2.Sampling-Based Methods:
1. Approximate solutions, e.g., Probabilistic Roadmaps (PRMs) and
Rapidly-exploring Random Trees (RRTs).
Amity School of Engineering & Technology

Deterministic Metric Planning


•Cell Decomposition:
• Divides space into manageable cells.
• Example: Trapezoidal or grid-based decomposition.

Sampling-Based Metric Planning


•Probabilistic Roadmaps (PRMs):
• Randomly samples points in the environment and connects them to
form a graph.
• Efficient for high-dimensional spaces.
•Rapidly-exploring Random Trees (RRTs):
• Grows a tree from the start to the goal.
• Effective for large and complex environments.
Amity School of Engineering & Technology

Path Planning Algorithms in Metric Spaces


1.Dijkstra’s Algorithm:
1. Finds the shortest path in weighted graphs.
2.A Algorithm:*
1. Combines shortest path optimization with heuristics.

Metrics in Path Optimization


•Distance: Shortest geometric path.
•Energy Consumption: Optimal for robotic energy efficiency.
•Time: Minimizes traversal time.
•Smoothness: Avoids abrupt changes in direction.
Amity School of Engineering & Technology

Introduction to Cell Decomposition


•Definition: A method to solve path planning problems by dividing the
environment into simple, manageable regions (cells).
•Purpose: To simplify pathfinding in complex environments.
•Key Focus: Ensuring the robot finds a collision-free path.

Types of Cell Decomposition


1.Exact Cell Decomposition:
1. Divides the space into non-overlapping cells that exactly cover free
space.
2. Examples: Trapezoidal Decomposition.
2.Approximate Cell Decomposition:
1. Uses a grid-like structure for approximation.
2. Examples: Quadtrees, Octrees.
Amity School of Engineering & Technology

Exact Cell Decomposition


•Definition:
• Ensures complete and accurate representation of free space.
•Methods:
• Trapezoidal Decomposition: Divides space into trapezoids using
obstacle edges.
• Visibility Graphs: Links visible points to create a graph for navigation.
•Advantages: Accurate and guarantees pathfinding.
•Limitations: Computationally expensive.
Amity School of Engineering & Technology

Approximate Cell Decomposition


•Definition:
• Represents space as a grid of cells where each cell is marked as free
or occupied.
•Methods:
• Quadtrees: Hierarchical division of space into four quadrants.
• Octrees: Extends quadtree concept to 3D.
•Advantages: Simpler implementation and scalable to large spaces.
•Limitations: Precision depends on grid resolution.
Amity School of Engineering & Technology

Comparison of Exact and Approximate Methods


Amity School of Engineering & Technology

Steps in Cell Decomposition


1.Workspace Representation:
1. Identify boundaries and obstacles.
2.Cell Division:
1. Divide the space into free and obstacle regions.
3.Graph Creation:
1. Create adjacency relationships between free cells.
4.Pathfinding:
1. Apply algorithms (e.g., Dijkstra’s or A*) on the cell graph.
Amity School of Engineering & Technology

Advantages of Cell Decomposition


•Simplifies pathfinding by reducing complexity.
•Applicable to both 2D and 3D environments.
•Flexible: Can integrate with other planning methods.

Challenges in Cell Decomposition


•Exact methods are computationally intensive.
•Approximate methods may miss narrow passages.
•Memory usage increases with higher resolution.
•Requires preprocessing for dynamic environments.
Amity School of Engineering & Technology

Introduction to Probabilistic Roadmaps (PRMs)


•Definition: A sampling-based motion planning algorithm that constructs a
graph in the configuration space of a robot.
•Key Features:
• Works well in high-dimensional spaces.
• Uses random sampling to handle complex environments.

Key Components of PRMs


1.Configuration Space (C-Space): Represents all possible positions of the
robot.
2.Sampling: Randomly generates nodes in the free space.
3.Roadmap Construction: Connects nearby nodes to form a graph.
4.Path Query: Uses the roadmap to find a path from the start to the goal.
Amity School of Engineering & Technology

Algorithm for Probabilistic Roadmaps


1.Learning Phase:
1. Generate random samples in free space.
2. Connect samples to their nearest neighbors if the path is collision-free.
2.Query Phase:
1. Add the start and goal nodes to the graph.
2. Find the shortest path using a graph search algorithm (e.g., Dijkstra’s).
Amity School of Engineering & Technology

Steps in PRM Construction


1.Sampling:
1. Uniform random sampling or bias towards difficult regions.
2.Collision Checking:
1. Ensure samples and edges are in free space.
3.Graph Formation:
1. Connect nodes based on proximity (k-nearest neighbors or fixed-
radius).
4.Pathfinding:
1. Search for the optimal path on the graph.
Amity School of Engineering & Technology

Advantages of PRMs
•Efficient for high-dimensional and complex spaces.
•Applicable to multiple queries once the roadmap is built.
•Handles both static and quasi-dynamic environments.

Limitations of PRMs
•Quality of paths depends on the number and distribution of
samples.
•Computational overhead in collision checking for dense
environments.
•Requires precomputation and is less suitable for fully dynamic
settings.
Amity School of Engineering & Technology

Introduction to RRTs
•Definition: RRT is a tree-based path planning algorithm that incrementally
builds a tree by randomly sampling the space and extending towards the
goal.
•Key Features:
• Sampling-based, asymptotically optimal.
• Focuses on high-dimensional spaces and complex environments.
Key Concepts of RRTs
•Configuration Space (C-Space): The space where each point
corresponds to a possible configuration of the robot.
•Tree Growth: Tree starts at an initial configuration and grows by
sampling random points in the C-space and connecting them to the
nearest node in the tree.
Amity School of Engineering & Technology

RRT Algorithm Overview


1.Initialization:
1. Start with an initial configuration and build an empty tree.
2.Sampling:
1. Sample random points in the C-space.
3.Tree Extension:
1. Find the nearest node in the tree and extend the tree toward the
random sample.
4.Repeat:
1. Repeat the sampling and extension until a path is found or a maximum
number of iterations is reached.
Amity School of Engineering & Technology

RRT Algorithm Step-by-Step


1.Start Node:
1. Initialize the tree with the starting configuration of the robot.
2.Random Sample Generation:
1. Generate random samples in the C-space.
3.Find Nearest Node:
1. Identify the nearest node in the tree to the random sample.
4.Extend Tree:
1. Move the tree from the nearest node toward the random sample by a
small step.
5.Collision Check:
1. Ensure the new node does not collide with obstacles.
6.Termination:
1. Stop when the goal is reached or a maximum number of iterations is
exceeded.
Amity School of Engineering & Technology

Advantages of RRTs
•Scalability:
• Works well in high-dimensional spaces and complex environments.
•Simplicity:
• Easy to implement with basic operations.
•Versatility:
• Can be adapted for different types of robots and environments.

Limitations of RRTs
•Path Quality:
• The initial path may not be optimal and may require post-processing.
•Computational Complexity:
• Can be slow for very high-dimensional or cluttered spaces.
•Dependency on Sampling:
• The efficiency depends on how well the space is sampled
Amity School of Engineering & Technology

Challenges in Metric Path Planning


•Complex environments with irregular shapes and moving obstacles.
•Computational load for large-scale and high-dimensional problems.
•Handling uncertainties in robot and environment modeling.

Applications of Metric Path Planning


1.Autonomous Vehicles: Navigation in traffic.
2.Industrial Automation: Path planning for robotic arms.
3.Healthcare: Robotic surgeries requiring precision.
4.Aerospace: Navigation of drones in 3D spaces.
Amity School of Engineering & Technology

Comparison of Metric Path Planning Techniques

You might also like