Skip to content

Support configurable TF frame prefixes - #794

Open
Daniiiil1 wants to merge 1 commit into
luxonis:kiltedfrom
Daniiiil1:codex/support-configurable-tf-prefix
Open

Support configurable TF frame prefixes#794
Daniiiil1 wants to merge 1 commit into
luxonis:kiltedfrom
Daniiiil1:codex/support-configurable-tf-prefix

Conversation

@Daniiiil1

Copy link
Copy Markdown

Overview

Author: Daniil Mordanov

Issue

Issue link: #789

Issue description: Published image, optical, IMU, and calibration TF frames were derived from different prefixes, so a custom multi-robot prefix could not be applied consistently.

Related PRs: None

Changes

ROS distro: Kilted

  • add a tf_prefix launch argument, defaulting to the driver node name
  • use driver.i_tf_base_frame as the shared frame prefix when calibration TF publishing is enabled
  • apply the prefix consistently to image frame IDs, optical frames, IMU messages, and calibration transforms
  • keep the robot-state-publisher node name separate from slash-delimited TF prefixes
  • preserve the existing node-name behavior when calibration TF publishing is disabled
  • add hardware-independent unit coverage for custom and fallback frame prefixes

Addresses #789.

Testing

Hardware used: None
DepthAI library version: N/A

  • clang-format --dry-run --Werror on changed C++ files
  • black --check on changed launch files
  • Python bytecode compilation for changed launch files
  • XML validation for depthai_ros_driver/package.xml
  • git diff --check

The new gtest is included for the ROS Kilted CI environment.

@Daniiiil1
Daniiiil1 marked this pull request as ready for review August 6, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant