Skip to content

Planning and Control Docker Support - #113

Merged
JacobGain merged 6 commits into
developmentfrom
docker/planning-and-control-dev
Nov 19, 2026
Merged

JacobGain merged 6 commits into
developmentfrom
docker/planning-and-control-dev

Conversation

@JacobGain

Copy link
Copy Markdown

Merge Request / Pull Request

Summary of Changes

  • Add CPU deploy and development images for planning, plus Compose services for standalone use and the shared all-modules setup.
  • Run planner_node with its installed transition and ROS parameter files. Add CI that builds the image, smoke-tests startup, and publishes it to GHCR on main.
  • Make control-dev build the mounted workspace and start control_node automatically. docker compose up control-dev streams build and node logs, and a shell-only command remains available for interactive ROS work.
  • Add a tracked .env.example, exclude local environment files from Git and Docker build contexts, and document the build, startup, logging, and ROS shell commands.

Type of Change

  • Bug fix
  • New feature / task
  • Refactor
  • Documentation

Checklist (to be completed before review)

  • Code follows team standards
  • Tested locally
  • Tests added / updated if relevant
  • Documentation updated if relevant
  • CI / checks pass

Related Issue / Task

  • Closes #[issue_number] (if applicable)

Notes / Additional Context

Command What it do
test -f .env || cp .env.example .env Create the local Compose environment if needed
docker buildx bake -f docker/docker-bake.hcl --load control planning control-dev planning-dev Build both deploy and dev images
docker compose up -d control planning Start both deploy nodes in the background
docker compose logs -f control planning Follow both deploy nodes’ logs
docker compose stop control planning Stop both deploy nodes before dev testing
docker compose up control-dev Build and start control in dev mode with live logs
docker compose up -d control-dev Start control in dev mode in the background
docker compose logs -f control-dev Follow control dev logs in another terminal
docker compose exec control-dev bash Open a ROS shell while control is running
docker compose run --rm -T=false control-dev bash -i Open a control dev ROS shell without starting the node
docker compose up -d planning-dev && docker compose exec planning-dev bash Start the planning dev workspace and enter its ROS shell
colcon build --symlink-install && source install/setup.bash Build and source the planning workspace from /ws inside the container
ros2 run ap1_planning planner_node /ws/src/planning/config/stop_sign_transitions.yaml --ros-args -r __node:=ap1_planning --params-file /ws/src/planning/config/planner.yaml Start planning manually inside the ROS shell
ros2 node info /ap1_planning Inspect the running planner from a second ROS shell

@JacobGain
JacobGain requested review from a team as code owners November 19, 2026 02:18
Comment thread modules/docker-compose.dev.yaml Resolved

@TCrawley11 TCrawley11 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice looks great

@alyashour alyashour left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread docker/docker-bake.hcl Resolved
Comment thread docker/all.Dockerfile Resolved
Comment thread docker/README.md Resolved
@JacobGain
JacobGain merged commit a57df2e into development Nov 19, 2026
4 checks passed
@JacobGain
JacobGain deleted the docker/planning-and-control-dev branch November 19, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants