Closed ivanpauno closed 3 years ago
I think highlighting the topic makes sense, which indicates one or more pub/sub pairs is not compatible. Maybe also adding incompatible info to the topic tooltip would be good.
Instead of writing more text to the topic node, maybe we could create a new graph node with the error message and draw a dotted/dashed line to the afflicted topic node.
Another thing we could do is print an error to the terminal too.
Maybe also adding incompatible info to the topic tooltip would be good.
I will try that, I hope tooltips on nodes are more reliable that tooltips on edges.
Instead of writing more text to the topic node, maybe we could create a new graph node with the error message and draw a dotted/dashed line to the afflicted topic node.
Sounds a bit confusing, but I will give it a try ...
Another thing we could do is print an error to the terminal too.
I prefer not printing anything to the terminal in apps with a GUI, most people won't pay attention.
I will try that, I hope tooltips on nodes are more reliable that tooltips on edges.
Tooltips on nodes actually seem to work pretty well.
I'm not sure what's the problem with edge tooltips
.
I've created a new galactic-devel branch since the new qos_check_compatible
API is not available in Foxy.
I'm not sure how obvious the red color will be for people, but it seems like a nice improvement.
Agreed. Colouring a node in red was already used to indicate nodes with "connectivity problems" (see here). (that was at least working in ROS 1, no idea if it works in ROS 2)
So there's some precedent at least :smile:.
I will ignore the Fpr checker failure, as it shouldn't run anymore in this branch.
Depends on https://github.com/ros2/rclpy/pull/708.
Slightly related to https://github.com/ros-visualization/rqt_graph/issues/59. This automatically detects qos incompatibilities and shows them in the graph by coloring the topic node red.
More information could be provided to the user, but I'm not sure how to make it look nice: not sure if node tooltips will be reliable, adding more text to the node label might not look nice, ...
@jacobperron ideas?