首页›Ubuntu Blog›文章

Never lose robot data again: automatic ROS 2 bag recording and upload

gbeuzeboc · 2026年11月3日

AI 摘要 AI 生成,可能有误

The article introduces the ros2-exporter-agent snap, which automatically records ROS 2 topics as MCAP bags on robots and uploads them to a server using rclone, eliminating manual recording and copying. It runs four cooperating services (recorder, synchronization, daily-rotation, and auto-clean) with built-in safety features like automatic retry when the server is unreachable and local deletion of old bags. Configuration can be done per robot with two simple files or fleet-wide through a shared configuration snap, and rclone's support for over 40 storage backends makes it easy to switch between targets like SFTP servers and S3-compatible buckets.

If you work with robots, perhaps you’ve come up against a common, but annoying situation: the one field run that mattered is the one nobody recorded. Or it was recorded but the ROS 2 bag (a recording of ROS 2 topics) is sitting in the robot’s storage, at a customer site, three time zones away.

This issue is commonly caused by manually starting ros2 bag record and using scp to copy gigabytes off the robot after every test, which just does not scale. It can also lead to missing bag synchronizations or accidental overwrites.

There is a better way: let every robot record itself continuously and upload its bags to your server automatically. That is exactly what the ros2-exporter-agent snap does.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Ubuntu Blog

Install Ubuntu on NVIDIA RTX Spark

AI 摘要Canonical has released an Ubuntu concept image that lets developers run Linux on NVIDIA RTX Spark, a new Superchip combining a Grace CPU, an RTX Blackwell GPU, and up to 128 GB of unified memory for local AI workloads in laptops and compact desktops. The image, which is experimental rather than production-ready, offers a familiar Ubuntu development environment so developers using the Linux + CUDA stack can experiment with local AI and provide feedback as hardware enablement evolves. Alongside it, Canonical ships NVIDIA Nemotron Bolt as an inference snap optimized for RTX Spark, giving developers a practical starting point for running local AI agents on Ubuntu.

Automating encryption at rest with Canonical’s Charmed MongoDB

AI 摘要The article explains how Canonical's Charmed MongoDB implements data encryption at rest using a two-level key hierarchy, where a master key encrypts a key database containing per-database keys, and emphasizes that encryption must be enabled at initial deployment and cannot be toggled at runtime. It discusses secure master key storage options, recommending HashiCorp Vault or OpenBao over local files due to support for secret versioning and rotation, while warning that losing encryption keys means losing access to the data. Finally, it highlights how the Charmed MongoDB Operator automates encryption setup, master key rotation, high availability via Vault Agent, backups, and observability to provide a production-ready, end-to-end open source solution.

15 years of long term support for bare metal automation with MAAS

AI 摘要Canonical has released MAAS 3.8, the first Long Term Support (LTS) version of its open source bare metal automation platform, offering up to 15 years of security maintenance and enterprise support in line with Ubuntu's LTS commitment. This extended lifecycle helps organizations with long-term infrastructure investments—such as AI clusters, 5G networks, and HPC data centers—avoid frequent support-driven upgrades and align support across Canonical's entire stack, from bare metal to Kubernetes. The release also adds OpenID Connect single sign-on, relationship-based access control, customizable deployment scripts, and FIPS readiness improvements.

Automating bare metal infrastructure in FIPS-regulated environments with MAAS

AI 摘要Canonical's MAAS v3.7.4 introduces FIPS mode support, allowing organizations in regulated sectors such as government, defense, and financial services to enforce stricter cryptographic and security controls on their bare metal provisioning control plane. When FIPS mode is enabled, MAAS restricts TLS and SSH to approved algorithms, validates key types and sizes, requires trusted SSH host keys, and rejects insecure power management configurations, such as IPMI connections not using cipher suite 17. While fresh deployments are recommended for enabling FIPS mode on controllers, MAAS can also provision Ubuntu machines with FIPS-enabled kernels through its standard deployment workflow and cloud-init.

From desktop to cloud to road

AI 摘要The article discusses the integration bottleneck in automotive software development caused by inconsistent environments across desktop, cloud, and vehicle targets, leading to dependency conflicts and integration delays. It advocates for environmental parity—achieved through hardware and operating system abstraction—with Ubuntu serving as a consistent platform running across x86, ARM64, and RISC-V architectures. Canonical argues that standardizing on Ubuntu Pro offers long-term security support, API stability, and compliance with automotive standards, enabling teams to build, test, and deploy software-defined vehicle applications at cloud speed.