Skip to content
Public template

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DIT Software Admission Exam: Fleet Coordination

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).

Layout

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)

Setup

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

Displaying RViz

  • Linux: run xhost +local:docker on the host once, then use docker/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 (password ros).

Everything except RViz works without a display.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages