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] Failed to parse type hash for topic from USER_DATA '(null)' on local loopback interface #153

Closed
Fellfalla opened this issue May 25, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Fellfalla
Copy link

Fellfalla commented May 25, 2024

Describe the bug

[WARN] [1716629393.254861174] [rmw_cyclonedds_cpp]: Failed to parse type hash for topic 'rt/india/move_state_goal_pose' with type 'geometry_msgs::msg::dds_::PoseStamped_' from USER_DATA '(null)'.

The example script to reproduce with according profile of move_to_goal_pose is

import rclpy
from rclpy.qos import QoSProfile, QoSReliabilityPolicy, QoSHistoryPolicy
from geometry_msgs.msg import PoseStamped

rclpy.init()
node = rclpy.create_node('state_control', automatically_declare_parameters_from_overrides=True)

qos_profile = QoSProfile(
    reliability=QoSReliabilityPolicy.RELIABLE,
    history=QoSHistoryPolicy.KEEP_LAST,
    depth=1
)

pub = node.create_publisher(PoseStamped, 'move_state_goal_pose', qos_profile=qos_profile)

rclpy.spin(node)

This error happens in conjunction with following cyclone_dds.xml configuration

<?xml version="1.0" encoding="UTF-8" ?>
<CycloneDDS xmlns="https://cdds.io/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://cdds.io/config
https://raw.githubusercontent.com/eclipse-cyclonedds/cyclonedds/master/etc/cyclonedds.xsd">
    <Domain id="any">
        <General>
            <Interfaces>
                <NetworkInterface name="lo" priority="default" multicast="true" />
            </Interfaces>
        </General>
    </Domain>
</CycloneDDS>
  • Note! Changing the NetworkInterface from lo to wlo1 gets rid of the warning message

Console Output:

1716631298.152213 [0]    python3: config: //CycloneDDS/Discovery: settings moved to //CycloneDDS/Domain/Discovery (file:///workspaces/skid_repo/cyclone_dds.xml line 22)
[WARN] [1716631298.156905131] [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] [1716631298.156948032] [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. launch zenoh via zenoh-bridge-ros2dds
  2. run CYCLONEDDS_URI="cyclone_dds.xml" python3 tests.py based on the provided example python code

System info

  • zenoh bridge for DDS v0.10.1-rc built with rustc 1.72.0 (5680fa18f 2023-08-23)
  • Linux kilo 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 09:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
  • ROS_DISTRO: iron irwini inside modified osrf/ros:iron-desktop-full container image
@Fellfalla Fellfalla added the bug Something isn't working label May 25, 2024
@Fellfalla Fellfalla changed the title [Bug] [Bug] Failed to parse type hash for topic from USER_DATA '(null)' on local loopback interface May 25, 2024
@Rayman
Copy link

Rayman commented Jun 7, 2024

I have the same issue. Any idea what could cause this?

@JEnoch
Copy link
Member

JEnoch commented Oct 18, 2024

This is the same issue than #290.
Closing this one as duplicate.

@JEnoch JEnoch closed this as completed Oct 18, 2024
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

3 participants