Read EXAM_SPEC.md first.
Start here: click Use this template → Create a new repository on this page (do not
fork: forks are public), then clone your new repository. We grade the last commit on its main
branch at the deadline (EXAM_SPEC §5.5).
This directory is a colcon workspace: build from here.
docker/
local/ dev container (Dockerfile, docker-compose.yaml, settings/)
vnc/ optional VNC desktop for RViz (macOS / Windows)
src/
fleet_interfaces/ provided messages, services, actions (do not modify)
fleet_sim/ provided simulator, driver, RViz config (do not modify)
<your packages> your work goes here (suggested name: <something>_run)
evidence/ rosbag/, plots/, verify.py (you write all of it)
Pick your own ROS_DOMAIN_ID (any number from 1 to 100). On a shared network such as campus
Wi-Fi, two people with the same ID see each other's robots.
export ROS_DOMAIN_ID=<your number>
docker compose -f docker/local/docker-compose.yaml up -d --build
docker exec -it dit-fleet-exam bash
# inside the container (working directory: ~/dit-fleet-exam-ws)
build # alias: colcon build --symlink-install, then source
world # alias: ros2 launch fleet_sim world_launch.py (nominal fleet, RViz)
ros2 launch fleet_sim world_launch.py rviz:=false # headless-
Linux: run
xhost +local:dockeron the host once, then usedocker/local/docker-compose.yaml. -
macOS / Windows: use the VNC desktop instead:
docker volume create ros_x11 docker compose -f docker/vnc/docker-compose.yaml up -d docker compose -f docker/local/docker-compose.vnc.yaml up -d
Then open a VNC viewer at
localhost:5901(passwordros).
Everything except RViz works without a display.