Skip to content

· Gemm

We switched robots midway. My part took one day to move

In late October we moved to a new G1. Within a day, teleoperation, the panel, the video and the hands were running as a single service that starts on its own.

On October 27 we switched G1s. Everything I had built on the previous robot —the virtual reality teleoperation, the panel, the video to the headset and the hand control— had to move to the new one, without holding up the rest of the team's work.

My changes weren't the whole system

I had a backup on my computer with all my changes. When the move started I saw that it wasn't enough: the full environment and the libraries teleop depends on only lived on the old robot. I copied them from there while it was still on, and decided I shouldn't depend on that again.

Make it buildable from scratch

In the repository I kept only the code and the exact list of what it needs to run, with no copies of hand-built environments. With that, Eitan adds it as one more piece of the robot's system, separate from the others and without leaving anything loose installed on the robot.

By October 28 it looked like this: teleop, the panel, the video and the hands run as a single service that starts on its own when the robot boots, and waits for the camera and Eitan's parts to be ready before starting. It uses the same private network as the previous robot, so the headsets connect the same way as always.

What I take from it

  • A backup of your changes isn't a backup of the system. If you can't build it from scratch from the code, you don't have it.
  • Everything starting on its own when the robot boots isn't a luxury: it's what lets anyone on the team use it without having to call me.
  • Keeping my part cleanly separate from everyone else's made switching robots a day's work instead of a problem.

All notes

All notes →