This project focuses on A* Path Planning, a popular pathfinding algorithm used in robotics and artificial intelligence. A* is known for its efficiency and optimality in finding the shortest path from a start point to a goal point on a grid or graph.
The project includes an implementation of the A* algorithm and visualization of its performance on various maps, making it a valuable resource for understanding path planning in a simulated environment.
The A* algorithm is a search algorithm used to find the optimal path from a start node to a goal node in a weighted graph. It combines two essential components:
- G-Cost (Actual Cost): The cost to reach the current node from the start node.
- H-Cost (Heuristic Cost): An estimation of the cost from the current node to the goal node.
A* selects nodes to expand based on their total cost, which is the sum of G-Cost and H-Cost. By exploring nodes with lower total cost first, A* efficiently finds the shortest path while considering a heuristic to guide its search.
- Download Coppeliasim edu v.4.5.1.
mkdir ros2_ws && cd ros2_ws
git clone https://github.com/MostafaELFEEL/A-Star-Path-Planning-Simulated-On-Coppeliasim-ROS2.git
colcon build- Open CoppeliaSim:
cd ~/<Path_to_Coppeliasim_Folder> && ./coppeliaSim.shMake sure to change <Path_to_Coppeliasim_Folder> with Coppeliasim folder path.
- Execute the Python script for 2D or 3D path planning:
cd && ros2 run path_planning 2dpath_planningor
cd && ros2 run path_planning 3dpath_planning





