Crystal Lin
I’m a robotics student at UC San Diego with Triton Droids. I work on perception (how a robot sees) and control (how it moves) for humanoid robots.
Scroll
It starts with seeing
A ping-pong ball is 40 mm across and can cross the 2.74 m table in a fraction of a second. Before a humanoid robot can hit it back, something has to find the ball and work out where it is going.
So I built the eyes
Cameras, the software that calibrates them, and a tracker that turns their pictures into the ball’s position in 3D. Part of it runs on real hardware; the full-size version is designed and tested in simulation.
Tracking a ping-pong ball
40 mm of matte orange
The robot needs more than a picture of the ball. It needs the ball’s position in 3D (side to side, forwards and up) many times a second.
One bounce, then the robot has to be there
A regulation table is 2.74 by 1.525 m. After the bounce the robot has a split second to get its paddle in place, so it has to predict early where the ball will be.
Four cameras, four corners
The rig I proposed puts four cameras on 2.7 m stands around the table. They are global-shutter cameras: each picture is taken all at once, so a fast ball is not smeared or bent. They stand at the corners of a 5.2 m square and aim just above the center of the table.
226 frames a second, in sync
One shared hardware trigger makes every camera take its picture at the same instant, 226 times a second. Each camera sees the ball along a line of sight, a ray; where the rays cross is the ball in 3D. This is triangulation. Every point the ball can fly through is seen by at least three cameras.
1.2 mm typical error
In my error model, half of all position estimates land within 1.2 mm of the true position and 95% within 2.1 mm. That is simulated, not yet measured on real cameras. In a simulated 500-ball match the robot returned as many balls with this rig as with the commercial motion-capture system it would replace.
Ball motion capture, built from scratch
This part runs on real hardware today. pingtrack, the tracker I wrote, turns two off-the-shelf depth cameras and a laptop into a live 3D ball tracker at about 60 frames a second. Print three AprilTags (square markers like QR codes) and it works out where its cameras are by itself.
Camera bodies and ray errors are drawn larger than life so you can see them; the rig’s accuracy comes from a simulated error model.
Teaching a humanoid to rally
Two tracks
A policy is the learned “brain” that turns what the robot senses into movement. Track M learns table tennis from human players and is on hold while we focus on a near-term deadline. The simplified track ships now and adds reach to the team’s existing controller.
Learning from human players
First, a tracker policy learns to copy recordings of professional players (motion capture), retargeted onto all 29 joints of the Unitree G1. It is rewarded for staying balanced, so it holds a calm stance between strokes.
A space of skills
Next, what the tracker learned is squeezed into a compact skill space, where each point is one human-like movement. A learned prior marks which points are safe and balanced, so a policy can pick a stroke instead of steering 29 joints one by one.
Returning the ball from skill space
Finally, a return policy picks a point in that space for each incoming ball, plus small wrist corrections. A safety barrier keeps its choices close to what the prior trusts. It is built and waiting for training.
40,000 robots per GPU
Policies learn by trial and error, so we simulate about 40,000 robots at once on one graphics card (GPU), in Isaac Lab with Newton physics. Many fail; each failed copy resets and tries again. Motor delays and torque limits are modeled, and a contact guard stops training at any physics fault instead of hiding it.
A small learned residual
On the simplified track, a small policy trained with PPO (a common reinforcement-learning method) adds gentle corrections, a residual, on top of the team’s controller: eight arm and waist joints, 48 times a second, legs untouched. It kept zero falls and roughly halved foot slip.
Strokes invented on a GPU
To find new strokes, about 1,280 copies of the controller run side by side in MuJoCo Warp, a physics simulator that runs on the GPU. A search tries out variations and drops any that make the robot fall. The current set adds 474 cm² of reach and 172 more clean returns, with zero falls. The GPU ranks candidates quickly; the full controller has the final say on which ones are kept.
Results are from simulation. The robots play the real stroke set and the map shows its measured reach; the search’s variations, the skill space and the Track M motion are illustrations.
Localization for RoboCup
Knowing where you are
RoboCup is a robot soccer league, and a robot has to know where it is on the field: localization. cuVSLAM follows visual features from frame to frame to estimate how the camera moved (visual odometry). I use it as one input, next to leg motion and the gyro. It never decides the position on its own: both halves of a field look alike, so a wrong match could put the robot in the wrong half.
A particle filter on the field map
A particle filter keeps many guesses of where the robot might be: 3,000 when it is lost, 500 once it is tracking. Each guess is scored by how well the white lines seen by the RGB-D (color and depth) camera match a map of the field, and bad guesses are dropped. From an unknown start it settled on the right position in 1.07 s.
Smooth and drift-free
Odometry is smooth but slowly drifts; the filter does not drift but updates in steps. Combining them gives a position that is both. While walking, half the estimates were within 1.3 cm and 95% within 3.1 cm.
Results are from simulation and cuVSLAM was modeled; drift is exaggerated. The G1 stands in for the team’s robot.
Let’s talk robots
How robots see (perception), how they move (control), and the simulations used to teach them.
LinkedIn (opens in a new tab) Back to the top