The code for task allocation and the simulation system based on ROS and Gazebo for task allocation are included.
- Ubuntu 16.04
- ROS Kinetic
- Gazebo version 7.0 (the full ROS Kinetic includes the Gazebo 7.0)
Place the package in your workspace content.
$ cd task_allocation_gazebo/task_allocation/
$ cd ../gazebo_visual/
The workspace is for Gazebo visualization, and you can launch the Gazebo first by using the following command.
$ source gazebo_visual/devel/setup.sh
$ roslaunch nubot_gazebo game_ready.launch
Notice: the program is modified in the match program, so it is not perfect. If the program starts error, please try again.
The Qt UI for control terminal and the code for task allocation are included in this workspace, and you can launch the robot's process and control terminal by using following command. Before that you must launch the gazebo_visual first.
Instructions for use:
- Start: the robots will carry out the cooperation in the same scene with the same method which you choose
- Auto: the robots will carry out the cooperation with three methods one by one and change the positions of robots and obstacles randomly after the every methods have to be completed. Then the next set of experiments will be carried out in a new scene.
- Result_show: the data (1|0,1|0,1|0) represents the action selection and the following 1|0 represents whether the Receiver receives the ball.
You can destroy the GUI with the close button on the applications, but the all processes have to be closed by Ctrl+C in the terminal.
If you make use of this work, please cite my paper: Wei Dai, Huimin Lu, Junhao Xiao, Zhiqiang Zheng. Task Allocation without Communication Based on Incomplete Information Game Theory for Multi-robot Systems. Journal of Intelligent & Robotic Systems, 2018.