Skip to content

abubakar-mughal97/apf_obstacle_avoidance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

INTRODUCTION

This project implements obstacle avoidance and goal-directed navigation for a differential drive robot in ROS 2 Jazzy using the Artificial Potential Fields (APF) algorithm.

The robot is simulated in Gazebo Harmonic, equipped with a LiDAR sensor, and controlled via a custom APF-based controller node.

USAGE

Clone the repository

Launch gazebo with robot

ros2 launch diff_drive_description gazebo.launch.py

Start the apf controller

ros2 launch diff_drive_control apf.launch.py

Tuning and goal position

Set the goal position and tune the parameters in config/apf.yaml

LIMITATIONS

  • The robot sucessfully avoids obstacles using the artificial potential fields.
  • However, the robot does not converge to the goal point. It keeps moving around the obstacles without stopping at the target.
  • This is a known limitation of the APF approach where the robot gets stuck in the local minima.

POSSIBLE IMPROVEMENTS

  • Combine APF with A* planner

About

ROS 2 Jazzy project for obstacle avoidance and goal navigation of a differential drive robot using Artificial Potential Fields (APF) in Gazebo.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages