Designing the robot

Starting from Spot

STX-Q1 began as a layout study. Five dog layouts and a spider were each modelled in MuJoCo with real part masses for the servos, Jetson, battery and printed parts. Every layout then had its joints swept for collisions, was loaded to check servo torque, and was given a short walking-policy training run. The aim was a robot that looks like a small Spot: a long, clean trunk with the legs tucked underneath, and nothing sticking out.

The winner was "Spot compact": Spot's proportions at about 0.40 scale, with a 400 × 100 × 86 mm trunk, a 105 mm upper leg and a 115 mm lower leg. An A-frame leg variant was tried and dropped because it looked wrong. Straight legs stayed.

STX-Q1 assembly with covers

The legs

Each leg has three joints, and each joint has its own AX-12+ servo:

  • Abduction swings the leg out sideways, ±20°.
  • Hip pitch swings it forwards and back, ±40°.
  • Knee bends from −20° to +45°.

Putting the knee servo at the knee would make the lower leg heavy and slow to swing. Instead, the knee servo sits up in the thigh, outboard of the hip servo, and drives the knee through a push-rod: a short threaded rod with RC ball links at each end. The geometry gives about 1.5:1 near the standing pose, trading some speed for knee torque. The ratio is not constant: it climbs towards full bend. So the robot converts knee angles to servo positions with a lookup table worked out from the CAD linkage, not a single scale factor.

The upper leg is a two-piece white shell that closes around the knee servo. The lower leg is a black tapered strut with a ball foot.

The hips

The front and rear hip pairs sit in lined pockets in the body. Each pair is a sandwich: two abduction servos held between two printed plates, with a hip bracket on each abduction horn carrying the pitch servo. This was the first thing printed, as a test bed, to prove the fit and the horn hole pattern before printing the whole body.

Kit assembly: ab servos between plates, hip bracket, hip pairs into the body, closing the upper leg

The body

The trunk is two black tubs (front and rear) under two white magnetic top covers, with a yellow band around each end and black top rails. The Jetson rides in a cradle in the middle, the battery below it, and the stereo camera looks out of the front face. Each tub carries its own six-port servo hub. Covers are held by 6 × 3 mm magnets, so the electronics are a lift away.

Designed in code

Every part is parametric Python in build123d. One script generates all 29 part types. It checks them against the real ROBOTIS servo model and the electronics, tests for clashes through the joints' full range, confirms that each part is one solid piece, and lays the parts out on print plates. A kit-style assembly manual (Tamiya-style exploded steps, aimed at builders aged 12 and up) is rendered from the same models in Blender.

Before any new body or hip part is printed, a full audit runs: clashes, joint motion, and an assembly-order check.

The same design produces the robot's URDF, the description the simulator and ROS use. From then on the URDF is the single source of truth, and the simulator's model is generated from it.

Every screw in the kit is a Phillips pan head (M2 and M3), so a builder needs only two screwdrivers and no hex keys.

Updated 1 December 2026