This is the our project for course Artificial Intelligence(Course Code-CS210). For this project we have to build a differential drive robot which can avoid obstacles. The robot design and other requirements can be found in the ppt added.
- Clone this repository in your src.
- Run
catkin_make
. - Run the command
roslaunch obstacle_avoidance spawn.launch
to launch gazebo, the bot and your world. - You can change the world by changing the name of the world file name in the spawn.launch file.
- You can also change the position where the bot will spawn in the spawn.launch file.
- Now open a second terminal and run the following command
chmod +x ~/catkin_ws/src/obstacle_avoidance/scripts/start.py
or go into your scripts folder and then run the commandchmod +x start.py
. - Run the following command
rosrun obstacle_avoidance start.py
to start your obstacle avoidance algorithm.
Gazebo_Video_2.mp4
• Sangam Birla
- Use xacro to define the model to make it more readable and configurable