How to log in to each robot and where to keep your own work once you’re there. What each computer does is on Hardware Documentation.
M20 Pro
Logging in
Join the robot’s Wi-Fi (CA9B_NO.***_5G), then SSH to AOS as user. The default SSH password, the same on all three hosts, is a single apostrophe: '
ssh user@10.21.41.1
NOS and GOS are on the robot’s internal network, so once you’re in AOS, SSH from there:
ssh user@10.21.31.106 # NOS
ssh user@10.21.31.104 # GOS
To go straight from your laptop in one step, jump through AOS with ssh -J user@10.21.41.1 user@10.21.31.106.
Where to put your files
Use /home/user for your own code and data. The robot’s own software and maps live elsewhere:
| Path | Holds | Notes |
|---|---|---|
/opt/robot |
Vendor programs, scripts and configs | Treat as read-only |
/home/user |
Your own files | About 17 GB free on AOS |
/var/opt/robot/data |
Maps and localization data | About 59 GB free on AOS; writing needs sudo |
X30 Pro
Logging in
Join the robot’s Wi-Fi, then SSH to any of the three computers as ysc. Ask a lab member for the password; all three use the same one.
ssh ysc@192.168.1.106 # navigation
ssh ysc@192.168.1.105 # perception
ssh ysc@192.168.1.103 # motion
Unlike the M20, all three are reachable straight from the Wi-Fi, with no jump host.
Where to put your files
| Path | Holds | Notes |
|---|---|---|
~/jy_cog (navigation, perception) |
Vendor navigation, perception and system software, started at boot | Treat as read-only |
~/jy_cog/system/maps (navigation) |
SLAM maps, 4–650 MB each; ~/jy_cog/system/map links to the active one |
Too large for git; we list them in a manifest |
~/jy_exe (motion) |
The vendor’s motion controller and its policies | Treat as read-only |
~/X30_dev (navigation, perception) |
A clone of our repository, with only that computer’s part checked out | Code runs straight from here |
~/ros1_ws (perception) |
Our ROS 1 packages: terrain_gait, the gate, nav3d |
Built on the robot with catkin_make |
Getting code onto the robot
The robot has no internet, so laptops carry code between GitHub and the robot. Each robot clone is a git remote of the laptop:
git remote add nav-106 ysc@192.168.1.106:X30_dev
git pull nav-106 main # first, to keep the robot's own commits (saved routes)
git push nav-106 main
The push updates the files on the robot straight away, and is refused if someone has uncommitted edits there. When you commit on the robot, add --author="Your Name <you@seas.upenn.edu>", since everyone logs in as ysc.
Internet on the robot
For apt, pip or git clone on the robot, run tools/robot_internet.sh nav-106 (or perception-105) on a laptop that has internet and is on the robot’s Wi-Fi. It opens an SSH session with a reverse SOCKS proxy on port 1080 and changes nothing on the robot. Point each tool at it explicitly:
| Tool | Command |
|---|---|
| Check | curl -sI -x socks5h://127.0.0.1:1080 https://github.com |
| apt | sudo apt -o Acquire::http::Proxy=socks5h://127.0.0.1:1080 -o Acquire::https::Proxy=socks5h://127.0.0.1:1080 install <package> |
| pip | pip3 install --proxy socks5h://127.0.0.1:1080 <package> (install python3-socks first) |
Don’t export proxy variables in a shell that runs ROS nodes.