To facilitate lab@home, we have created a private network for connect robots and computers together using Tailscale. This private network allows anyone to connect to any robots on the network around the world.
Raspberry Pi
Authkey (like this tskey-123abc456
)
Running either Raspbian 10
, Ubuntu 18.04
, or Ubuntu 20.04
You can check your OS version by doing lsb_release -a
If you don't have an Authkey, please reach out to your TA
Clone the repo: https://github.com/pitosalas/tb3-ros.git
cd tb3-ros/clients
Once the robot is successfully connected to the network, you can try to reach it via cloud desktop
Now that the robot is on the network, you can configure your cloud desktop to control the robot directly.
To control a specific robot, you need to connect to its ROS
master.
On your robot, edit ~/.bashrc
, add or replace the following lines:
If you are not sure what the Tailscale IP is, run ip addr show dev tailscale0 | grep -Eo '([0-9]{1,3}[\.]){3}[0-9]{1,3}'
On your cloud desktop (or your computer if you are not using cloud desktop), edit ~/.bashrc
, add or replace with the following lines:
If you are not sure what the cloud desktop's IP is, run ip addr show dev eth0 | grep -Eo '([0-9]{1,3}[\.]){3}[0-9]{1,3}'
Once this is setup, test the connectivity with
The following instructions are for if you are running cloud desktop on your own computer!
You can still connect to the private network without using cloud desktop. However, right now we have limited support for OS.
Officially supported
Ubuntu 18.04
Ubuntu 20.04
Unofficially supported
MacOS
Check this list
Clone the repo: https://github.com/pitosalas/tb3-ros.git
cd tb3-ros/clients
To connect to the network after every reboot, just do
Caution: all the instructions here have not been tested, you are on your own!!!
Download and Install Tailscale from App Store
Open the App, DO NOT login
With your terminal do,
Follow the instructions for installing for your OS here.
Once you have Tailscale installed, you can start it with the following command
Now that your computer is on the network, follow the instructions to control the robot directly.