Connecting with ROSbot over the internet
You can access the robot not only in LAN but also over the Internet. The connection is based on Husarnet VPN.
Find the Join Code
To connect your devices to the same Husarnet VPN network you need to use the Join Code associated with that network.
You will find your Join Code in your account at https://app.husarnet.com
-> Click on the desired network
Add element button
Join Code tab
Connecting your ROSbot
Brand new ROSbots may have the operating system image with Husarnet already connected to TheConstructSim platform. If you want to connect the robot to your own computer instead, remove the content of
sudo rm -rf /var/lib/husarnet
sudo systemctl enable husarnet
sudo systemctl start husarnet
sudo husarnet join PASTE_YOUR_JOIN_CODE_HERE rosbot
Connecting your laptop
Install Husarnet VPN client on your laptop (for Linux):
curl -s https://install.husarnet.com/install.sh | sudo bash
sudo systemctl restart husarnet
sudo husarnet join PASTE_YOUR_JOIN_CODE_HERE mylaptop
If you have another OS on your computer, please find the supported options here.
Testing the connection
That's all - now you can access the robot over the Internet and use your ROSbot's hostname instead of IPv4 addr, eg.:
After that you should see:
To get more information about using Husarnet visit this tutorial for quick start