Robotics StackExchange | Archived questions

Use crystal rqt_graph 1.0 in kinetic possible?

I'm relatively new to ROS and I'm trying to understand a quite complex system. I find very hard to understand how things fit together with rqtgraph. I've read that crystal rqtgraph 1.0 has some improved visualization and I'd like to try it and see if it makes easier to understand the system. However, I'm stuck with kinetic. I wonder if there is any way to run rqt_graph 1.0 in kinetic.

Asked by martinakos on 2019-03-14 06:44:51 UTC

Comments

Answers

You can't use the ROS2 version of rqt_graph to visualize a ROS1 system.

In order to make ROS1 and ROS2 communicate you need the ROS bridge, but this invalidates the rqt_graph.

If you try you would just see all the ROS1 topics as if they were coming out of a single node (the bridge).

I'm not aware of any specific improvements in rqt_graph for ROS2 and personally I have always been able to visualize my ROS systems using rqt_graph.

Here you can see the difference between the ROS1 and ROS2 version of rqt_graph. The only relevant change is the addition of src/rqt_graph/rosgraph2_impl.py file, which actually has been ported ffrom the ROS1 ros_comm package.

Asked by alsora on 2019-03-14 11:12:58 UTC

Comments

These are the improvements in rqt_graph 1.0 https://github.com/ros-visualization/rqt_graph/pull/13

Asked by martinakos on 2019-03-14 11:24:22 UTC

@martinakos: the PR you refer to was merged into master which is a branch used to release packages from into "regular ROS 1" packages. The features you are looking for are available in ROS 1 rqt_graph since May 2018. See here for the changelog.

Asked by gvdhoorn on 2019-03-17 15:28:45 UTC