Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [ROS2 Jazy] Failed to parse type hash for topic #290

Open
mgeisslinger opened this issue Oct 10, 2024 · 4 comments
Open

[Bug] [ROS2 Jazy] Failed to parse type hash for topic #290

mgeisslinger opened this issue Oct 10, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@mgeisslinger
Copy link

mgeisslinger commented Oct 10, 2024

Describe the bug

With ROS2 Jazzy and the related version of RMW Cyclone DDS, bridging any topic between two machines that run with ROS2 Jazzy using the zenoh ros2dds bridge results in the following warning:

[WARN] [1728567761.820363013] [rmw_cyclonedds_cpp]: Failed to parse type hash for topic 'ros_discovery_info' with type 'rmw_dds_common::msg::dds_::ParticipantEntitiesInfo_' from USER_DATA '(null)'.

To reproduce

  1. Start the zenoh bridge with default config on two machines. Both machines run with Ubuntu 24 and ROS 2 Jazzy (same container)
  2. Run ros2 run demo_nodes_cpp talker on the first machine and ros2 run demo_nodes_cpp listener on the second machine
  3. On both machines the following warnings will occur - the messages are received, however:
[WARN] [1728567761.820363013] [rmw_cyclonedds_cpp]: Failed to parse type hash for topic 'ros_discovery_info' with type ```
'rmw_dds_common::msg::dds_::ParticipantEntitiesInfo_' from USER_DATA '(null)'.
[WARN] [1728567761.820424335] [rmw_cyclonedds_cpp]: Failed to parse type hash for topic 'ros_discovery_info' with type 'rmw_dds_common::msg::dds_::ParticipantEntitiesInfo_' from USER_DATA '(null)'.
[WARN] [1728567766.224054417] [rmw_cyclonedds_cpp]: Failed to parse type hash for topic 'rt/rosout' with type 'rcl_interfaces::msg::dds_::Log_' from USER_DATA '(null)'.


### System info

- Platform: Ubuntu 24.04.1 LTS
- Zenoh: v1.0.0-beta.1 built with rustc 1.75.0
- ROS2 Jazzy on both machines
@mgeisslinger mgeisslinger added the bug Something isn't working label Oct 10, 2024
@Timple
Copy link

Timple commented Oct 10, 2024

Same here!

1 similar comment
@christomaszewski
Copy link

Same here!

@christomaszewski
Copy link

might have something to do with this update for sending the type definitions over the wire: ros2/ros2#1159

@JEnoch
Copy link
Member

JEnoch commented Oct 18, 2024

might have something to do with this update for sending the type definitions over the wire: ros2/ros2#1159

Correct: rmw_cyclonedds_cpp is now expecting to get the type hash in the USER_DATA QoS of the discovered Writers and Readers. If not found this warning appears.
The bridge doesn't set this QoS for the Writers/Readers it create. To change this, it first needs to receive the type hash from a remote bridge. Meaning we need to add it in the liveliness tokens exchanged between the bridges.

Unfortunately I won't have time to address this shortly, as I'm attending ROSCon next week and then have a few days off. But I plan to do it in November.
Thank you for your patience !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants