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.
- Clone this repository in the
src
folder of yourcatkin
workspace - Run
catkin_make
- Go to the python codes in src folder and make it executable using
chmod +x <file-name>.py
. - Open 3 Terminals
- Run the command
roslaunch Path-planning-Algorithm-1 world1.launch
. - In the second terminal run the command
roslaunch Path-planning-Algorithm-1 spawn.launch
. - In last terminal, run the command
rosrun Path-planning-Algorithm-1 bug0algo.py
to start the robot and begin using the bug0 algorithm. Replace bug0algo.py with wall_follow.py to run the wall-follow algorithm. - Add blocks in between wherever you want.
Will upload the video soon.
This project is licensed under the MIT License - see the LICENSE file for details