ROS Bridge between two ROS Networks
Hello,
I'm trying to connect two ROS nodes on different networks together through ROS Bridge. However, I can only find a ROSBridge Server package, meaning that both of my nodes insist on the other connecting to it. Does anyone know if there is a ROSBridge Client for ROS?
Other methods of connecting two ROS nodes on different networks that I have read include creating a VPN between my two nodes but I unfortunately cannot create VPNs in my use case. Ideally I want one ROS node to be a server so I can expose its IP for other ROS node clients to connect to it.
One solution I thought of was to run a middleman script between the two ROS Bridge Server instances using roslibpy to simply pass the JSON from one server to the other but this seems like an unideal solution that I would like to avoid.
Thanks
Asked by erwang on 2020-09-28 20:29:54 UTC
Answers
if you can communicate from one adress to the other. then you can communicate with standart ros. because it is tcp.
are both nodes behind an nat router? then you have to forward many ports. then vpn ist the only solution without extra code.
you may read this page
http://wiki.ros.org/ROS/Tutorials/MultipleRemoteMachines
Asked by duck-development on 2020-09-29 11:38:59 UTC
Comments