Building a differential drive robot which can avoid obstacles. The robot design and other requirements can be found in this PDF.
This work was done taking reference from here.
- Clone this repository.
- Run
catkin_make
for bothcatkin_ws
andsimulation_ws
. - Run
source catkin_ws/devel/setup.bash
andsource simulation_ws/devel/setup.bash
. - Launch your terminal and run the command
roslaunch my_worlds <world_name>.launch
. This will launch the gazebo enviroment - In another terminal, run the command
roslaunch obst_avoidance_robot_description spawn.launch
. This will load the robot in the environment at origin. It can be spawned at different location by giving additional arguments likex:=1 y:=2 z:=3
. - In another terminal run
rosrun motion_plan obstacle_avoidance.py
. This will start the robot and obstacle avoidance algorithm.
This project is licensed under the MIT License - see the LICENSE file for details