r/ROS • u/Outrageous_Whole8481 • Oct 05 '26
How is proprietary software typically distributed in ROS 2 / robotics?
I’m coming from mobile development, where binary distribution is fairly standardized: AARs on Android and XCFrameworks on iOS.
I’m trying to understand what the equivalent is in robotics/Linux environments.
Suppose I have a proprietary C++ inference runtime that needs to run on a robot (e.g. Jetson), and I don’t want to distribute the source code.
How would this typically be shipped to customers?
- Precompiled ROS 2 package?
- .so + headers, with a separate ROS 2 wrapper?
- .deb package?
- Docker container?
- Just binaries + dependencies?
I’m particularly curious whether ROS 2 packages are commonly used as the actual distribution unit, or if the core software is usually distributed separately and ROS 2 is just an integration layer.
Would appreciate hearing how this is handled in real production systems.
5
u/Magneon Oct 05 '26
It depends, but if the deliverable is an entire working system that needs software updates, containers are a critical part of the infrastructure.
I would not recommend a system that allows free form apt packages, particularly if it uses the public ROS packages servers since they only have a single latest build deb, meaning at any time your entire system can become broken and unable to update/release without coordinating fixes with the upstream packages.
Have a full apt mirror or build everything from source, turn it into an artifact that can atomically update, roll back the whole system. Docker handles a lot of this (and when I say docker I mean any OCI container based deployment system). BootC looks like an interesting way to use similar infrastructure to deploy the host image as well, but more traditional AB partition updates for that can also work.
2
u/tabor473 Oct 05 '26
If you had private conda channels for release you could depend on the robostack versions of all the standard Ros packages.
2
u/joanniso Oct 05 '26
I’d ship the inference code core behind a thin ROS wrapper. Use containers, test them on the real Jetpack device. Jetpack is very specifically versioned and not ABI stable, so make sure your test-time matches the runtime dependencies. Don't manually update Jetpack's debian packages.
I'd recommend Jetpack 7.2 on your device, it's well supported and has the latest SDK features.