Skip to content

· Gemm

I asked the G1 to put a marker away. In simulation it did; on the robot, it didn't

My first step toward a robot that works on its own: type an instruction and have it carried out. The first real test failed in three ways, and one changed how I think about the stop button.

Until October, everything the G1 did, it did because someone was moving it: me in the headset, teleoperating it. I wanted to take a first step toward something else: having it do a task on its own. I picked something small on purpose: putting colored markers away in a box.

Repeating isn't learning

The first thing I built was "show and repeat": I record a movement from the panel and the robot repeats it. It works, but it repeats it exactly: if the marker is a centimeter further away, it grabs thin air. For it to really learn, it would take dozens of demonstrations and training a model. I wanted something with a bit of judgment, so I added the camera: it sees where the marker is and adapts the movement.

Tell it what to do

The version I ended up with works like this: I type "put the red marker in the box", the robot looks at the table, picks the marker, plans the movement without moving and asks me to confirm. Only then does it go, and afterwards it checks that the marker is gone.

In simulation it worked. On the real table, things showed up that the simulation didn't have: the camera saw the table more than the markers, mistook a keyboard for the box, and the open lid made the box look bigger. I removed them one by one. And the calculation of how far the arm can reach was off by two or three centimeters, because the robot's model came with a shorter hand than the one actually installed.

October 29: the first real test

  • It didn't move. The robot was in a mode that silently ignores arm commands. There was no error to look at: nothing happened.
  • The hand didn't close. It reached the marker and didn't grab it.
  • On the way back, it hit the table. To return to its starting position, the arm went straight there and swept across the table.

The third one taught me the most. I changed what "Stop" does: now it opens the hand and retraces its path backwards, instead of going straight to the starting position.

What I take from it

  • "It works in simulation" isn't "it works". It's half the job, and the easy half.
  • A system that silently ignores a command is worse than one that fails with an error: you don't even know where to start looking.
  • Before you make a robot grab something, you have to make stopping safe.

It doesn't work on the robot yet. That's what I'm on right now.

All notes

All notes →