Skip to main navigation Skip to search Skip to main content

tf2_rs: Bringing tf2 to Rust

  • Royal Military Academy
  • Vrije Universiteit Brussel

Research output: Contribution to journal › Conference article › peer-review

Abstract

tf2 is a core Robot Operating System 2 (ROS 2) subsystem used to manage time-aware coordinate transforms throughout robotic software stacks. While interest in Rust for robotics has grown due to its memory-safety guarantees, performance, and data-race-free concurrency model, the ROS 2 Rust ecosystem still lacks several core components, including an ergonomic and high-performance tf2 interface. This paper presents tf2_rs, a Rust crate providing bindings to ROS 2 tf2 together with an idiomatic Rust API for transform buffering, time-aware lookup, and integration with core ROS 2 workflows. We evaluate tf2_rs against the C++ and Python implementations on lookup-latency benchmarks covering static and dynamic transform workloads. Results show that tf2_rs closely tracks C++ performance and substantially outperforms Python, indicating that the Rust-side abstraction and FFI layers introduce only limited overhead.

Original languageEnglish
JournalCEUR Workshop Proceedings
Volume4243
Publication statusPublished - 2026
Event8th International Workshop on Robotics Software Engineering, RoSE 2026 - Vienna, Austria
Duration: 1 Jun 2026 → 1 Jun 2026

Keywords

  • ROS 2
  • Rust
  • tf2

Fingerprint

Dive into the research topics of 'tf2_rs: Bringing tf2 to Rust'. Together they form a unique fingerprint.

Cite this