Researcher
Robotics & Autonomous Systems,
Royal Military Academy
Address
Avenue De La Renaissance 30, 1000 Brussels, Belgium
Contact Information
Email: theo.engels@mil.be
Publications
2026
- T. Engels, A. Paolillo, and K. Hasselmann, “tf2_rs: Bringing tf2 to Rust," CEUR Workshop Proceedings, vol. 4243, 2026.
[BibTeX] [Abstract] [Download PDF]
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.
@article{47481670fd2c42c486b444ac98695daf, title = "tf2\_rs: Bringing tf2 to Rust", 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.", keywords = "ROS 2, Rust, tf2", author = "Th{\'e}o Engels and Antonio Paolillo and Ken Hasselmann", note = "Publisher Copyright: {\textcopyright} 2026 Copyright for this paper by its authors.; 8th International Workshop on Robotics Software Engineering, RoSE 2026 ; Conference date: 01-06-2026 Through 01-06-2026", year = "2026", language = "English", url = "https://ceur-ws.org/Vol-4243/paper4.pdf", volume = "4243", journal = "CEUR Workshop Proceedings", issn = "1613-0073", unit={meca-ras}, project={FORCES} }
2025
- R. De Greef, A. Discepoli, E. Aguililla Klein, T. Engels, K. Hasselmann, and A. Paolillo, “Towards Macro-Aware C-to-Rust Transpilation (WIP)," in Proceedings of the 26th ACM SIGPLAN/SIGBED International Conference on Languages, Compilers, and Tools for Embedded Systems, New York, NY, USA, 2025, p. 57–61.
[BibTeX] [Abstract] [Download PDF] [DOI]
The automatic translation of legacy C code to Rust presents significant challenges, particularly in handling preprocessor macros. C macros introduce metaprogramming constructs that operate at the text level, outside of C’s syntax tree, making their direct translation to Rust non-trivial. Existing transpilers –- source-to-source compilers –- expand macros before translation, sacrificing their abstraction and reducing code maintainability. In this work, we introduce Oxidize, a macro-aware C-to-Rust transpilation framework that preserves macro semantics by translating C macros into Rust-compatible constructs while selectively expanding only those that interfere with Rust’s stricter semantics. We evaluate our techniques on a small-scale study of real-world macros and find that the majority can be safely and idiomatically transpiled without full expansion.
@inproceedings{10.1145/3735452.3735535, author = {De Greef, Robbe and Discepoli, Attilio and Aguililla Klein, Esteban and Engels, Th'{e}o and Hasselmann, Ken and Paolillo, Antonio}, title = {Towards Macro-Aware C-to-Rust Transpilation (WIP)}, year = {2025}, isbn = {9798400719219}, publisher = {Association for Computing Machinery}, address = {New York, NY, USA}, url = {https://doi.org/10.1145/3735452.3735535}, doi = {10.1145/3735452.3735535}, abstract = {The automatic translation of legacy C code to Rust presents significant challenges, particularly in handling preprocessor macros. C macros introduce metaprogramming constructs that operate at the text level, outside of C's syntax tree, making their direct translation to Rust non-trivial. Existing transpilers --- source-to-source compilers --- expand macros before translation, sacrificing their abstraction and reducing code maintainability. In this work, we introduce Oxidize, a macro-aware C-to-Rust transpilation framework that preserves macro semantics by translating C macros into Rust-compatible constructs while selectively expanding only those that interfere with Rust's stricter semantics. We evaluate our techniques on a small-scale study of real-world macros and find that the majority can be safely and idiomatically transpiled without full expansion.}, booktitle = {Proceedings of the 26th ACM SIGPLAN/SIGBED International Conference on Languages, Compilers, and Tools for Embedded Systems}, pages = {57–61}, numpages = {5}, keywords = {Abstract Syntax Tree, C, Embedded, Macros, Metaprogramming, Preprocessor, Rust, Transpilation}, location = {Seoul, Republic of Korea}, unit= {meca-ras}, project= {FORCES}, series = {LCTES '25} } - T. Engels, A. Discepoli, R. De Greef, E. Aguililla Klein, F. D’Agostino, R. Gunsett, J. Pisane, K. Hasselmann, and A. Paolillo, “FORCES: An Incremental Transpiler from C/C++ to Rust for Robust and Secure Robotics Systems," in Workshop on Rust for Robotics: Building Robust Foundations for Tomorrow’s Autonomous Systems, IEEE International Conference on Robotics and Automation (ICRA), 2025.
[BibTeX]@inproceedings{engels2025forces, author = {Engels, Th{'e}o and Discepoli, Attilio and De Greef, Robbe and Aguililla Klein, Esteban and D'Agostino, Francesco and Gunsett, Remi and Pisane, Jonathan and Hasselmann, Ken and Paolillo, Antonio}, title = {{FORCES}: An Incremental Transpiler from {C/C++} to {Rust} for Robust and Secure Robotics Systems}, booktitle = {Workshop on Rust for Robotics: Building Robust Foundations for Tomorrow’s Autonomous Systems, IEEE International Conference on Robotics and Automation (ICRA)}, year = {2025}, unit= {meca-ras}, project= {FORCES}, note = {Workshop Paper} }
