docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Publish your scene's transform hierarchy

    Add a TfBroadcasterComponent to publish a GameObject hierarchy as ROS transform messages.

    TfBroadcasterComponent publishes the transform hierarchy of a robot or other articulated object as a ROS /tf topic message (TFMessageMsg) on every FixedUpdate. The publishing rate is therefore determined by Time.fixedDeltaTime, the physics step rate of your project.

    Prerequisites

    Before you begin, make sure a connector (BaseConnectionComponent) is reachable through ConnectorInjector. Refer to Get started.

    Publish a transform hierarchy

    To publish a transform hierarchy:

    1. Select the root GameObject of your robot in the scene.
    2. Add the TfBroadcasterComponent component.

    You don't need to configure anything further. TfBroadcasterComponent configures itself when it starts:

    • If it finds an ArticulationBody anywhere in the hierarchy, it builds an ArticulationBody-based TransformTree.
    • Otherwise, it builds a Transform-based TransformTree.

    Additional resources

    • Transform broadcasting reference
    • Transform broadcasting example
    • Sync simulation time
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)