phanerozoic commited on
Commit
d005047
·
verified ·
1 Parent(s): 934cca8

Add TII-RATM drone racing flights with paired odometry and capture ground truth ((root))

Browse files
Files changed (5) hide show
  1. README.md +147 -0
  2. fiftyone.yml +18 -0
  3. metadata.json +1 -0
  4. preview.gif +3 -0
  5. samples.json +1 -0
README.md ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ configs:
4
+ - config_name: default
5
+ data_files:
6
+ - split: train
7
+ path: data/**
8
+ annotations_creators: []
9
+ language: en
10
+ size_categories:
11
+ - n<1K
12
+ task_categories:
13
+ - robotics
14
+ pretty_name: TII-RATM Drone Racing (FiftyOne multimodal MCAP)
15
+ tags:
16
+ - fiftyone
17
+ - multimodal
18
+ - mcap
19
+ - drone
20
+ - uav
21
+ - slam
22
+ - visual-inertial-odometry
23
+ - ground-truth
24
+ ---
25
+
26
+ # TII-RATM Drone Racing → FiftyOne (Native Multimodal MCAP)
27
+
28
+ ![preview](preview.gif)
29
+
30
+ The
31
+ [TII-RATM](https://github.com/tii-racing/tii-ratm-dataset)
32
+ drone racing flights, as published with OpenVINS odometry in
33
+ [alvgaona/tii-ratm-rosbag2](https://huggingface.co/datasets/alvgaona/tii-ratm-rosbag2),
34
+ converted to native multimodal MCAP episodes.
35
+
36
+ A quadrotor flies laps of a four-gate indoor track, three on an ellipse and
37
+ three on a lemniscate. It carries a fisheye camera and a 500 Hz IMU, and a
38
+ motion capture system watches the room throughout.
39
+
40
+ What makes the set useful is that both numbers are present: the estimate the
41
+ drone computed from its own camera and IMU, and the reference the capture
42
+ system measured at the same instant. Every episode carries both, plus the
43
+ distance between them.
44
+
45
+ ## Installation
46
+
47
+ ```bash
48
+ pip install fiftyone
49
+ ```
50
+
51
+ ## Usage
52
+
53
+ ```python
54
+ import fiftyone as fo
55
+ import fiftyone.utils.huggingface as fouh
56
+
57
+ dataset = fouh.load_from_hub(
58
+ "Voxel51/TII-RATM-Drone-Racing",
59
+ name="TII-RATM-Drone-Racing",
60
+ persistent=True,
61
+ )
62
+ fo.launch_app(dataset)
63
+ ```
64
+
65
+ The flights the odometry found hardest:
66
+
67
+ ```python
68
+ view = dataset.sort_by("tracking_error_rmse_m", reverse=True)
69
+ ```
70
+
71
+ ## What you get
72
+
73
+ Six flights, 10.9 minutes and 2,563 metres flown. Each episode carries:
74
+
75
+ - `/camera`, the onboard fisheye view at 640x480 and ~26 Hz, as
76
+ `foxglove.CompressedVideo`
77
+ - `/feature-tracks`, the same view with the points the odometry is tracking
78
+ drawn on it
79
+ - `/camera-calibration`, the equidistant fisheye intrinsics
80
+ - `/imu.plot`, accelerometer and gyroscope at ~490 Hz
81
+ - `/pose-ground-truth`, the motion capture pose
82
+ - `/pose-vio`, the odometry pose, in the same frame
83
+ - `/tracking-error.plot`, the distance between the two at each capture pose
84
+ - `/trajectory`, both flown paths as line strips
85
+ - `/points-slam` and `/points-msckf`, the feature points the estimator is
86
+ holding
87
+ - `/gates`, the four track gates as boxes
88
+ - `/gate-range.plot`, the distance to each gate
89
+ - `/tf`, the odometry and camera frames
90
+ - `/instruction`, the track being flown
91
+
92
+ Across the whole set that comes to 17,305 camera frames, 9,658 feature-track
93
+ frames, **327,086 IMU samples**, 293,219 odometry poses and 179,283 capture
94
+ poses.
95
+
96
+ Episodes carry the fields `flight`, `track`, `distance_m`, `mean_speed_ms`,
97
+ `max_speed_ms`, `tracking_error_rmse_m`, `tracking_error_median_m`,
98
+ `tracking_error_max_m`, `tracking_error_final_m`, `num_camera_frames`,
99
+ `num_feature_track_frames`, `num_imu_samples`, `num_vio_poses`,
100
+ `num_ground_truth_poses`, `num_gates` and `duration`.
101
+
102
+ | Flight | Track | Distance | ATE RMSE | ATE max |
103
+ |---|---|---|---|---|
104
+ | flight-03p-ellipse | ellipse | 380 m | 0.612 m | 2.349 m |
105
+ | flight-02p-ellipse | ellipse | 446 m | 0.634 m | 3.455 m |
106
+ | flight-09p-lemniscate | lemniscate | 447 m | 0.642 m | 1.699 m |
107
+ | flight-08p-lemniscate | lemniscate | 367 m | 0.674 m | 2.194 m |
108
+ | flight-01p-ellipse | ellipse | 479 m | 1.072 m | 3.482 m |
109
+ | flight-07p-lemniscate | lemniscate | 444 m | 1.656 m | 3.784 m |
110
+
111
+ ## Notes on the conversion
112
+
113
+ The odometry and the capture system report in unrelated frames, since the
114
+ estimator starts at its own origin with an arbitrary yaw. A rigid transform
115
+ is fitted over every time-matched pose in the flight and applied to the
116
+ odometry, which is the usual way an absolute trajectory error is measured.
117
+ Scale is not fitted: the estimate is metric because it is inertial-aided, so
118
+ solving for scale would hide drift rather than measure it.
119
+
120
+ Because that fit spreads the residual across the whole flight,
121
+ `/tracking-error.plot` does not start at zero and does not climb steadily. It
122
+ is the distance from the reference at each instant, not the distance from a
123
+ shared starting point. On `flight-08p-lemniscate` it runs 1.26 m at the start,
124
+ dips to 0.15 m mid-flight and reaches 2.19 m by touchdown, where the estimate
125
+ places the drone 1.4 m below the floor it has landed on.
126
+
127
+ Video is re-encoded to Annex-B H.264 without B-frames. The source carries raw
128
+ `bgr8` frames, which is most of its 44 GB.
129
+
130
+ The camera uses an equidistant (Kannala-Brandt) fisheye model. The intrinsics
131
+ are published as they were calibrated, and a viewer that assumes a pinhole or
132
+ plumb-bob model will not undistort this correctly.
133
+
134
+ Two source streams are not carried. `loop_depth` is typed as a 16-bit depth
135
+ image but only a few dozen of its 307,200 pixels are ever set, so it is a
136
+ sparse projection of loop-closure features rather than a depth map, and
137
+ `points_aruco` is empty in every message of every flight.
138
+
139
+ ## License & attribution
140
+
141
+ The source release is distributed under
142
+ [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), and this conversion
143
+ is distributed under the same license.
144
+
145
+ Changes from the source: conversion to the FiftyOne MCAP flavor, re-encoding
146
+ of the video to H.264, alignment of the odometry onto the capture frame, and
147
+ encoding of the pose, IMU and detection streams as message streams.
fiftyone.yml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ description: Six indoor drone racing flights carrying an onboard fisheye camera,
2
+ a 500 Hz IMU, OpenVINS visual-inertial odometry and motion capture ground
3
+ truth on one clock, with the per-pose tracking error between them, converted
4
+ to native multimodal MCAP episodes
5
+ fiftyone:
6
+ version: '>=1.19.0'
7
+ format: FiftyOneDataset
8
+ license: cc-by-4.0
9
+ name: TII-RATM-Drone-Racing
10
+ tags:
11
+ - drone
12
+ - fiftyone
13
+ - ground-truth
14
+ - mcap
15
+ - multimodal
16
+ - slam
17
+ - uav
18
+ - visual-inertial-odometry
metadata.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"_id": {"$oid": "6a91f065ef656679b43c572b"}, "name": "TII-RATM-Drone-Racing", "slug": "tii-ratm-drone-racing", "version": "1.22.0", "created_at": {"$date": "2026-08-28T20:32:37.749Z"}, "last_modified_at": {"$date": "2026-08-28T20:32:37.944Z"}, "last_deletion_at": null, "last_loaded_at": {"$date": "2026-08-28T20:32:37.787Z"}, "sample_collection_name": "samples.6a91f065ef656679b43c572b", "persistent": false, "media_type": "multimodal", "group_media_types": {}, "tags": ["fiftyone", "multimodal", "mcap", "drone", "slam"], "info": {}, "app_config": {"dynamic_groups_target_frame_rate": 30, "grid_media_field": "filepath", "media_fallback": false, "media_fields": ["filepath"], "modal_media_field": "filepath", "plugins": {}}, "classes": {}, "default_classes": [], "mask_targets": {}, "default_mask_targets": {}, "skeletons": {}, "camera_intrinsics": {}, "static_transforms": {}, "sample_fields": [{"name": "_dataset_id", "ftype": "fiftyone.core.fields.ObjectIdField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "_dataset_id", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.749Z"}}, {"name": "id", "ftype": "fiftyone.core.fields.ObjectIdField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "_id", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.749Z"}}, {"name": "filepath", "ftype": "fiftyone.core.fields.StringField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "filepath", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.749Z"}}, {"name": "_rand", "ftype": "fiftyone.core.fields.FloatField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "_rand", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.749Z"}}, {"name": "metadata", "ftype": "fiftyone.core.fields.EmbeddedDocumentField", "embedded_doc_type": "fiftyone.core.metadata.Metadata", "subfield": null, "fields": [{"name": "size_bytes", "ftype": "fiftyone.core.fields.IntField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "size_bytes", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.749Z"}}, {"name": "mime_type", "ftype": "fiftyone.core.fields.StringField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "mime_type", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.749Z"}}], "db_field": "metadata", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.749Z"}}, {"name": "created_at", "ftype": "fiftyone.core.fields.DateTimeField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "created_at", "description": null, "info": null, "read_only": true, "created_at": {"$date": "2026-08-28T20:32:37.749Z"}}, {"name": "_media_type", "ftype": "fiftyone.core.fields.StringField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "_media_type", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.749Z"}}, {"name": "last_modified_at", "ftype": "fiftyone.core.fields.DateTimeField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "last_modified_at", "description": null, "info": null, "read_only": true, "created_at": {"$date": "2026-08-28T20:32:37.749Z"}}, {"name": "tags", "ftype": "fiftyone.core.fields.ListField", "embedded_doc_type": null, "subfield": "fiftyone.core.fields.StringField", "fields": [], "db_field": "tags", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.749Z"}}, {"name": "flight", "ftype": "fiftyone.core.fields.StringField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "flight", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.905Z"}}, {"name": "track", "ftype": "fiftyone.core.fields.StringField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "track", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.907Z"}}, {"name": "duration", "ftype": "fiftyone.core.fields.FloatField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "duration", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.909Z"}}, {"name": "distance_m", "ftype": "fiftyone.core.fields.FloatField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "distance_m", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.911Z"}}, {"name": "mean_speed_ms", "ftype": "fiftyone.core.fields.FloatField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "mean_speed_ms", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.913Z"}}, {"name": "max_speed_ms", "ftype": "fiftyone.core.fields.FloatField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "max_speed_ms", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.915Z"}}, {"name": "num_camera_frames", "ftype": "fiftyone.core.fields.IntField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "num_camera_frames", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.918Z"}}, {"name": "num_feature_track_frames", "ftype": "fiftyone.core.fields.IntField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "num_feature_track_frames", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.920Z"}}, {"name": "num_imu_samples", "ftype": "fiftyone.core.fields.IntField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "num_imu_samples", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.922Z"}}, {"name": "num_vio_poses", "ftype": "fiftyone.core.fields.IntField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "num_vio_poses", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.925Z"}}, {"name": "num_ground_truth_poses", "ftype": "fiftyone.core.fields.IntField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "num_ground_truth_poses", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.927Z"}}, {"name": "num_gates", "ftype": "fiftyone.core.fields.IntField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "num_gates", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.930Z"}}, {"name": "tracking_error_rmse_m", "ftype": "fiftyone.core.fields.FloatField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "tracking_error_rmse_m", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.933Z"}}, {"name": "tracking_error_median_m", "ftype": "fiftyone.core.fields.FloatField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "tracking_error_median_m", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.936Z"}}, {"name": "tracking_error_max_m", "ftype": "fiftyone.core.fields.FloatField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "tracking_error_max_m", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.939Z"}}, {"name": "tracking_error_final_m", "ftype": "fiftyone.core.fields.FloatField", "embedded_doc_type": null, "subfield": null, "fields": [], "db_field": "tracking_error_final_m", "description": null, "info": null, "read_only": false, "created_at": {"$date": "2026-08-28T20:32:37.942Z"}}], "frame_fields": [], "saved_views": [], "workspaces": [], "annotation_runs": {}, "brain_methods": {}, "evaluations": {}, "runs": {}, "active_label_schemas": [], "label_schemas": {}, "frame_label_schemas": {}}
preview.gif ADDED

Git LFS Details

  • SHA256: 4c447a89c8b769fdd467b6717ba2fda87e1430262185d5e75220bfc649d347f6
  • Pointer size: 133 Bytes
  • Size of remote file: 10.1 MB
samples.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"samples": [{"_id": {"$oid": "6a91f065ef656679b43c572c"}, "filepath": "data/flight-01p-ellipse/episode.fo.mcap", "tags": [], "_media_type": "multimodal", "_rand": 0.9996519769724944, "flight": "flight-01p-ellipse", "track": "ellipse", "duration": 118.851729901, "distance_m": 479.27, "mean_speed_ms": 4.033, "max_speed_ms": 8.222, "num_camera_frames": 3167, "num_feature_track_frames": 1763, "num_imu_samples": 59476, "num_vio_poses": 53297, "num_ground_truth_poses": 32705, "num_gates": 4, "tracking_error_rmse_m": 1.0719, "tracking_error_median_m": 0.9018, "tracking_error_max_m": 3.482, "tracking_error_final_m": 3.482, "_dataset_id": {"$oid": "6a91f065ef656679b43c572b"}, "created_at": {"$date": "2026-08-28T20:32:37.947Z"}, "last_modified_at": {"$date": "2026-08-28T20:32:37.947Z"}},{"_id": {"$oid": "6a91f065ef656679b43c572d"}, "filepath": "data/flight-02p-ellipse/episode.fo.mcap", "tags": [], "_media_type": "multimodal", "_rand": 0.999353522515452, "flight": "flight-02p-ellipse", "track": "ellipse", "duration": 106.839996194, "distance_m": 446.16, "mean_speed_ms": 4.176, "max_speed_ms": 8.234, "num_camera_frames": 2829, "num_feature_track_frames": 1525, "num_imu_samples": 53471, "num_vio_poses": 47897, "num_ground_truth_poses": 29405, "num_gates": 4, "tracking_error_rmse_m": 0.6343, "tracking_error_median_m": 0.4333, "tracking_error_max_m": 3.4555, "tracking_error_final_m": 3.4555, "_dataset_id": {"$oid": "6a91f065ef656679b43c572b"}, "created_at": {"$date": "2026-08-28T20:32:37.948Z"}, "last_modified_at": {"$date": "2026-08-28T20:32:37.948Z"}},{"_id": {"$oid": "6a91f065ef656679b43c572e"}, "filepath": "data/flight-03p-ellipse/episode.fo.mcap", "tags": [], "_media_type": "multimodal", "_rand": 0.9999837349137098, "flight": "flight-03p-ellipse", "track": "ellipse", "duration": 102.721661224, "distance_m": 379.71, "mean_speed_ms": 3.697, "max_speed_ms": 7.908, "num_camera_frames": 2706, "num_feature_track_frames": 1566, "num_imu_samples": 51412, "num_vio_poses": 45967, "num_ground_truth_poses": 28277, "num_gates": 4, "tracking_error_rmse_m": 0.6123, "tracking_error_median_m": 0.3983, "tracking_error_max_m": 2.3495, "tracking_error_final_m": 0.6712, "_dataset_id": {"$oid": "6a91f065ef656679b43c572b"}, "created_at": {"$date": "2026-08-28T20:32:37.948Z"}, "last_modified_at": {"$date": "2026-08-28T20:32:37.948Z"}},{"_id": {"$oid": "6a91f065ef656679b43c572f"}, "filepath": "data/flight-07p-lemniscate/episode.fo.mcap", "tags": [], "_media_type": "multimodal", "_rand": 0.9995902677143064, "flight": "flight-07p-lemniscate", "track": "lemniscate", "duration": 125.667026382, "distance_m": 444.32, "mean_speed_ms": 3.536, "max_speed_ms": 7.877, "num_camera_frames": 3208, "num_feature_track_frames": 1788, "num_imu_samples": 62885, "num_vio_poses": 55418, "num_ground_truth_poses": 34580, "num_gates": 4, "tracking_error_rmse_m": 1.6563, "tracking_error_median_m": 1.4195, "tracking_error_max_m": 3.7836, "tracking_error_final_m": 3.4664, "_dataset_id": {"$oid": "6a91f065ef656679b43c572b"}, "created_at": {"$date": "2026-08-28T20:32:37.948Z"}, "last_modified_at": {"$date": "2026-08-28T20:32:37.948Z"}},{"_id": {"$oid": "6a91f065ef656679b43c5730"}, "filepath": "data/flight-08p-lemniscate/episode.fo.mcap", "tags": [], "_media_type": "multimodal", "_rand": 0.9998079837046768, "flight": "flight-08p-lemniscate", "track": "lemniscate", "duration": 96.084330064, "distance_m": 367.14, "mean_speed_ms": 3.821, "max_speed_ms": 7.366, "num_camera_frames": 2616, "num_feature_track_frames": 1416, "num_imu_samples": 48039, "num_vio_poses": 43509, "num_ground_truth_poses": 26449, "num_gates": 4, "tracking_error_rmse_m": 0.6742, "tracking_error_median_m": 0.5008, "tracking_error_max_m": 2.1939, "tracking_error_final_m": 2.1939, "_dataset_id": {"$oid": "6a91f065ef656679b43c572b"}, "created_at": {"$date": "2026-08-28T20:32:37.949Z"}, "last_modified_at": {"$date": "2026-08-28T20:32:37.949Z"}},{"_id": {"$oid": "6a91f065ef656679b43c5731"}, "filepath": "data/flight-09p-lemniscate/episode.fo.mcap", "tags": [], "_media_type": "multimodal", "_rand": 0.9994777624764404, "flight": "flight-09p-lemniscate", "track": "lemniscate", "duration": 101.627950022, "distance_m": 447.09, "mean_speed_ms": 4.399, "max_speed_ms": 8.681, "num_camera_frames": 2779, "num_feature_track_frames": 1600, "num_imu_samples": 51803, "num_vio_poses": 47131, "num_ground_truth_poses": 27867, "num_gates": 4, "tracking_error_rmse_m": 0.6417, "tracking_error_median_m": 0.5586, "tracking_error_max_m": 1.6992, "tracking_error_final_m": 1.6992, "_dataset_id": {"$oid": "6a91f065ef656679b43c572b"}, "created_at": {"$date": "2026-08-28T20:32:37.949Z"}, "last_modified_at": {"$date": "2026-08-28T20:32:37.949Z"}}]}