File size: 4,850 Bytes
ef994e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dc8f08e
ef994e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99f4ea9
06ba81f
 
 
 
 
 
99f4ea9
ef994e9
b7ed6ca
 
ef994e9
a5e6800
 
ef994e9
b7ed6ca
 
ef994e9
a5e6800
 
ef994e9
b7ed6ca
 
 
ef994e9
99f4ea9
 
ef994e9
 
 
 
 
 
 
 
 
 
 
4dfa860
 
 
ef994e9
4dfa860
 
ef994e9
4dfa860
ef994e9
4dfa860
 
ef994e9
 
 
 
360149f
ef994e9
f0fdfd6
 
ef994e9
 
 
 
 
 
 
 
360149f
 
 
ef994e9
 
 
 
 
 
 
 
 
 
 
 
9085b1e
243c8d1
 
9085b1e
ef994e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34c686e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
---
language:
- en
license: mit
license_link: LICENSE
pretty_name: omnislamproject
task_categories:
- robotics
- depth-estimation
- keypoint-detection
configs:
- config_name: default
  data_files:
  - split: stereo
    path: data/stereo-*
  - split: stereoinertial
    path: data/stereoinertial-*
  - split: vio
    path: data/vio-*
dataset_info:
  features:
  - name: image_left
    dtype: image
  - name: image_right
    dtype: image
  - name: timestamp
    dtype: float64
  - name: gyro
    list: float32
    length: 3
  - name: accel
    list: float32
    length: 3
  - name: sync_dt
    list: float32
    length: 2
  - name: position
    list: float32
    length: 3
  - name: orientation
    list: float32
    length: 4
  splits:
  - name: stereo
    num_bytes: 381314848
    num_examples: 100
  - name: stereoinertial
    num_bytes: 381134104
    num_examples: 100
  - name: vio
    num_bytes: 370323077
    num_examples: 100
  download_size: 1132892975
  dataset_size: 1132772029
---
# Omni Instrument SLAM Project Dataset

The Omni Instrument SLAM Project Dataset is a compact robotics dataset designed for evaluating stereo, visual-inertial, and visual-inertial odometry (VIO) pipelines.

It provides:
- [x] Stereo Image Pairs
- [x] Inertial measurements (IMU)
- [x] Ground-truth 6 DoF pose (for VIO)
- [x] Raw ROS 1 and ROS 2 recordings

## Overview

The dataset is structured into three splits:

| Split | Description |
| --- | --- |
| `stereo` | Stereo-only (IMU stationary) |
| `stereoinertial` | Stereo + IMU |
| `vio` | Stereo + IMU + ground-truth pose |

All splits share the same schema, enabling consistent downstream pipelines.

## Data Collection Protocol

AprilTag grid settings (used for both **Stereo** and **Stereo-Inertial** calibration sequences):

| Setting | Value |
| --- | --- |
| Tag size | 20 mm |
| Tag spacing | 6 mm |
| Tag family/dictionary | `tag36h11` (6x6) |

1. Stereo (Calibration - Static Sensor)
   - Setup: robot stationary, camera + IMU fixed, AprilTag grid moves
   - Used for: stereo calibration (intrinsics/extrinsics)

   ![Stereo calibration preview](assets/stereo.gif)

2. Stereo-Inertial (Calibration - Moving Sensor)
   - Setup: robot moves, camera + IMU move together, AprilTag grid stationary
   - Used for: camera-IMU extrinsics + sync checks

   ![Stereo-inertial calibration preview](assets/stereo-imu.gif)

3. VIO (Operational SLAM Sequence)
   - Setup: robot moves in a normal environment (no calibration targets)
   - Logged: stereo images, IMU, ground-truth odometry
   - Used for: VIO/SLAM evaluation

   ![VIO sequence preview](assets/vio.gif)

## Data Format

Each example follows the same top-level schema. Some fields are split-dependent:

- `stereo`: images + `timestamp` (IMU is stationary; pose not provided)
- `stereoinertial`: adds IMU (`gyro`, `accel`) and time offsets (`sync_dt`)
- `vio`: adds ground-truth pose (`position`, `orientation`)

Example record:
```json
{
  "image_left": Image,
  "image_right": Image,
  "timestamp": float,

  "gyro": [wx, wy, wz],
  "accel": [ax, ay, az],

  "sync_dt": [dt_right, dt_imu],

  "position": [x, y, z],
  "orientation": [qx, qy, qz, qw]
}
```

Notes:
- `gyro` is in rad/s and `accel` is in m/s^2.
- `sync_dt = [dt_right, dt_imu]` are time offsets (in seconds) relative to `timestamp` (left image):
  - `dt_right = abs(t_right - t_left)`
  - `dt_imu = abs(t_imu - t_left)`

### Sampling Methodology

Each split contains 100 randomly sampled, synchronized frames:
- Uniform sampling across the trajectory
- Start/end trimmed to remove initialization artifacts

Synchronization constraints:
- abs(t_left - t_right) <= 5 ms
- abs(t_left - t_imu) <= 5 ms
- abs(t_left - t_odom) <= 5 ms (VIO only)

### Missing Data Handling

For splits without ground truth (stereo, stereoinertial):

```text
position    = [inf, inf, inf]
orientation = [inf, inf, inf, inf]
```

### ROS Topics

Recordings:
- ROS 1 bags: [stereo](ros1/omni_stereo_20260425_215907Z.bag), [stereointertial](ros1/omni_stereointertial_20260425_220304Z.bag)
- ROS 2 MCAP: [vio](ros2/omni_vio_20260425_220737Z_with_gt/omni_vio_20260425_220737Z_with_gt_0.mcap)

#### ROS 1 (Calibration)
```text
/stereo/left/color/image_raw
/stereo/right/color/image_raw
/imu/data
```

#### ROS 2 (VIO)
```text
/stereo/left/color/image_raw
/stereo/right/color/image_raw
/imu/data
/ground_truth/odom
/tf
```

## Example Usage

```python
from datasets import load_dataset
import numpy as np

ds = load_dataset("OmniInstrument/SLAM_project", split="vio")
sample = ds[0]

img_l = sample["image_left"]
img_r = sample["image_right"]

gyro = sample["gyro"]
accel = sample["accel"]

pos = sample["position"]
quat = sample["orientation"]

if not np.isinf(np.asarray(pos)).any():
    print("Ground truth available")
```

## License
This software and dataset are released under the [MIT License](LICENSE).