System Implementation

System Overview

APEX Labs is a mobile manipulator that runs a lab experiment end to end. A scientist types a request in plain English; the system turns it into an 11-step routine, drives an omnidirectional swerve base between the lab stations, picks and places the wellplate with a UFactory xArm6 and our custom parallel-jaw gripper, and commands the Opentrons OT-2 liquid handler and our custom shaker. Before each dispense, a camera checks the pipette tip for a clog. This page describes the system as demonstrated at the Fall Validation Demonstration (FVD) on November 23, 2026.

Software architecture

A behaviour tree executive on the Jetson Thor orchestrates the routine. It calls Perception, Navigation, Planning and Manipulation on the robot, and the lab machine and anomaly detection services on the base station, and it advances only when a step is confirmed. If a step fails, the state is recovered and the run resumes at the next step without a reboot (the arm can be moved by joystick and the run carries on). The language planner and the web user interface run on the base station.

Software architecture
Software architecture: the behaviour tree on the Jetson Thor orchestrates the seven subsystems; language, UI, lab machines and anomaly detection run on the base station.

Subsystems at a glance

Subsystems 1 of 2: perception, navigation, planning, grasping
Input, method, output and offline result for Perception, Navigation, Planning and Grasping.
Subsystems 2 of 2: placing, lab machines, anomaly detection, language
Input, method, output and offline result for Placing, Lab machines, Anomaly detection and Language.

Full-system test (November 20, 2026): 4 of 5 end-to-end runs completed autonomously (target 50%); navigation 14/14, pick 14/15, place 13/14, anomaly detection 5/5 (both induced clogs caught, no false alarms) and lab machine commands 10/10.

Perception

Perception finds the wellplate and the lab stations in 3D, so that the arm knows where to grasp and where to place.

Implementation

Offline test result: mAP50 of 99.5% on 800 base-camera validation images and 99.4% on 4,200 gripper-camera validation images, with 0 false positives (target: 90% accuracy, under 5% false positives).

Perception flowchart
Perception: inputs, method, outputs and offline test.
Wellplate detection at the OT-2
Wellplate detection at the OT-2
Wellplate detection on the shaker
Wellplate detection on the shaker
Point cloud from the ZED X in RViz
Point cloud from the ZED X base camera, visualized in RViz

Navigation

Navigation drives the mobile base between the OT-2, the shaker and the home position, and docks it precisely enough for the arm to reach the station.

Implementation

Offline test result: 10 stress runs between the OT-2, the shaker and home: median stop error 3 in, worst 9 in (target: within ±5 in).

Navigation flowchart
Navigation: inputs, method, outputs and offline test.

Planning

Planning computes collision-free arm motions from the current arm configuration to a point above the target, carrying the wellplate level.

Implementation

Offline test result: 200 of 200 plans succeeded (100/100 at the OT-2 and 100/100 at the shaker, from 10 base positions, to and from each station; target: 95% success).

Planning flowchart
Planning: inputs, method, outputs and offline test.
Voxels generated from the point cloud for collision checking
Voxels generated from the point cloud for collision checking

Manipulation

Manipulation physically moves the wellplate: it grasps the plate from the robot deck or a station, and seats it in the slot of the OT-2, the shaker or the robot. It has two parts, grasping and placing.

Custom gripper

We designed and built our own gripper because the grippers on the market either did not fit our needs or were outside our budget. A lead screw drives two finger tips in a parallel-jaw motion. Each finger tip carries an FSR to detect contact with the plate, a limit switch homes the gripper, and a 12-pin cable powers and commands the gripper through the xArm6. A force/torque sensor sits at the wrist.

Custom gripper CAD
Custom gripper CAD
Custom gripper PCB
Custom gripper PCB

Grasping

Offline test result: 15 of 15 grasps succeeded across 3 stations (target: over 83% success).

Grasping flowchart
Grasping: inputs, method, outputs and offline test.

Placing

Offline test result: on 20% held-out demonstrations, the mean place error was 1.34 mm at the OT-2 and 0.92 mm at the shaker (target: over 66% success).

Placing flowchart
Placing: inputs, method, outputs and offline test.

Lab Machine Integration

Lab Machine Integration lets the routine command the instruments. Each routine step names the instrument and the action; a small service on the desktop base station receives the command over an MQTT broker and calls the instrument.

Offline test result: 100% of commands were executed correctly on both machines (target: 100%); 10 of 10 in the full-system test.

Lab machine integration flowchart
Lab machine integration: OT-2 and custom shaker command flow.
Custom shaker control PCB
Custom shaker control PCB

Monitoring (Anomaly Detection)

Monitoring catches a clogged pipette tip before the OT-2 dispenses, so that a failed aspiration does not silently ruin the experiment.

Offline test result: 92 of 95 labeled tip snapshots correct; 50 of 52 empty tips caught and 1 false alarm in 43 tips with liquid (target: over 80% detection, under 10% false alarms).

Anomaly detection flowchart
Anomaly detection: inputs, method, outputs and offline test.

Language Planner and User Interface

The language planner turns a plain-English request into a robot routine, and the user interface lets the scientist submit the request and follow the run.

Offline test result: 73 of 73 live prompt tests passed and 40 of 40 repeat runs gave identical routines (target: at least 85% accuracy).

Language planner flowchart
Language planner: plain English in, an 11-step robot routine out.
Web user interface during a run
Web user interface during a run