Skip to content

robocup_2021_sim

Rodrigo Serra edited this page Nov 28, 2023 · 1 revision

Setup and Usage

Here is described how to setup the RoboCup 2021 Simulation environment and how to modify it.

Clone the SocRob fork of the official docker configuration repository:

git clone --recursive https://github.com/socrob/mbot_robocup_dspl_docker.git

Clone the repository with the source code that is used to build the Docker images that are run in the previous repository. This source code was forked to the SocRob GitHub and can be cloned using the following command:

git clone --recursive https://github.com/socrob/mbot_robocup_opl_binary.git

This repository is where we have to introduce our changes in order to have mbot running in the RoboCup 2021 Simulation environment.

Use the following commands to run the RoboCup 2021 simulation. First, build the simulation image from the source code.

cd mbot_robocup_opl_binary
source build.sh

This command must be repeated every time there are changes in the source code that you would like to test in the docker simulation.

Then to run the docker simulation do:

cd mbot_robocup_dspl_docker
docker-compose up

When running docker-compose up for the first time docker should automatically pull the missing images. If not, run docker-compose pull before running docker-compose up.

To visualize the simulator's screen open the following URL in a browser: http://localhost:3000.

If you want to use an IDE, there is one built-in as well that can be accessed through the browser by following this URL: http://localhost:3001.

Useful Links and Documentation

DSPL with Toyota HSR - Notes

How to load your own world - GitHub issue

Gazebo simulation - GitHub issue

Clone this wiki locally