ROS 2 机器人的 OTA 更新是否已是成熟问题?
Is OTA for ROS 2 robots a solved problem?
开发者 Max Riazantsev 在 Raspberry Pi 上自建 ROS 2 OTA 更新项目:从 GitHub releases 拉取容器镜像、执行健康检查并在版本异常时自动回滚,但发现更新器无法自我更新,A/B 更新各有取舍。
2026 年10 月 18 日 23:05 1
I could not find anything out there built specifically for OTA updates in the ROS 2 ecosystem. Coming from the web I wanted to see how close I could get to the developer experience I know, so I built a small project on a Raspberry Pi. The device pulls new container images from GitHub releases, runs a health check and rolls back automatically if a release is broken.
It turned out to be harder than just shipping Docker containers. My updater for example could not update itself. A/B updates seem to solve that, but each approach has its trade-offs.
So I would love to hear from people who run robots in production. What did you pick and why? Is anything still painful with Mender, balena or other tools or do they already cover everything?
Write-up: The code was the easy part - Max Riazantsev
Code: https://github.com/maxriazantsev/vision-stand
3 个赞
JRTG 2026 年10 月 19 日 06:01 2
1 个赞
peci1 2026 年10 月 19 日 07:43 3
Very nice write-up! You said MacOS is not really supported. Did you go the Homebrew way or the Pixi way?
1 个赞
chachi 2026 年10 月 19 日 12:57 4
Love the project, nice work and thanks for sharing! OTA for robots is far from a solved problem – in fact, it’s our first product at Agency Tool Company because it’s such a common bottleneck to fielding real robots.
Web tools like Docker can help get an initial system up and running like you did here but to go beyond (e.g. signed releases, OS management, push and pull workflows, delta updates) I believe it takes something designed and built specifically for our sorts of robotics applications with all the challenges you mention in your post.
Feel free to join the waitlist here
1 个赞
maxh1t 2026 年10 月 21 日 00:52 5
Thanks everyone for the replies!
@JRTG Really good thread, thank you for sharing. Microcontrollers are new to me and it seems like a really hard problem to solve. As I understand this is a main gap right now
@peci1 Neither actually. I ran Linux in a virtual machine on my MacBook and connected to it from my IDE through JetBrains Gateway. It was quite painful to set up but works fine once everything is in place. What would you recommend for macOS today?
@chachi Glad you liked it and good to see someone tackling this. Robots clearly need a lot more than what I built. Joined the waitlist and will follow along. Would love to try it once it is ready
Hi @maxh1t!
Nice project! The challenge of updating the updater itself is an interesting one.
At Toradex, we use OSTree in Torizon OS as an alternative to traditional A/B partitioning. It provides atomic OS updates and rollback without requiring two full rootfs partitions, while our OTA infrastructure follows the Uptane standard for secure updates.
The OTA client (Aktualizr) is part of the OS, so it can also be updated through an OS update. We support container updates as well, allowing both the OS and applications to be managed through the same update infrastructure.
Might be worth checking out our architecture: Torizon Updates Architecture | Toradex Developer Center
来源:Open Robotics Blog · discourse.openrobotics.org
