Welcome to m2-sim, a simulation tool designed for the RoboCup Soccer Small Size League (SSL).
- Import custom 3D models
- Get pixel coordinates from the camera mounted on the robot
- Visualize values received via Protobuf by selecting each robot’s data
Please read Documents
Before diving into the exciting world of RoboCup Soccer SSL with m2-sim, ensure your system meets the following requirements:
- Qt6: Version 6.8 is supported.
- Protocol Buffer Compiler:
protocis essential for compiling protocol buffers.
To get started with m2-sim, follow these steps:
Make sure all necessary packages are installed. Open your terminal and run:
brew update
brew install qt cmake boost@1.85 eigen protobuf@21 yaml-cpp vulkan-volk assimp bulletPlease install Qt 6.8.
sudo apt update
sudo apt install libeigen3-dev protobuf-compiler libyaml-cpp-dev cmake build-essential libassimp-dev assimp-utils libbullet-dev libboost-all-devPlease read how to import custom 3D model
To properly visualize the simulation, download the required 3D models and place them in the following directory:
~/ws/m2-sim/assets/
You can download sample 3D models from the following link:
Download 3D Models
Set up and build the project using the following steps:
cd ~/ws/m2-sim/
mkdir build && cd build
cmake ..
makeRun the main application to start the GUI:
make runThis command executes the compiled binary and launches the graphical user interface. You can now start interacting with m2-sim.
If you encounter errors during the build process, ensure all dependencies are installed and up-to-date. For troubleshooting, refer to the official documentation.
Enhance your RoboCup Soccer SSL experience with these related tools:
- ssl-game-controller: The official game controller for managing match flow and rules.
- ssl-autorefs: Automated referee systems for unbiased and accurate game officiating.
We welcome contributions from the community! Please read our CONTRIBUTING.md for guidelines on how to get involved.
This project is licensed under the GNU General Public License version 3 (GPL v3). See the LICENSE file for details.
