Ask Your Question

Revision history [back]

rqt_graph in ros2

Hi is it possible to visualize the ROS2 nodes graph using ROS1 rqt_graph package?

I have ROS1 kinetic and ROS2 bouncy installed on my pc. I tried to run the ROS2 example nodes publisher and subscriber, but I'm not visualizing them in the resulting graph.

I run the following (each command is in a separate terminal)

$ roscore

$ ros2 run ros1_bridge dynamic_bridge --bridge-all-2to1-topics

$ ros2 run examples_rclcpp_minimal_publisher publisher_lambda

$ ros2 run examples_rclcpp_minimal_subscriber subscriber_lambda

$ rosrun rqt_graph rqt_graph

The result is a graph where there is the ros bridge connected to the topic used by the ROS2 nodes, but they are not visualized.