ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

[ROS 1] Does UDP VPN work for ROS 1?

asked 2022-08-23 06:29:46 -0500

Muhd Hizam gravatar image

updated 2022-08-24 22:50:15 -0500

I am setting up a remote laptop to connect to my robot via openVPN. I have provided the connection diagram below: image description

The robot and laptop are connected via an openVPN tunnel and I can ping both sides. When I use UDP VPN, I encounter issues to see the rostopic messages and RVIZ. However I have no issues when I'm using TCP VPN.

Can I check whether anyone encountered any issues to use UDP VPN for their ROS 1 remote system?

edit retag flag offensive close merge delete

Comments

What is an example of a topic name that does not work? Are you getting any errors in the logs?

Mike Scheutzow gravatar image Mike Scheutzow  ( 2022-08-23 07:48:27 -0500 )edit

The rostopic list doesn't show anything and RVIZ doesn't loads up.

An example of a topic name that does not work is /velodyne_points (sensor_msgs/PointCloud2). I can't seem to find any errors in the logs when I run rostopic echo.

Muhd Hizam gravatar image Muhd Hizam  ( 2022-08-23 23:09:17 -0500 )edit

I added the image to your post.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2022-08-24 08:02:00 -0500 )edit

Thank you for adding the image and answer. Need some time to digest your answer. :)

Muhd Hizam gravatar image Muhd Hizam  ( 2022-08-24 22:49:32 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-08-24 07:55:23 -0500

Mike Scheutzow gravatar image

Bi-directional UDP traffic is highly unlikely to pass through a public cellular network. There is almost certainly Network Address Translation in use, as well as possible issues with packet fragmentation.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-08-23 06:29:46 -0500

Seen: 74 times

Last updated: Aug 24 '22