Guide
How to Calibrate UMI Gripper Width
Short answer
UMI measures gripper width by tracking fiducial markers on the fingers in the camera video. Calibration is a short recording: open and close the gripper five times to set its minimum and maximum width, once per gripper and often per scene. Then check width stays in one range per gripper. Firsthand QA rejects and recaptures what misses.
Last reviewed:
How does UMI measure gripper width?
In the UMI paper (opens in a new tab) the demonstration gripper is a hand-held, trigger-activated parallel-jaw gripper with soft fingers and a wrist-mounted camera as its only sensor and recording device. There is no separate width sensor in that description. The authors state that on the UMI gripper “finger width is continuously tracked via fiducial markers”, and later call the result vision-based gripper width estimation. They explain why: commanding gripper width continuously, instead of a binary open-close action, significantly expands the range of tasks a parallel-jaw gripper can do, because tasks such as tossing need precise release timing and objects have different widths.
The repository shows how this works in code. As read on the main branch for this review, the pipeline detects the finger markers in every recorded video, and each gripper has six marker IDs: for gripper number n, the left finger marker is ID 6n and the right is ID 6n + 1. For each frame the code takes the width from the distance between the two finger markers, ignoring a marker whose depth from the camera falls outside a window around a nominal value. If only one finger marker is usable, it estimates width as twice that marker’s offset from the center; if neither is usable, the frame has no width. The repository can change, so treat these as the authors’ current defaults, not fixed rules.
Two kinds of fiducial marker appear in the UMI sources. The finger markers are in view during every demonstration, because they are how width is measured. The optional mapping marker in the paper’s appendix is placed on the table or ground for the mapping scan and removed before demonstrations; it makes SLAM initialization more robust and is covered in UMI SLAM tracking loss and UMI SLAM mapping. This guide is about the finger markers and the width range only.
For the signal’s definition, see gripper width tracking. For the buyer inspection list, see the UMI data quality checklist. Background is in what is the Universal Manipulation Interface? and UMI variants compared.
Firsthand is not affiliated with, endorsed by or related to the UMI authors, their institutions or any gripper or camera maker. Statements about UMI are the authors’, taken from the paper and the repository. Statements about Firsthand are only what the site already says; where the site is silent, a step is scoped per project.
Why does gripper width need calibration?
A marker-based width is a measurement taken from video, so it needs a reference for what “fully closed” and “fully open” look like on a given gripper. The paper’s appendix gives two reasons for its gripper calibration step. First, the step is “only necessary once per gripper to account for manufacturing inconsistencies”, so two grippers built to the same design can have slightly different minimum and maximum widths. Second, the authors often repeat it for every data collection scene “to avoid potential issues from accidentally mixing up between grippers between collection sessions”. In other words, the recording both sets a range and acts as a record of which gripper is which.
It matters downstream because width is part of what a policy learns. In the paper the policy takes synchronized observations that include gripper width, and outputs desired relative end-effector poses and gripper widths as actions, so an out-of-range or inconsistent width sits in both the input and the target. The paper does not measure how a calibration error changes policy performance, so this guide states no figure.
Width calibration is separate from the other calibrations in the UMI sources: camera and IMU calibration, time synchronization of two cameras (which the paper says can be skipped for single-arm tasks), and latency calibration on the deployment robot, which is the lab’s own work. None of these is the width-range calibration described next.
How do you calibrate UMI gripper width, step by step?
The paper states the human step and the repository shows what the pipeline does with the recording. The table puts them in order. The paper’s text is paraphrased and the repository’s behavior is described as read on the main branch for this review. Anything the sources do not state is marked, not filled in.
| Step | What you record or run | Source |
|---|---|---|
| 1. Have finger markers on the gripper | Fiducial markers on the fingers, used to track width continuously. The repository expects six marker IDs per gripper, with the left and right finger markers as IDs 6n and 6n + 1. Build details are in the authors’ hardware guide. | UMI paper (opens in a new tab) section III-A; UMI GitHub (opens in a new tab) README and `scripts/calibrate_gripper_range.py` |
| 2. Decide when to calibrate | Once per gripper at minimum, to account for manufacturing inconsistencies. The authors often do it for every collection scene, to avoid mixing up grippers between sessions. This step is marked optional in the protocol. | UMI paper (opens in a new tab) appendix A.0-B |
| 3. Record the calibration video | Record a video of opening and closing the gripper five times, which calibrates the minimum and maximum width between the fingers. The pipeline needs the finger markers detected in this video. | UMI paper (opens in a new tab) appendix A.0-B |
| 4. Put it where the pipeline looks | In the session folder, the calibration recording sits in a folder whose name starts with `gripper_calibration`, under the demos folder, as a raw video. One folder per scene keeps it with its demonstrations. | UMI GitHub (opens in a new tab) `scripts_slam_pipeline/05_run_calibrations.py`; UMI paper (opens in a new tab) appendix A.0-B (one folder per scene) |
| 5. Detect the markers in every video | Run the pipeline. Its marker-detection stage, `04_detect_aruco.py`, runs on each video using the camera intrinsics file and the marker configuration file from the repository’s example calibration folder, and writes a per-video detection file. | UMI GitHub (opens in a new tab) `run_slam_pipeline.py`, `scripts_slam_pipeline/04_detect_aruco.py` |
| 6. Compute the width range | The calibration stage, `05_run_calibrations.py`, runs `scripts/calibrate_gripper_range.py` on each calibration folder. It finds the gripper with the highest finger-marker detection rate, and stops if none is found or if the rate is under its default of 0.8. It writes `gripper_range.json` with `gripper_id`, `left_finger_tag_id`, `right_finger_tag_id`, `max_width` and `min_width`. | UMI GitHub (opens in a new tab) `scripts/calibrate_gripper_range.py`, `scripts_slam_pipeline/05_run_calibrations.py` |
| 7. Apply it to the demonstrations | The dataset-planning stage, `06_generate_dataset_plan.py`, loads every `gripper_range.json`, builds a calibration for each gripper and passes each demonstration’s per-frame width through it. It matches the gripper by the marker-derived hardware ID, falls back to the camera serial number, and raises “Gripper calibration not found” if neither matches. | UMI GitHub (opens in a new tab) `scripts_slam_pipeline/06_generate_dataset_plan.py` |
| 8. Read the detection warning | The same stage prints a warning for a video where fewer than 0.9 of frames have the gripper’s finger markers detected. The frames that have a width become a width signal evaluated at the video’s frame timestamps. | UMI GitHub (opens in a new tab) `scripts_slam_pipeline/06_generate_dataset_plan.py` |
UMI gripper width calibration: step, what you record or run and where it is stated
The paper also says its conversion script detects and disambiguates the left and right grippers using the cameras’ serial numbers. That matches the repository’s camera-serial fallback, and it is why a calibration recording and a demonstration recording need to come from the same gripper and camera pairing.
What the sources do not give is just as useful to know: no acceptable minimum or maximum width you could write into a spec, no tolerance between two calibrations of the same gripper, no cycle count other than five, no lighting requirement beyond marker detection, and no accuracy figure for the width signal. If a vendor quotes a width tolerance, ask whether it is theirs or from the UMI authors.
How do you check that width calibration worked?
Checks split into those you run in the pipeline and those you run on delivered data. The table lists each, when it applies and where it comes from. Authors’ steps are cited to the UMI sources, Firsthand statements to site pages, and anything neither source states is marked scoped per project.
| Check | When | Source |
|---|---|---|
| The calibration video shows five open-close cycles with the finger markers in view | When the calibration is recorded | UMI paper (opens in a new tab) appendix A.0-B; marker visibility inferred from the repository’s detection requirement |
| The calibration script finds a gripper and reports a detection rate at or above its default of 0.8 | After the calibration stage runs | UMI GitHub (opens in a new tab) `scripts/calibrate_gripper_range.py` |
| The detected gripper ID is the gripper that was actually recorded | After the calibration stage runs, and at each scene | UMI paper (opens in a new tab) appendix A.0-B (mixing up grippers). How grippers are labelled in Firsthand collection is scoped per project |
| `min_width` is below `max_width`, and repeat calibrations of one gripper agree | After the calibration stage runs | The sources state no tolerance for agreement; set it in the spec. Scoped per project |
| No pipeline error about a missing gripper calibration, and no low-detection warning | During dataset planning, per session folder | UMI GitHub (opens in a new tab) `scripts_slam_pipeline/06_generate_dataset_plan.py` |
| Width is continuous and smooth, not an open or closed flag | On receipt of a batch | UMI paper (opens in a new tab) section III-A; site: UMI data quality checklist |
| Width stays inside one minimum and maximum per gripper across episodes | On receipt of a batch | Site: UMI data quality checklist |
| You can say which calibration recording belongs to which gripper, and whether it was repeated per scene | On receipt of a batch | Site: UMI data quality checklist. What Firsthand supplies for UMI-style batches is scoped per project |
| Frames where markers were missed are flagged or filled in, and you know which | On receipt of a batch | Site: UMI data quality checklist. The flag format is scoped per project |
| Any width range or timing tolerance is written into the spec | Before capture starts | Site: gripper width tracking. The values are scoped per project |
UMI gripper width checks: check, when and source
The most useful single check on delivered data is consistency. Plot width for one gripper across episodes and scenes, and the minimum and maximum should sit in a stable band. A persistent range offset between two grippers points to calibration, a swapped gripper or a missing calibration recording, not to the task. This needs only the delivered width values and a note of which gripper recorded each episode.
What do calibration errors look like in the data?
The UMI paper does not describe a gallery of width failures. It names one it guards against, mixing up grippers between sessions, without stating the effect on the data. The table separates what is stated from what follows from the repository’s code, and says so where neither settles it.
| Problem | What you see | Fix the sources state |
|---|---|---|
| Gripper not recognized, or no calibration for it | The pipeline stops with “Gripper calibration not found”, so no width is produced for that video (repository behavior) | Record a calibration video for that gripper and rerun. Calibrating per scene is the authors’ habit. UMI GitHub (opens in a new tab) |
| Finger markers poorly detected in the calibration video | The range script prints that no gripper was detected, or that the detection rate is below its threshold, and exits (repository behavior) | Not stated beyond the script’s message. Re-record so the markers are detected; the repository gives no further guidance. UMI GitHub (opens in a new tab) |
| Markers missed on some demonstration frames | A warning when fewer than 0.9 of frames have markers detected; frames with no width are not measured and the width signal is built from the frames that were (repository behavior) | Not stated. Ask whether affected frames are flagged or filled in; the site’s checklist includes that question. UMI data quality checklist |
| Grippers mixed up between sessions | Width ranges that differ between grippers, or a calibration applied to the wrong gripper. The paper states the risk but not the effect | Calibrate per scene to avoid it, as the authors often do. UMI paper (opens in a new tab) appendix A.0-B |
| Calibration drift between recordings of one gripper | Not described in any UMI source. The sources state no drift behavior or recalibration interval beyond once per gripper and often per scene | Not stated. Set a repeat-calibration agreement tolerance in the spec. Scoped per project |
UMI gripper width problems: what you see, what the sources say and what to do
For training, the summary is short. Width is both an observation and an action in the UMI policy, so a wrong range is carried into both, and the sources describe no mechanism that corrects it later. No source measures how a calibration error changes policy success, so any quoted effect should come with its own evidence.
How does QA catch width problems?
QA for width is the buyer-side counterpart of the calibration steps. The UMI data quality checklist lists the width checks as part of batch review: continuous width, a consistent minimum and maximum per gripper, the calibration recording for each gripper, and what happened to frames with missing markers. The briefing loop in how to train UMI capture providers points a drifting width range back to calibration.
- Ask for the calibration recording or its result for each gripper, and which episodes used it.
- Ask whether calibration was repeated per scene, as the authors often do, or once per gripper only.
- Check width range per gripper and per scene first, since a range error shows up there.
- Ask how episodes with missing finger markers are marked, and whether they are kept, filtered or recaptured.
- Read the reject log: it should say why an episode was rejected, such as a width fault.
- Put any width tolerance in the signed spec, because the UMI sources give none to borrow.
Width and tracking both come from the same camera video, but they are separate stages in the pipeline: a session can track well and still have a bad width range, and the reverse. For the tracking side, see UMI SLAM tracking loss: causes and fixes.
How does Firsthand handle gripper width in custom UMI collection?
Firsthand runs custom UMI data collection: UMI-style handheld gripper demonstrations recorded to your task spec in real homes, workplaces and factories, through our network of capture providers, on rigs we source and ship. Delivered per episode: gripper-camera video, 6-DoF end-effector trajectory, continuous gripper width, IMU, timestamps, task and episode metadata, and success and failure labels. Paired head-mounted egocentric video is available on request.
As the site states it, custom collection is run against a signed specification with accept and reject criteria. Providers are recruited, screened against the spec, briefed and given paid practice runs, on rigs Firsthand sources and ships. QA measures every item against the criteria, annotation has a second reviewer, items that miss are rejected and recaptured, and you receive a validated set with a reject log and an anonymization record. A Spec Pilot, a small fast first batch that ends in an accept and reject read-out, is the place to try your width requirements before volume. For scale the site says: custom collection at scale through a network of thousands of capture providers, for a consistent, recurring data flow to labs.
On width specifically, the site states that continuous gripper width is delivered per episode alongside the other fields. It gives no width accuracy figure, calibration tolerance or sync figure, so none appears here. How a calibration recording is captured, labelled and delivered for UMI-style batches, the recapture rule for a width fault, and the pipeline configuration are scoped per project. Force/torque, tactile and gripper depth are scoped on request, and so is the delivery format for UMI-style data. Paired head-mounted egocentric video is available on request.
Details are on UMI data collection services. To describe your tasks, environments and width requirements, request a custom UMI dataset. Fast, on-demand collection is scoped to your spec, and your lab trains and evaluates the policy.
FAQ
How to Calibrate UMI Gripper Width, answered.
01How is gripper width measured in UMI?
The UMI paper says finger width is continuously tracked via fiducial markers on the gripper fingers, read from the wrist-mounted camera video. The repository detects those markers per frame and derives width from the two finger markers. The paper gives no width accuracy figure.
02Do you need to calibrate every gripper?
The paper says the gripper calibration step is only necessary once per gripper, to account for manufacturing inconsistencies. The repository raises a “Gripper calibration not found” error when it cannot match a calibration to a gripper, so each gripper in a session needs one.
03How often should gripper width be recalibrated?
The paper says once per gripper is necessary, and that the authors often repeat it for every collection scene to avoid mixing up grippers between sessions. No source gives a time interval or a drift limit, so the interval is a spec decision.
04What happens if the finger markers are not detected?
The paper does not say. In the repository, the range script stops if no gripper is detected or the detection rate is under its default of 0.8, and the dataset-planning stage warns when fewer than 0.9 of frames have markers detected. Frames without a usable marker get no measured width.
05How is gripper width checked in delivered data?
Check that width is continuous, stays inside one minimum and maximum per gripper across episodes, and that you can tell which calibration belongs to which gripper. For Firsthand, the site states that every item is measured against signed accept and reject criteria and misses are rejected and recaptured. Width tolerances are scoped per project.
06Does Firsthand state a width accuracy for UMI-style data?
No. The site delivers continuous gripper width per episode but states no width accuracy, calibration tolerance or sync figure for UMI-style collection. Put the tolerance you need in the spec.
07Where can I get custom UMI data?
From Firsthand custom UMI data collection: UMI-style handheld gripper demonstrations recorded to your task spec in real homes, workplaces and factories, through a network of capture providers, on rigs Firsthand sources and ships. Request a custom UMI dataset to start. Fast, on-demand collection is scoped to your spec.
Sources
Where is this documented?
- UMI paper (arXiv 2402.10329) (opens in a new tab)Continuous gripper width tracked via fiducial markers (section III-A), the optional gripper calibration step and the per-scene habit (appendix A.0-B), and the conversion script’s use of camera serial numbers and marker detection. arxiv.org
- UMI code (GitHub) (opens in a new tab)The calibration and pipeline scripts: marker detection, the gripper range calibration and its output file, and how the dataset-planning stage applies it and warns on low marker detection. github.com
Check it against the sample pack.
40 episodes across 4 environments, delivered in the exact schema these guides describe.