Skip to main content
axol mcap.check reads MCAP episodes recorded with Recording format set to mcap and reports what each one contains. See MCAP Recording.
Pass several files to check them all. Each line starts with one of these: The command exits with status 1 if any line is FAIL. The checks follow what the file says it recorded, so any set of cameras can pass. It checks:
  • each recorded camera’s video: one codec, a keyframe on every frame, increasing timestamps, no repeated frames, the average frame rate, and no missing frames;
  • a transform path from the root of the tree to each recorded camera;
  • one /tf_static message before the first camera frame, with unit quaternions, one root, and each frame placed once;
  • the camera mounts: measured or from CAD, and, with a camera calibration, that it passed and that each measured mount matches the file attached to the episode to within 1e-6;
  • whether the camera calibration checked the factory intrinsics, and its result;
  • each camera’s camera_info, and that it matches the recorded image size;
  • the head camera’s IMU, and whether it was left out;
  • the head stereo transform, when both head eyes are recorded;
  • /joint_states at 200 Hz or more, with position, velocity and effort;
  • /joint_command and its /joint_command/info, with increasing command_id and the time the robot applied each command, and the end-effector targets;
  • renamed topics, read back through the file’s topic_names metadata;
  • the headset input, and the base topics on Axol on Jelly;
  • the episode and robot metadata;
  • the joint zeroing each arm was on, the attached zeroing record, and whether an arm was re-zeroed after the camera calibration;
  • each part’s hardware ID or firmware (arms, grippers, Jelly’s base and lift), the attached hardware record, and any two motors with the same ID.
The checker needs only the mcap and mcap-ros2-support Python packages. To run it on another computer, install them and run its source file, almond_axol/recording/mcap/check.py, with Python.