Skip to content

Software

odom_to_tf_ros2

From github.com/gstavrinos/odom_to_tf_ros2 (opens in a new tab)

  • Navigation and mapping
  • Tool
  • BSD-3-Clause

A ROS 2 node that subscribes to an odometry topic and republishes its pose as a tf transform, with options to override frame names and timestamps.

Facts

GitHub stars
10read on 28 Nov 2026
Last update
1 Oct 2026Newest commit on master
Maintenance
Activea commit in the last 90 days
Difficulty
Beginner

Checked on GitHub on 28 Nov 2026.

Licenses

Code
BSD-3-Clause (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (BSD-3-Clause) at commit b72eb04 (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

At a glance

What it is
  • Reads nav_msgs/Odometry messages from a configurable topic and generates the matching tf transform.
  • Can override the parent and child frame ids, or keep the names from the odom message.
  • Can publish the transform in the inverse direction, from base_link to the odom frame.
  • By default stamps the transform with the odom message timestamp; can instead use the current time.
  • The older use_original_timestamp parameter is deprecated and makes the node raise an error if set.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
BSD-3-Clause. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's README (opens in a new tab)
Maintenance
Active, last commit on 1 Oct 2026.

Use it

How to install it, in the creator's words: The project's README (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit b72eb04

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by @gstavrinos, at commit b72eb04, under BSD-3-Clause (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

odom_to_tf_ros2

A simple ros2 package (node) that reads an odom topic and generates the equivalent tf connection (transformation). It also provides options to override frame names, or just use the ones in the original odom topic.

Parameters

  • frame_id: The parent frame id to override. (Leave empty to use the one from the odom topic)

  • child_frame_id: The child frame id to override. (Leave empty to use the one from the odom topic)

  • odom_topic: The name of the nav_msgs/Odometry topic to subscribe to.

  • inverse_tf: If true, the tf will be generated from the base_link to the odom frame. Otherwise, by default, it will be generated from the odom frame to the base_link. (default: false)

  • use_original_timestamp: Deprecated since its logic was inverted. Use the use_original_odom_timestamp parameter instead. The new parameter defaults to the same behaviour as this one. If set, the node throws an error to ensure that the proper logic is used.

  • use_original_odom_timestamp: If true, the tf will be generated using the timestamp from the odom message. Otherwise, by default, it will be generated using now(). (default: true)

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.