Skip to content

Commit

Permalink
mac_commit
Browse files Browse the repository at this point in the history
  • Loading branch information
PeaceWord committed Mar 3, 2022
1 parent cf1adb0 commit 8f4f055
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Voronoi Multi_Robot Collaborate Exploration

## Introduction
In the unknown environment, the cooperative exploration of multiple robots is completed by Voronoi partition and deep reinforcement learning. The decision-making level assigns different target positions to each mobile robot through Voronoi partition and point selection formula to minimize repeated exploration; The path planning layer uses the method based on deep reinforcement learning to make each mobile robot reach the corresponding target position without collision.

## Enviroment
| parameter | description |
| ---- | ---- |
| system| Ubuntu18.04 ; ROS(Melodic); Phython 2.7|
| simulator | Gazebo|
| display |Rviz|
| simulation car | Turtlebot3(Waffle)|
|senor | LiDAR |
| laser range | 0.1 - 3.5 m |
| angle range | -90 - 90|
| laser numer | 24 |

## Run
### dependency package
```
sudo apt-get install ros-melodic-joy ros-melodic-teleop-twist-joy ros-melodic-teleop-twist-keyboard ros-melodic-laser-proc ros-melodic-rgbd-launch ros-melodic-depthimage-to-laserscan ros-melodic-rosserial-arduino ros-melodic-rosserial-python ros-melodic-rosserial-server ros-melodic-rosserial-client ros-melodic-rosserial-msgs ros-melodic-amcl ros-melodic-map-server ros-melodic-move-base ros-melodic-urdf ros-melodic-xacro ros-melodic-compressed-image-transport ros-melodic-rqt-image-view ros-melodic-gmapping ros-melodic-navigation ros-melodic-interactive-markers ros-melodic-multirobot-map-merge
```
Add
```
pyyaml、rospkg、pytorch、torchvision、tensorflow 、tensorboard、mpi4py、joblib、gym、pathlib、wandb、Image、setproctitle、imageio
```
### compile & run
```
> catkin_make
> source devel/setup.bash
> roslaunch multi_turtlebot3_expore three_turtlebot3_gmapping.launch
> python ddpg_test.py
```
### test
#### Move & mapping
![simulation_gmapping](imgs/simulation_gmapping.gif)
Comparison of construction effects
![origin&true](imgs/origin&true.png)
#### Run in other environments
![test_env_2_1](imgs/test_env_2_1.gif)
Avoid obstacle
![test_env_2_3](imgs/test_env_2_3.gif)
## Reference
- hanlinniu/turtlebot3_ddpg_collision_avoidance:https://github.com/hanlinniu/turtlebot3_ddpg_collision_avoidance
Binary file added imgs/origin&true.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 imgs/simulation_gmapping.gif
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 imgs/test_env_2_1.gif
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 imgs/test_env_2_1.mp4
Binary file not shown.
Binary file added imgs/test_env_2_3.gif
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 imgs/test_env_2_3.mp4
Binary file not shown.

0 comments on commit 8f4f055

Please sign in to comment.