Using ROS2 rviz via SSH

asked 2020-03-16 10:35:01 -0600

Hello there, I've got some questions regarding using ROS2 remotely. I have a robot connected and set up on a remote pc, and I can run things just fine, but the problem arises when I want to check the information that is provided via topics.

I can use ros2 topic echo to get the data, on the remote pc but the raw data that I get doesn't help me much.

So my question is - is there a way to show-broadcast the topics via ssh to my client pc, or display them via ssh? I've seen some question about using rviz via ssh, but those were done using ROS, not ROS2, I'm not sure in what way I can enable that without ROS Master & ROS IP. I've also seen rosshow repository, but it's also done on ROS1.

Is there anyone here with experience with such things?

edit retag flag offensive close merge delete

Comments

I can use ros2 topic echo to get the data, on the remote pc but the raw data that I get doesn't help me much

If ros2 topic echo on the remote PC works, then launching RViz on the remote PC should work as well. Or, are you saying you're running ros2 topic echo over SSH?

sloretz gravatar image sloretz  ( 2020-03-16 11:49:40 -0600 )edit

I mean running ros2 topic echo over SSH

Serafadam gravatar image Serafadam  ( 2020-03-17 03:35:04 -0600 )edit