Robotics: see where the trajectory went wrong
For robotics, perception and automotive engineers whose outputs are trajectories, maps and sensor streams.
An average error doesn't say where the robot got lost, or why. A change that helps slow, careful driving can make fast turns drift, and one number over a few recorded sequences hides it. QA-Board shows each sequence's trajectory against the ground truth and the reference's, the map it built, and what the sensors saw when it went wrong.
What it changes for your team
- Every sequence, against the ground truth and the reference. Trajectories per axis and in 3D, with the error over time, for each sequence, on every commit.
- The map, in 3D. Orbit the point cloud the robot built, against where the points really are.
- The sensors, in sync with the result. Sensor videos play next to the reference's, frame by frame, so you see the moment the estimate leaves the truth.
- Regressions caught per sequence. Trends follows a trajectory metric commit after commit;
qa gate(experimental) fails CI when one sequence gets much worse, even when the average doesn't.
See it in action
The pictures come from a demo warehouse robot whose odometry has new loop closures, with a threshold that accepts matches between identical shelf bays.
The trajectory, against the truth
Each axis over time and the path in 3D: the new run, the reference and the ground truth. A false loop closure pulls the new trajectory away.


The map it built
The points the robot mapped, where its trajectory put them, against where they really are: false loop closures put shelves meters away. Drag to orbit, show or hide each cloud.


And everything else your code writes
The error over time is a Plotly figure with the reference's curve dashed on the same axes; a top-down map over the true layout is an image, compared with the image viewer. Trends follows the error of one sequence across commits, so the step where the fast figure-8 started drifting shows. See Trends.
How it's set up
Each sequence is a folder with a sequence.yaml: the path and the warehouse's seed. The 6DoF viewer reads tab-separated
poses, with the ground truth in GT_final.txt; the point cloud viewer reads PCD files, with an optional ground truth.
inputs:
# relative to this folder: each sequence is a folder with its sequence.yaml (and the generated truth.npz)
database:
linux: inputs
globs: sequence.yaml
use_parent_folder: true
batches: qa/batches.yaml
outputs:
metrics: qa/metrics.yaml
style:
width: 840px
visualizations:
- name: Trajectory
path: poses.tsv # x y z and the orientation over time; the ground truth is GT_final.txt
type: 6dof/txt
- name: Depth camera
path: camera.webm # the depth images and the path so far: played in sync with the reference
- name: Position error
path: ate.plotly.json # after aligning the trajectories, with the loop closures: the reference's is dashed
side_by_side: false
- name: Map, from above
path: map.png # the mapped points and the estimated path over the true layout
- name: Map in 3D
path: map.pcd # the keyframes' points where the odometry put them...
type: pointcloud/pcd
path_groundtruth: map.truth.pcd # ...and where they really are
default_hidden: true
- name: Loop closures
path: loop_closures.json
default_hidden: true
# Experimental: may change without notice
gate:
reference: main
labels: [ci]
rules:
- {metric: ate_rmse, max_regression: 15%} # median over the sequences
- {metric: ate_rmse, per_test_max_regression: 50%} # no sequence much worse than in the reference
max_failed_runs: 0
A run is memoized by the code, the flags, the sequence and the seed: a commit that doesn't change the odometry reuses the identical run, which keeps CI fast. Do the same for long simulations, and say so in the run's log.
Try it on the demo
In examples/robotics-3d, a warehouse robot
drives six simulated sequences: aisles, a loop around shelves, two figure-8s (one twice as fast), a docking approach
and a long corridor. Its depth camera and IMU are simulated, so the ground truth is exact. The odometry registers each
depth frame with point-to-plane ICP, started from the IMU's prediction, and closes loops with a pose graph. Each run
measures the absolute trajectory error (ATE), the relative pose error per meter, the drift at the end and the time per
frame.
The story the pictures tell
- The first release has no loop closure.
- Loop closure lands with a threshold that accepts matches with 30% overlap: they slide along the rows of identical shelf bays, and on the figure-8s the trajectory jumps meters away. The quality gate fails; raising the threshold to 60% keeps the real loop closures, which cut the error on the loops.
- A change that trusts ICP over the IMU makes the figure-8s drift in their turns. Trends on the figure-8 shows the step, the gate fails, and the change is reverted.
- Keyframes every 0.6 m instead of 0.3 m make it faster and better; a tuning sweep backs the choice.
You need Python 3.11 or later and FFmpeg (for the videos). The first run generates the sequences' ground truth (about 20 s); a run takes 15-40 s.
cd examples/robotics-3d
pip install qaboard -r requirements.txt
qa run --input sequences/figure8-fast
qa batch ci # the 6 sequences
qa batch ci shows the results in the web app. With the
quickstart's server, first
export QABOARD_URL=http://localhost:5151 QA_STORAGE=/tmp/qaboard. See the example's
README for the flags and the tuning
sweep.
Where next
- User guidePoint clouds and trajectoriesHow to read and compare them.
- Project integrationViewers and file formatsThe files the 3D viewers read.
- User guideThe video viewerVideos in sync, frame by frame.