ros2 / rmw_iceoryx

rmw implementation for iceoryx
Apache License 2.0
153 stars 27 forks source link

rqt_graph crashes immediately #68

Closed flynneva closed 2 years ago

flynneva commented 2 years ago

Required information

Operating system:

Ubuntu 20.04.3 LTS

Compiler version:

GCC 9.3.0

Branch:

galactic

Observed result or behaviour:

ros2 run rqt_graph rqt_graph crashes immediately when ran, outputting this error:

ros2 run rqt_graph rqt_graph
Log level set to: [Warning]
Log level set to: [Warning]
PluginManager._load_plugin() could not load plugin "rqt_graph/RosGraph":
Traceback (most recent call last):
  File "/opt/ros/galactic/lib/python3.8/site-packages/qt_gui/plugin_handler.py", line 102, in load
    self._load()
  File "/opt/ros/galactic/lib/python3.8/site-packages/qt_gui/plugin_handler_direct.py", line 55, in _load
    self._plugin = self._plugin_provider.load(self._instance_id.plugin_id, self._context)
  File "/opt/ros/galactic/lib/python3.8/site-packages/qt_gui/composite_plugin_provider.py", line 72, in load
    instance = plugin_provider.load(plugin_id, plugin_context)
  File "/opt/ros/galactic/lib/python3.8/site-packages/qt_gui/composite_plugin_provider.py", line 72, in load
    instance = plugin_provider.load(plugin_id, plugin_context)
  File "/opt/ros/galactic/lib/python3.8/site-packages/rqt_gui_py/ros_py_plugin_provider.py", line 69, in load
    return super(RosPyPluginProvider, self).load(plugin_id, ros_plugin_context)
  File "/opt/ros/galactic/lib/python3.8/site-packages/qt_gui/composite_plugin_provider.py", line 72, in load
    instance = plugin_provider.load(plugin_id, plugin_context)
  File "/opt/ros/galactic/lib/python3.8/site-packages/rqt_gui/ros_plugin_provider.py", line 107, in load
    return class_ref(plugin_context)
  File "/opt/ros/galactic/lib/python3.8/site-packages/rqt_graph/ros_graph.py", line 193, in __init__
    self._update_rosgraph()
  File "/opt/ros/galactic/lib/python3.8/site-packages/rqt_graph/ros_graph.py", line 285, in _update_rosgraph
    self._graph.update()
  File "/opt/ros/galactic/lib/python3.8/site-packages/rqt_graph/rosgraph2_impl.py", line 542, in update
    updated = self._graph_refresh()
  File "/opt/ros/galactic/lib/python3.8/site-packages/rqt_graph/rosgraph2_impl.py", line 351, in _graph_refresh
    if any(
  File "/opt/ros/galactic/lib/python3.8/site-packages/rqt_graph/rosgraph2_impl.py", line 352, in <genexpr>
    qos_check_compatible(pub_qos, sub_qos)[0] == QoSCompatibility.ERROR
  File "/opt/ros/galactic/lib/python3.8/site-packages/rclpy/qos.py", line 491, in qos_check_compatible
    result = _rclpy.rclpy_qos_check_compatible(
rclpy._rclpy_pybind11.RMWError: failed to check if qos profiles are compatible: rmw_iceoryx_cpp does not support QoS profile check compatible, at /home/flynn/code/ros/galactic/src/rmw_iceoryx/rmw_iceoryx_cpp/src/rmw_qos.cpp:35

Expected result or behaviour:

rqt_graph ran normally

Conditions where it occurred / Performed steps:

RMW_IMPLEMENTATION=rmw_iceoryx_cpp ros2 run rqt_graph rqt_graph

ZhenshengLee commented 2 years ago

Thanks for your report!

As far as I know, rqt_graph is available in foxy branch.