Skip to content

Fix republishing behavior in PublishStaticTransform - #54

Merged
scastro-nasa merged 1 commit into
mainfrom
scastro/fix-static-tf-republish-behavior
Oct 5, 2026
Merged

scastro-nasa merged 1 commit into
mainfrom
scastro/fix-static-tf-republish-behavior

Conversation

@scastro-nasa

Copy link
Copy Markdown
Contributor

@msavchen-nasa ran into an issue where republishing a static transform in the same Python session caused it to never update.

The clankers confirmed that the tf2_ros Python implementation actually silently drops updated static transforms once they have already been added. See https://github.com/ros2/geometry2/blob/f702874b1c8535d6a038230ab2cda0ba5d521ebd/tf2_ros_py/tf2_ros/static_transform_broadcaster.py#L74-L77

... and ros2/geometry2#705

Comment thread pyproject.toml
COLCON_DEFAULT_OUTPUT_STYLE = "catkin_tools"
COLCON_DEFAULTS_FILE = "${PIXI_PROJECT_ROOT}/config/colcon-defaults.yaml"
RCUTILS_COLORIZED_OUTPUT = "1"
PYTHONNOUSERSITE = "1" # Never pick up packages from the user site-packages

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding for good measure

@msavchen-nasa msavchen-nasa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@scastro-nasa
scastro-nasa merged commit b48bdc7 into main Oct 5, 2026
2 checks passed
@scastro-nasa
scastro-nasa deleted the scastro/fix-static-tf-republish-behavior branch October 5, 2026 14:12
@eholum-nasa

eholum-nasa commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

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.

3 participants