Skip to content

Updated the readme file #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 43 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,47 @@
# Navigate_Multiple_Robots
# Navigate Multiple Turtlebots

![alt text](https://raw.githubusercontent.com/Pallav1299/Navigate_Multiple_Robots/master/thumbnail.png)
![alt text](https://github.com/Barath19/Navigate_Multiple_Turtlebots/blob/master/assets/banner.png)

How to navigate multiple robots in simulation using ROS and Gazebo.
## Getting Started

[![Watch the video](https://drive.google.com/file/d/14nKAhJnAltBh2-BE7m0fL__4v2HSFjEn/view?usp=sharing)](https://www.youtube.com/watch?v=iyL_hsqjKWI)
### Clone the repository
```
cd ~/catkin_ws/src
git clone https://github.com/Barath19/Navigate_Multiple_Turtlebots/tree/master
```
### Building the package
```
cd ..
catkin build
```

Topic Credits:
"The Construct"
### Running the package

Open a new terminal (Source the workspace)
```
roslaunch multi_turtlebots_sim main.launch
```
![alt text](assets/gazebo.png)
Open another terminal (Source the workspace)
```
roslaunch multi_turtlebots_nav navigation.launch
```


![alt text](assets/rviz_init.png)
## Localization using AMCL

- Once the rviz is opened, use the ``` Tool Properties ``` panel to set the robot initial pose and robot goal pose to respective robot's namespace. E.g. for ``` robot2 ```
![alt text](assets/tool_properties.png)

- Set the 2D navigation goal for the selected robot.

![alt text](assets/2dnav.png)

### Repeat the above two localization steps for all the robots, Until the particles converge.

![alt text](assets/rviz.png)

## Issue

- Check the map.yaml file for path.
Binary file added assets/2dnav.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/gazebo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/rviz.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/rviz_init.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/tool_properties.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added map_launcher/map/map_tb3_10.pgm
Binary file not shown.
7 changes: 7 additions & 0 deletions map_launcher/map/map_tb3_10.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
image: /home/bk/ros1/turtle_ws/src/Navigate_Multiple_Turtlebots/map_launcher/map/map_tb3_10.pgm
resolution: 0.050000
origin: [-4.929477, -5.146988, 0.000000]
negate: 0
occupied_thresh: 0.65
free_thresh: 0.196

Loading