I cannot get tf message from remote PC

asked 2022-09-16 00:53:51 -0500

kuma3y1t@gmail.com gravatar image

What I'm trying to do is get tf data from remote PC. I use 2 PCs, raspberry pi where I installed ROS melodic and windows PC with ROS melodic running on wsl. I made the windows PC the master and raspberry pi connects to the master. When I publish tf using rosrun tf static_tf_publisher ~ ,I can see the topic /tf is being published from windows PC. I also can see the message is in the topic. But I cannot visualize tf in Rviz on windows PC. I added TF from add buttom. I tried to choose the fixed frame and clicked the triangle buttom of fixed frame but nothing appeard below. So I write the fixed frame but it didn't help. I set up NTP. But it didN't work.

I'm not used to ROS, so there may be lots of lacks of information to explain. If so, I would like you to tell me to add the information. Sorry for my poor English.

edit retag flag offensive close merge delete

Comments

What is the url of the tutorial you followed to set up the ros networking? The Windows firewall is a common problem.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2022-09-17 09:22:28 -0500 )edit

Thank you for your reply! I followed this tutorial http://wiki.ros.org/ROS/Tutorials/Mul... . I made it possible to connect ping from raspberry pi to windows PC disabling ICMPv4 firewall following this website https://atmarkit.itmedia.co.jp/ait/ar... . What kind of port should I disable on the windows PC?

kuma3y1t@gmail.com gravatar image kuma3y1t@gmail.com  ( 2022-09-19 10:37:57 -0500 )edit

According to this wiki page, WSL2 is not a supported O.S.: http://wiki.ros.org/noetic/Installation

Even on ubuntu, ros has a steep learning curve. Trying to use ros on an unsupported OS is going to be even more difficult.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2022-09-20 08:05:58 -0500 )edit

So you mean I should install not on Windows PC but on pure ubuntu PC? What do you suggest if I have to keep using the Windows PC?

kuma3y1t@gmail.com gravatar image kuma3y1t@gmail.com  ( 2022-09-20 09:18:34 -0500 )edit