Path-Planning-Algorithms-Part2
Path-Planning-Algorithms-Part2 copied to clipboard
Implementation of bug1and bug2 algorithms
trafficstars
Obstacle-Avoidance-Bot-Using-ROS
This project contains a bot simulation in Gazebo using bug0 algorithm. The robot design and other requirements can be found in this PDF In this program the bot reaches the given goal by following the boundary of the obstacle if any. All codes are written in python. Xacro is used in the project to clean the URDF code.
Getting Started
- Clone this repository in the
srcfolder of yourcatkinworkspace - Run
catkin_make - Go to obstacle-avoid.py and make it executable using
chmod +x obstacle-avoid.py. No need to do this step if you are using the obstacle-avoid.cpp code. - Open 3 Terminals
- Run the command
roslaunch Obstacle-Avoidance-Bot-Using-ROS spawn.launch. - In the second terminal run the command
rosrun Obstacle-Avoidance-Bot-Using-ROS obstacle-avoid.py - In last terminal, run the command
rosrun gazebo_ros gazebo --verboseto start the robot and begin the obstacle avoidance course. - Add blocks in between wherever you want or you can download a world from anywhere else and spawn the bot there.
Prerequisites
Video
To-Do / Improvements
- Make the bot move in the shortest distance
License
This project is licensed under the MIT License - see the LICENSE file for details
