Skip to content

Conversation

linglitel
Copy link

In the ROS2 version of tf2-web-republisher, the correct Action name should be tf2_web_republisher_interfaces/action/TFSubscription. Fixing this will allow PointCloud2 to be displayed correctly on the web page. This change has been tested on ROS2 Kilted, Ubuntu 24.04 and works for me.

Public API Changes

None

Description

The ROS2TFClient component currently uses a hardcoded action type (tf2_web_republisher_msgs/TFSubscription) This makes the client incompatible with standard ROS 2 tf2_web_republisher, which expect the action type to be tf2_web_republisher_interfaces/action/TFSubscription.
This commit corrects the hardcoded action type to the proper ROS 2 version. As a result, TF-dependent visualizations like PointCloud2 can now be displayed correctly on a web page when using a ROS 2 backend, resolving a critical compatibility issue.
This change has been tested and verified on ROS 2 Kilted with Ubuntu 24.04.

Resolves #948

In the ROS2 version of tf2-web-republisher, the correct Action name should be tf2_web_republisher_interfaces/action/TFSubscription. Fixing this will allow PointCloud2 to be displayed correctly on the web page. This change has been tested on ROS2 Kilted, Ubuntu 24.04 and works for me.
@MatthijsBurgh
Copy link
Contributor

@EzraBrooks this is a breaking change for ROS1. Time to branch of for ROS1?

@linglitel
Copy link
Author

Hi, @MatthijsBurgh,thank you for your feedback,I'd like to think that my change was made exclusively within the ROS2TFClient class, which is intended for ROS 2 environments. The original TFClient for ROS 1 remains untouched.
If I understand wrongly, please correct me,

@MatthijsBurgh
Copy link
Contributor

actionType : 'action_tutorials_interfaces/Fibonacci'

This example doesn't include the action namespace. @EzraBrooks @sea-bass you know what the correct action type format is.

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.

Bug: ROS2TFClient uses incorrect hardcoded actionType for tf2_web_republisher
2 participants