Skip to content

DetachableJoint fails with TPE physics engine due to missing AttachFixedJointFeature support #818

@Xinyu-Sheng

Description

@Xinyu-Sheng

Environment

Ubuntu 22.04
ROS2 humble
Gazebo Harmonic

Description

Expected behavior:
When using the DetachableJoint system plugin with a car (chassis) and a separate object (box::box_link), publishing an empty message to /box/attach should create a fixed joint between the two links, causing the box to be rigidly attached to the chassis and move together with it—just like with standard physics engines such as gz-physics-ode-plugin or gz-physics-dart-plugin.

Actual behavior:
When the physics engine is set to gz-physics-tpe-plugin, Gazebo prints the error:
[Err] [Physics.cc:1914] Attempting to create a detachable joint, but the physics engine doesn't support feature [AttachFixedJointFeature]. Detachable joints will be ignored.
As a result, no joint is created—the box remains unaffected by the attach command and does not bind to the chassis. The DetachableJoint plugin is effectively disabled because TPE does not implement the AttachFixedJointFeature required for runtime joint creation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions