ros-visualization / rqt_graph

http://wiki.ros.org/rqt_graph
27 stars 27 forks source link

Crashing in humble when selecting topics and nodes #79

Closed JuliusSustarevas closed 2 years ago

JuliusSustarevas commented 2 years ago

ROS 2 Humble rqt_graph launches fine, but when I select "show all (topics and nodes)" it crashes with the following:


    QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-jj'
    Traceback (most recent call last):
      File "/opt/ros/humble/local/lib/python3.10/dist-packages/qt_dotgraph/dot_shapes.py", line 22, in paint
        painter.drawLine(rectangle.topLeft().x() + self._bounding_box.height() * 0.1,
    TypeError: arguments did not match any overloaded call:
      drawLine(self, QLineF): argument 1 has unexpected type 'float'
      drawLine(self, QLine): argument 1 has unexpected type 'float'
      drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
      drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
      drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
    Aborted (core dumped)

Any advice much appreciated. 
clalancette commented 2 years ago

This was fixed in https://github.com/ros-visualization/qt_gui_core/pull/264 , and should be released soon.