The OTA update checklist for robot fleets
Every way an OTA update fails on robots in the field and what handles it, including ROS 2 workspace updates and Docker Compose stacks.
By Eitan Chudnovsky →An opinionated reference stack for AI robots in production. Linux, ROS 2, Docker Compose, models outside the image, real health checks and one agent.

Most robot software stacks are born in a lab. Someone gets a policy working on one arm, the code lives in a home directory, the weights sit next to it, and deploying means git pull over SSH. That's fine for a demo. It falls apart the day you have twenty robots at three sites and one of them needs a fix at 2 a.m.
The stack also has a harder job than it used to. Machines used to run fixed programs: same input, same output. An AI-powered robot runs a learned model that makes decisions many times a second from what its cameras see. That model changes every few weeks, the room around the robot changes every day, and the robot is in production, far from the team. So the stack has to make it cheap and safe to change the most important part of the machine, over and over, without anyone standing next to it.
This post is the stack I'd use today. It's opinionated on purpose. You can disagree with any layer, but you should have a reason.
The short answer: Use a boring Linux base, ROS 2 for the robot graph, and put every process in a container described by one Docker Compose file. Keep model weights, config and secrets outside the image, give each service a health check that means it can do its job, and run one agent for operations. That way every part of the robot has a version and a way back.
The rest of the post is why, and what an update looks like when you put it together.
Pick Ubuntu LTS, or JetPack on Jetson, and leave it alone as much as you can. Every customization you make to the base OS is something you have to reproduce on every new robot and carry through every OS upgrade.
A few habits that pay off:
If you're starting today, use ROS 2. If you're on ROS 1, plan the move. ROS 1 Noetic reached end of life in May 2025, which means no more security fixes and a shrinking set of packages that support it.
The end of life is the least interesting reason, though. ROS 2 fits production better:
roscore. If it dies, the graph stops finding itself. ROS 2 uses DDS for discovery, so nodes find each other with no central process to lose.configure, start acting in activate. An update can bring a new model to inactive, check it, and only then let it drive./rosout and /diagnostics give you structured logs and health. That's a monitoring layer you don't have to build. A camera publishing at 11 Hz instead of 30 is visible from outside the code.Two rules I'd add. Pick one LTS distro (Humble or Jazzy) and one RMW implementation (Fast DDS or Cyclone DDS) for the whole fleet, and pin them. Mixed distros and mixed RMWs across a fleet are a source of bugs that only show up at one site. And set ROS_DOMAIN_ID deliberately per robot when several robots share a network, or they'll discover each other's nodes.
Put every process in a container. Drivers, perception, the policy server, the behavior or task layer. Then describe the whole robot in one compose file.
Why containers:
pip install there last month.Why Compose, and not a set of docker run lines in a script: the compose file is the definition of the robot. Healthchecks, restart policies, start order with depends_on: condition: service_healthy, device mappings, volumes. All in one file you can review in a pull request. And docker compose up --wait gives you a clear answer to "did the update work": every service running and healthy, or not.
Don't build one giant container with everything in it. Split by how often things change and what they need from the hardware. Something like this:
services:
drivers: { image: "reg/acme/drivers:${DRIVERS_TAG}", network_mode: host, devices: ["/dev/ttyACM0"] }
perception: { image: "reg/acme/perception:${PERCEPTION_TAG}", network_mode: host, ipc: host }
policy: { image: "reg/acme/policy:${POLICY_TAG}", network_mode: host, ipc: host, volumes: ["/opt/models:/models:ro"] }
task: { image: "reg/acme/task:${TASK_TAG}", network_mode: host }
The versions live in .env next to the file. An update to perception is a one-line change to PERCEPTION_TAG. Some practical notes:
network_mode: host is the simple answer. ipc: host lets Fast DDS use shared memory between containers for large messages like images.privileged: true for the rare case that truly needs it.This is the decision I see teams get wrong most often. They bake the weights into the policy image because it feels clean: one artifact, one version. Then a fine-tune that changes nothing but weights becomes a multi-gigabyte image push to every robot.
Keep the model as its own versioned artifact, on disk, outside the image:
/opt/models/picker/v13, /opt/models/picker/v14, with a current symlink pointing at one of them. Switching is one atomic rename of that link. Going back is the same rename in the other direction, and the old weights are still on disk.The policy container mounts /opt/models read-only and loads /models/picker/current at start. It doesn't know or care which version that is, and it logs the resolved path so you always know what's actually running.
One thing to be careful about: the weights are not the whole model. The normalization stats, the action config, the processor or tokenizer files all have to match the weights. Version them together in the same folder, or one day you'll ship new weights with old normalization stats and the robot will move just a little wrong, with no error anywhere. I go into this in how to update a VLA model on robots remotely.
Same principle. One image runs on every robot. Everything that differs per robot or per site comes from outside:
If config is baked into the image, you end up with an image per site, then an image per robot, and then nobody knows which image is supposed to be where.
A container that's running isn't a container that's working. A policy server can be up, listening on its port, and still have failed to load the weights. Or loaded them onto the CPU because CUDA didn't initialize, and now inference takes 900 ms instead of 60.
Write health checks for each service that answer "can this do its job right now":
Health checks also have a second job: they're what make safe updates possible. An updater can only decide "this update worked, keep it" or "this failed, roll back" if something tells it what working means. If your health check is "the process exists", every update succeeds.
The last layer is the one most teams build by accident: a cron job that ships logs, a script that pulls images over SSH, a VPN for remote access, a separate exporter for metrics. Each one works. Together they're a second product nobody owns, and each one needs inbound access or credentials on the robot.
Run one agent instead. It should connect out only, so robots behind NAT and cellular work without a public IP. It should see the whole machine: the OS, the containers, the ROS graph, the models. And it should run updates as a sequence of steps that it can undo, because it's the only thing on the robot that knows both what changed and whether the robot is still healthy afterwards.
Here's where the layers pay off. Say you're shipping a new picking policy, v14, together with a perception container at 2.3. With the stack above, the release is a short workflow:
/opt/models/picker/v14 and switch current atomically. v13 stays on disk.PERCEPTION_TAG=2.3 and the policy restarted so it loads the new weights. The step only succeeds when every service is healthy.If step 5 fails, the agent undoes in reverse: the compose stack goes back to exactly the images it ran before, and current points back at v13. The robot is on the old version, not somewhere in between.
That's one robot. A fleet needs more: a model test before it acts, rollouts in phases, and a way to tell whether the new version is actually better once it's out. Those are their own topics. Start with the OTA checklist for robot fleets for every way this workflow can fail in the field, and phased rollouts and automatic rollback for how to take it from one robot to all of them.
apt upgrade or pip install on a running robot, or colcon build into the workspace the robot is running from. There's a window where the robot is half old, half new.This stack is what we built PhysicalFleet around. The agent observes the ROS 2 graph, containers and models with nothing to install in your workspace, and a release is a workflow of steps like model.deploy, compose.up and ros.launch.restart, each with its own undo. More on OTA updates for robots.
If your stack looks different and it works for you in production, I'd really like to hear what you chose and why.
ROS 2. ROS 1 Noetic reached end of life in May 2025, so it gets no more security fixes. ROS 2 also fits production better: there's no single master to lose, QoS can be tuned per topic, lifecycle nodes let a policy load and warm up before it acts, and ros2_control, MoveIt 2, Nav2 and most hardware drivers are on ROS 2 now.
No. Keep the weights as their own versioned artifact on disk and mount them into the policy container read-only. Weights are gigabytes and change on a different schedule than code, so baking them in turns every fine-tune into a huge image push. Separate versioned folders with a symlink to the current one also make switching and rolling back a single atomic rename.
The compose file becomes the definition of the whole robot: images, health checks, restart policies, start order, devices and volumes, in one file you can review. Versions live in one .env file, so updating one component is a one-line change. And docker compose up --wait tells you clearly whether an update worked, because it only succeeds when every service is running and healthy.
No. Use immutable tags or image digests. With a mutable tag like latest, two robots that claim to run the same version can be running different images, and you can't be sure that going back to the old tag gives you what the robots ran before.
Whether the service can do its job right now, not whether the process exists. For a policy, that means weights loaded, a warm-up inference done, recent inference under the latency budget and no NaN in the output. For drivers and cameras, it means topics publishing at the expected rate and frames that actually change. Safe updates depend on this, because an updater can only roll back a bad release if something tells it what working means.

Every way an OTA update fails on robots in the field and what handles it, including ROS 2 workspace updates and Docker Compose stacks.
By Eitan Chudnovsky →
How to roll out software and models to robots in phases, pick canaries, measure the right things, compare against robots not yet updated, halt and roll back.
By Amit Ezer →Connect your first machine in minutes, develop it in the lab and run your whole fleet in production from one place.
Free for up to 3 machines · Then pay as you go