Skip to main content
A Mantis rig: gripper at the front, trigger, pistol grip, and tracker mount on top
Mantis is a pair of handheld rigs for recording demonstrations without moving the robot. You hold one rig in each hand and do the task yourself. Axol’s software tracks both rigs and records the episode in the same format as an episode recorded on Axol. A policy trained on Mantis data can run on Axol. Each rig has:
  • The same gripper that Axol uses.
  • An analog trigger that opens and closes the gripper. The further you squeeze, the further the gripper closes.
  • A mount for a pose tracker: a Meta Quest controller or a VIVE Tracker 3.0.
In the control panel, Mantis appears as its own device next to Axol, with its own card and settings. Mantis supports Teleoperation and Data collection. The other operations are for Axol only.

Overview

A Mantis kit has:
  • 2× Mantis rigs, one left and one right.
  • 1× Mantis Hub, which connects the rigs to the computer. L and R on its case mark the left and right rig cables. A USB cable connects the hub to the computer, such as a ZED Box.
  • A pose source: one of the two tracking systems in Mantis Tracking. These are Quest controllers or VIVE Tracker 3.0 with 1 to 4 SteamVR base stations.
  • Cameras: up to two wrist ZED cameras and one head stereo camera. Data collection needs at least one camera.
Mantis has no arms. In a recording, the arm joint positions are computed from the rig poses, as if Axol had made the motion. The gripper positions are real and come from the grippers’ motors. The trigger reads 0.0 when fully released (gripper open) and 1.0 when fully squeezed (gripper closed). Each rig learns its trigger’s released position when it powers on, so leave the triggers released while you power on. If a trigger doesn’t reach 1.0 when you squeeze it fully, see Testing the triggers and grippers.

Tracker mounts

The kit includes the mount for the pose source you bought: Quest or Lighthouse (VIVE Tracker 3.0). If you bought Mantis without a tracker, you can print your own mount.
A Mantis rig grasping a part, with a VIVE Tracker 3.0 on the flat-back mount and a wrist camera fitted

Fastening a VIVE tracker to its mount

To attach a VIVE Tracker 3.0 to the flat-back mount, you need:
  • 1× 1/4”-20 × 1/2” screw. It goes up through the mount into the tracker’s standard 1/4”-20 socket.
  • 1× mount pin (mantis_mount_pin.stl), a 3D-printed pin 5 mm × 10 mm. It fits in the small hole next to the socket and stops the tracker from turning on the screw. If the tracker turns, the recorded gripper poses are wrong.
Press the pin into the mount first, seat the tracker on it, then tighten the screw.

Printing your own mount

If you ordered Mantis without a tracker and use your own, 3D-print the mount for it. Download the model for your pose source: Each mount attaches to the rig with M3×8 screws (McMaster-Carr 97763A813). For a VIVE tracker, also print the mount pin, and attach the tracker as in Fastening a VIVE tracker to its mount.

Installation

Mantis works with or without an Axol. Install the Axol software on the computer first (see Installation).

Using Mantis without a robot

The rigs, the hub and a pose source are a complete data-collection setup. Besides the kit, you need a computer running Linux with systemd. Data collection needs at least one ZED camera, and the ZED cameras need GMSL inputs, so use an NVIDIA Jetson with GMSL inputs, such as a ZED Box. The grippers, triggers and tracking work on any Linux computer. When Mantis is the only hardware connected, the control panel finds it and connects on its own. With Mantis selected, the panel shows only the two operations Mantis supports: Set up Mantis in this order:
  1. Install the Axol software on the computer.
  2. Connect the hub.
  3. Select and connect Mantis, and check the left and right sides.
  4. Test the triggers and grippers.
  5. Mount and assign the cameras.
  6. Set up the pose source in Mantis Tracking, then collect data.

Connecting the hub

1

Cable the rigs to the hub

A cable comes out of the hub for each rig. Plug the left rig into the cable marked L and the right rig into the cable marked R. You can swap the sides in software later, but this wiring matches the default settings.
2

Connect the hub to the computer

Plug the hub’s USB cable into the computer, then power both rigs. The computer finds the hub and works out which rig is left and which is right. If you unplug the hub and plug it back in, it reconnects on its own.
3

Let the control panel identify it

Open the control panel and connect to the Host Computer. The panel identifies a new hub on its own while both rigs are powered. If it can’t, power the rigs: the panel checks again on its own and connects them. You can also run axol can.setup in a terminal.
axol can.setup resets every connected adapter, including Axol’s arms, Jelly Mobile and the Mantis hub. Run it only when nothing is moving.

Selecting and connecting Mantis

1

Select Mantis

Press Use for operations on the Mantis card. Teleoperation and data collection now run on the rigs, and the Axol-only operations are hidden until you select Axol again. The choice is saved on the computer, so everyone who uses the control panel sees it.
The Mantis card on the control panel's Devices page, selected and waiting for hardware
2

Connect

When Mantis is selected and the hub is found, the panel connects on its own. If it doesn’t, press Connect on the card. The card then shows the status of both grippers. A red square means a gripper can’t be reached or has a fault. Fix it before you run an operation.
3

Check the left and right sides

Press Open settings on the Mantis card to open Mantis settings, then open CAN. The left and right fields must be filled in and different. The defaults are can_mantis_l and can_mantis_r. If squeezing the left trigger moves the right input, swap the two values, save and reconnect. You don’t need to move any cables.
Mantis settings CAN tab with the left and right channel fields at their defaults

Testing the triggers and grippers

Before you set up cameras or tracking, check that each trigger drives its own gripper. Mantis teleoperation is this check. It needs only the hub, with no tracking, cameras or headset.
  1. With Mantis selected, choose Teleoperation and press Start. From a terminal, run:
  2. Keep hands and objects clear of the grippers, and release both triggers. Each gripper closes, then opens fully, to find its end stops.
  3. Squeeze each trigger. Its gripper should close as far as you squeeze.
  4. Press Stop, or Ctrl-C in the terminal, to turn both grippers off.
If the triggers stop sending readings, the run stops on its own.

If a gripper doesn’t close fully

If a gripper follows its trigger but stays partly open at full squeeze, adjust the trigger’s end point before you change the motor torque:
  1. Open Mantis settings → Triggers.
  2. Lower Left trigger full squeeze or Right trigger full squeeze from its default of 1.0. The range is 0.50 to 1.00. If you know the trigger’s reading at full squeeze, set it a little below the lowest reading. For example, for readings around 0.91 to 0.94, set 0.90. Otherwise, lower it in small steps.
  3. Save, then stop and start Teleoperation again.
  4. Squeeze each trigger fully and check that the gripper closes.
If the gripper closes before the trigger reaches the end of its travel, the value is too low. Raise it. If the gripper still doesn’t close when the setting is right, check the gripper’s jaws, linkage and motor calibration. When both grippers close fully, record one short test take with Collect data before you record the rest. This setting applies to the rig triggers, used in Mantis teleoperation and in Lighthouse data collection. It does not apply to Quest controller triggers.

If a gripper doesn’t open fully

Each gripper finds its end stops at the start of every run. If something blocks a jaw during that sweep, the gripper takes the blocked spot as its end stop. Empty the gripper, keep it clear, then stop and start Teleoperation again. If it still doesn’t open fully, open and close the jaw by hand with the run stopped, and check for a tight spot.

Mounting the cameras

Mantis can record two wrist cameras and the head stereo camera at the same time.
  1. Mount up to two ZED cameras on the rigs. They mount the same way as on Axol’s grippers (see Axol Cameras).
  2. Connect each camera, including the head camera, to the computer with its GMSL2 cable.
  3. Note each camera’s serial number from the QR code on its back.
  4. In Mantis settings → Cameras, assign each camera to Head, Left Mantis or Right Mantis.
  5. Turn on Record for the cameras you want to record. For the head camera, turn on Record for both eyes to record both views.
You must turn on Record for at least one camera before you can collect data. The Mantis camera layout is saved separately from Axol’s, so changing one doesn’t change the other. In the dataset, the head camera is named overhead. See Cameras for the stream and record controls.

Updating the firmware

Each rig’s trigger board can take new firmware over its CAN bus. Run axol mantis.update --firmware firmware.bin, or use Update Mantis firmware under Diagnostics → Helpers with Mantis selected. Keep both triggers released while it runs, because each rig learns its trigger’s released position when it restarts. The rigs need Mantis firmware 0.2 or newer, installed once over USB, before they can update over CAN.

Next steps

Mantis Tracking

Set up Quest or Lighthouse tracking for the rigs.

Teleoperation

Check the rig triggers and grippers before recording.