Skip to main content
Mantis data collection needs a pose source: a tracking system that reports where each rig is. Mantis teleoperation doesn’t use tracking. It only drives the grippers from the triggers. Mantis supports two pose sources. Choose one under Mantis settings → Tracking in the control panel. The default is Lighthouse. The choice and its setup are saved on the computer, so every collection run uses them.
VIVE Tracker 3.0 is the Lighthouse tracker. Meta Quest is the headset and its controllers.
Before you start, finish the Mantis hardware setup. The hub must be connected, Mantis selected on its card, the left and right sides checked, and the trigger check passed. Then open Mantis settings → Tracking and choose the source. The choice saves right away.

Set up the source

The Tracking tab walks you through each source step by step:
  • Each step checks what the computer actually detects.
  • Continue unlocks when the current step is done.
  • If a finished step stops working later, the flow goes back to it.
Data collection won’t start until every step is done, even when you start it from the command line. Each step lists the matching CLI command. See the tracker CLI reference for their flags.
The Quest headset tracks its own controllers, so there is nothing to install and no tracker to identify. The headset knows which controller is left and which is right. The only thing to save is the calibration key, which names the controller model.
1

Source

Choose Quest. The Quest headset and the computer must be on the same network. You can also use a USB cable instead (see Quest-over-USB, set up under General settings → Quest).
2

Headset

  1. Start a Quest bring-up collection run. In the control panel, start Collect data with mantis_allow_uncalibrated turned on under Advanced. From a terminal, run axol collect-data --mantis true --mantis_allow_uncalibrated true --repo_id myorg/bringup --task test. Teleoperation doesn’t work for this step.
  2. In the Quest browser, open axol.almond.bot, enter the computer’s address and connect. Accept the security certificate the first time.
  3. Choose Enter VR and hold both controllers.
  4. The step shows each controller’s model. When both match, it shows a calibration key, such as quest:oculus-touch-v3:grip. Press Use this key, then Save settings.
The step is done when the saved key matches both live controllers and ends in :grip.
Quest 3 Touch Plus controllers in the standard mount have a built-in tracker-to-gripper offset. Other controllers need a measured offset for both sides. See Transforms.

Validate Lighthouse tracking

The Lighthouse tracking quality card is always shown in the Tracking tab for Lighthouse. Use it to choose a tracking policy and check tracking before you collect.

Choose a tracking policy

In the card, set the number of base stations you installed (1 to 4). Then choose a Tracking policy: Change the policy only while no operation is running. See Lighthouse tracking policy for details.

Run the check

  1. Press Validate tracking.
  2. Place both rigs still on the table, with their trackers in view of the base stations.
  3. Wait for the first prompt. Finding the base stations can take up to two minutes. Keep both trackers in view, and don’t restart the check, or it starts over.
  4. Follow the prompts:
    • Hold both rigs still for 5 seconds.
    • Move both rigs slowly through the work area for 12 seconds. Move each rig at least 10 cm and turn its wrist at least 15°.
    • Hold both rigs still at another working position for 5 seconds.
The result shows whether the trackers were seen and tracked consistently. It doesn’t measure absolute accuracy. You don’t need a fixture or measured positions. Under the Strict policy, validate before the first session each day. Collection is blocked if the last check is missing, failed or older than 12 hours, or if the setup changed since. Fix the problem the check reports, then run it again.

Recalibrate Lighthouse

Run Recalibrate Lighthouse if a base station or tripod moved, if the calibration seems wrong, or if Identify trackers fails because tracking is unstable. Stop any running operation first.
  1. Press Recalibrate Lighthouse.
  2. Follow the prompts. Rest both rigs at three different positions and angles in the work area, eight seconds each, with their trackers in view.
  3. Complete the hold, move and hold steps of the check, as in Run the check.
The new calibration replaces the old one only if the check passes. If it fails, the old calibration stays and the card shows what went wrong.
  • If both sides were already identified, a passed recalibration counts as a validation. You don’t need to press Validate tracking again.
  • If the sides were not identified, the card asks you to identify the sides and then validate tracking. Do both before you record.
An error that a base station’s identity wasn’t received doesn’t mean the stations moved. Keep the trackers in view and run the check again.

Start gesture and recovery

To start tracking, hold both rigs at the start pose. Release both controller grips, then press both grips together. The controller triggers open and close the grippers. In data collection, A starts and confirms a take, the same as on Axol.If either controller loses tracking, both sides freeze. Fix the tracking, then release and press both grips again. Tracking never restarts on its own. Reset returns to the rest pose and also needs the gesture to start again.

Transforms

When tracking starts, Axol works out where the rigs are relative to the robot. It still needs to know where the gripper sits relative to the tracker on each rig. This fixed offset is the tracker-to-gripper transform. To use a different value, or to save a Quest measurement, edit ~/.almond/mantis/tcp_transform.json. The control panel doesn’t edit this file. For each side, pos is the gripper position in the tracker’s frame, in metres. quat is the gripper rotation in that frame, as [qx, qy, qz, qw]. See Transform file for the full format and how to measure a missing value. Data collection won’t start if either side’s transform is missing or out of date.
Mantis datasets recorded with Axol 0.2.4 or earlier have the gripper rotated about 90°, and Axol can’t replay them. Repair them with axol migrate-dataset --mantis-tcp-rotation before replay or training.Mantis datasets recorded with Axol 0.2.5 to 0.2.16 place the tracker 92 mm in front of the gripper instead of 47 mm behind it. collect-data won’t add episodes to these datasets. Record to a new repo_id.

Acceptance

Check the setup before you record training data. Lighthouse: pass Validate tracking (see Run the check). Under the Strict policy, this is required before the first session each day. All sources: run a short bring-up collection run and discard every take. Clear the work area, then start Collect data with mantis_allow_uncalibrated turned on, or run:
Check these with the real pose source:
  1. Movement. Left and right are on the correct sides. Motion has the right scale in every direction, wrist rotation follows, and the gripper lines up with the tracker. With Quest, watch the virtual arms in the headset. With Lighthouse, watch the robot view in the control panel.
  2. Recovery. Cover one tracker, or move it out of tracking, and check that both sides freeze. Restore tracking and check that nothing moves until you repeat the start gesture.
A source that jumps, drifts, swaps sides or doesn’t recover cleanly is not ready for collection. axol teleop --sim --teleop.absolute_mode true is only a demo of the mapping. Check the real source with Mantis selected, in a collection run.

Hold the rigs correctly

Identify trackers assigns each tracker to a side by which one you move, not by which rig it is on. If the left tracker is on the rig in your right hand, every recorded pose is turned 180° and left and right are swapped. To catch this, Axol refuses to start tracking when both grippers point away from the robot. This check needs a tracker-to-gripper transform on both sides. The log shows Teleop engage rejected: both grippers face away from the robot's rest heading, and nothing is recorded. Swap the rigs between your hands, or identify the trackers again. Then release and squeeze both triggers again. When you start tracking, hold each rig the way the robot holds its gripper at rest: fingers down, tracker up, handle toward you. A rig pointing straight up or down is not checked.

During recording

  • Out of reach. If a rig moves somewhere Axol’s arm can’t reach, the recording counts those frames as out_of_reach and shows a warning. Axol can’t follow those poses on replay.
  • Rejected takes. When you save, Axol checks the take’s tracking and camera frames. If it rejects the take, a red alert shows the reason. The alert stays until you start a new recording or save an episode. The saved count goes up only after a successful save.
  • Standard policy. There are no live tracking checks. Axol judges each take when you save it, on stale poses, frames without tracking and restarts of tracking (see --qa_gate).
  • Strict policy. The episode controls show the live tracking status. Recording waits until tracking is ready. A warning about reduced coverage still lets you record, but fix the coverage. A serious tracking fault marks the take for a retake and turns off Save, even if tracking recovers. You can still discard the take and record it again.

If tracking fails

Smooth poses don’t prove that tracking is accurate. Use the acceptance checks above.

Automatic Lighthouse fault captures

Under the Strict policy, Lighthouse collection records tracking data in the background once tracking is ready. The episode panel says that automatic fault capture is ready. You don’t need to do anything else. When a tracking fault happens, Axol saves the 10 seconds before it and the 3 seconds after it. Faults include a pose jump, a stalled pose stream or a timing problem between the two trackers.
  1. Keep the session open until the panel says Tracking diagnostics saved.
  2. Stop the session.
  3. Keep the capture shown in the panel and share it with Almond.
Captures are saved under ~/.almond/tracker/diagnostics/fault-*/. They stay even if you discard the take. A session saves at most three captures, at least 30 seconds apart. Capturing doesn’t affect tracking or the grippers.

Next steps

Teleoperation

Check the grippers from the rig triggers, without tracking.

Data Collection

Record Mantis episodes to a LeRobot dataset.