> ## Documentation Index
> Fetch the complete documentation index at: https://docs.almond.bot/llms.txt
> Use this file to discover all available pages before exploring further.

# mcap.check

> Check MCAP episodes from Collect data for broken video, timestamps, transforms, calibration or metadata.

`axol mcap.check` reads MCAP episodes recorded with **Recording format** set to `mcap` and reports what each one contains. See [MCAP Recording](https://docs.almond.bot/operations/mcap.md).

```bash theme={null}
axol mcap.check ~/.cache/huggingface/lerobot/myorg/pick/episode_000000.mcap
```

Pass several files to check them all. Each line starts with one of these:

| Status | Meaning |
| - | - |
| `PASS` | The part is there and looks right. |
| `WARN` | An optional part is missing, or a camera dropped frames. For example, a camera with no factory calibration file, camera mounts from CAD, or no headset input. |
| `FAIL` | The file is broken or contradicts itself, or it was recorded with a camera calibration that failed its checks. |

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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.