/Obstacle-Avoidance

Obstacle Avoidance robot simulation

Primary LanguageCMakeMIT LicenseMIT

Obstacle-Avoidance

Prerequisites

• ROS
• Gazebo

File Structure

├── Launch                            # Launch files of the robot and some of the worlds
    ├── spawn.launch         
    ├── world1.launch            
    ├── world2.launch         
    ├── world3.launch
    ├── world4.launch
├── scripts                           # The obstacle avoidance algorithm
    ├── start.py                
├── urdf                              # The file which contains the details about the robot and the sensor
    ├── m2wr.xacro 
├── worlds                            # The world files which contain information about different worlds 
    ├── assignment_world.world        
    ├── turtlebot3_stage_1.world            
    ├── turtlebot3_stage_2.world          
    ├── turtlebot3_stage_3.world
    ├── turtlebot3_stage_4.world
    ├── turtlebot3_world.world
    ├── world01.world          
    ├── world02.world
    ├── world03.world
    ├── world04.world
├── CMakeLists.txt
├── LICENSE
├── README.md
├── package.xml

Steps to get started

  1. Clone this repository in your src.
  2. Run catkin_make .
  3. Run the command roslaunch obstacle_avoidance spawn.launch to launch gazebo, the bot and your world.
  4. You can change the world by changing the name of the world file name in the spawn.launch file.
  5. You can also change the position where the bot will spawn in the spawn.launch file.
  6. 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 command
    chmod +x start.py .
  7. Run the following command rosrun obstacle_avoidance start.py to start your obstacle avoidance algorithm.

Video

2021-07-30_1627627842876_001.mp4

Contributor

Aryaman Shardul

Acknowledgements and Resources

SRA VJTI
• Special thanks to Gautam Agrawal and Saad Hashmi
https://github.com/ROBOTIS-GIT/turtlebot3_simulations
https://github.com/SravanChittupalli/Path-Planning-Algorithms-Part2

License

The License used for this project.