Magnus Bot
A two-arm robot that plays chess against a human on a real board: it moves pieces with analytic inverse kinematics and passes them across a shared square when one arm can't reach. An RF-DETR model on a phone camera checks each robot move and reads the human's reply.
My part
I built the motion layer of the arm controller (min-jerk trajectories, the simulated executor, the IK-to-joint mapping, the reachability map and the servo-calibration tool), and helped collect, label and train the RF-DETR piece detector, measure the rig, and make the demo video.
- Event
- Cal Hacks 13.0 · Oct 2026
- Links
- Devpost ↗
- Language
- Python, TypeScript
- Robotics
- LeRobot, SO-101 arms, NumPy
- Vision
- RF-DETR, PyTorch, OpenCV
- Chess
- python-chess, Stockfish
- Web
- Next.js, Playwright, Steel
Roadmap
- Done: KM 1
Reach Check
A reachability map showed a straight-down grip reaches 48 of 64 squares at grasp height but none at the 14 cm carry height, which led to inverse kinematics with a tilted gripper.
- Done: KM 2
Motion
Min-jerk joint trajectories, timed by each segment's slowest joint, with every move planned and checked in simulation before the arms move.
- Done: KM 3
Calibration
The camera tracked a painted fingertip at two heights to measure where each arm really lands, and fitting the arm geometry cut placement error from 9.0 to 3.0 mm RMS.
- Done: KM 4
Grasp Tuning
Grasps were tuned per piece in a loop graded by the board camera: rook 9/10, bishop 12/12, pawn 5/5.
- Done: FINISH
Demo
The arms played all four White moves of Scholar's mate on the real board, passing pieces through the shared e3 square when one arm couldn't reach.