This folder provides .devcontainer files for VSCode to build a Ubuntu 20.04 docker container with ROS 2 Galactic and EUFS sim installed.
- OS: Ubuntu 20.04 (Focal)
- ROS: ROS 2 Galactic
Warning: eufs_sim-docker currently doesn't run on Apple Silicon (most newer MacBook models) or any computer with an ARM-based CPU. See our setup guide to see how to set EUFS sim up in a VM.
-
Follow the setup guide if you need to set up Docker.
-
Navigate to your home folder and clone this repo
git clone https://github.com/Formula-Student-AI/eufs_sim-docker
-
Reopen in Container
- Open the cloned repository in VSCode.
- Click on the blue box in the bottom left-hand corner of the VSCode window.
- Select "Reopen in Container".
-
Install ROS Dependencies for EUFS Sim (this is now optional - dependencies should be installed in Dockerfile)
sudo rosdep install --from-paths $EUFS_MASTER --ignore-src -r -y
-
Build and Install the ROS Packages
colcon build --symlink-install
-
Source the Overlay Setup Script
source install/setup.bash
-
Launch EUFS Sim
ros2 launch eufs_launcher eufs_launcher.launch.py
If you have any problems check Known Issues with EUFS sim first. Contact Dan (ut20461@bristol.ac.uk) if you think you've found any bugs.