Repository navigation
feat(schema): consistent name/index fields, add sensor index and LiDAR source columns - #303
Merged
Merged
Conversation
jacoblambert
force-pushed
the
v1/index-fields
branch
from
October 14, 2026 11:10
6788cbf to
fa89ec4
Compare
jacoblambert
force-pushed
the
v1/index-fields
branch
from
October 15, 2026 03:21
fa89ec4 to
fa102ce
Compare
jacoblambert
force-pushed
the
v1/registry
branch
from
October 15, 2026 03:21
026ee95 to
1c7ed79
Compare
jacoblambert
marked this pull request as ready for review
October 15, 2026 06:05
jacoblambert
force-pushed
the
v1/registry
branch
from
October 15, 2026 08:26
1c7ed79 to
9e4e40d
Compare
jacoblambert
force-pushed
the
v1/index-fields
branch
from
October 15, 2026 08:26
fa102ce to
a2355f7
Compare
jacoblambert
force-pushed
the
v1/registry
branch
from
October 15, 2026 10:37
9e4e40d to
b719a1c
Compare
jacoblambert
force-pushed
the
v1/index-fields
branch
from
October 15, 2026 10:37
a2355f7 to
3c5c32d
Compare
jacoblambert
force-pushed
the
v1/registry
branch
from
October 21, 2026 01:31
b719a1c to
b8c2f1a
Compare
jacoblambert
force-pushed
the
v1/index-fields
branch
from
October 21, 2026 01:31
3c5c32d to
26a6236
Compare
ktro2828
approved these changes
Oct 21, 2026
jacoblambert
force-pushed
the
v1/registry
branch
from
October 22, 2026 09:40
b8c2f1a to
a9a0ede
Compare
jacoblambert
force-pushed
the
v1/index-fields
branch
from
October 22, 2026 09:42
26a6236 to
f1da7ec
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two related changes to the 1.0 schema: consistent
name/indexfields, and a compact sensor ID that lets a merged LiDAR file say which LiDAR each point came from.Consistent
name/indexfieldsinstance.instance_name/instance_indexare renamedname/index, as incategory.token,name(channelforsensor), thenindex:category,instance,sensor,vehicle,map(sceneandattributealready did).sample_data.frame_indexkeeps its name: it is a position inside a file, not an ID.sensor.indexand LiDAR source columnssensor.index(required, 0–255): a compact ID for each sensor, set on every sensor row, cameras included.source_index(uint8) andsource_timestamp(int64, µs) columns in a merged LiDAR file, whensensor.lidar.source_channelsis not empty:source_indexis thesensor.indexof the LiDAR the point came from. This follows the same pattern as the point-wise labels:label→category.index,instance→instance.index.source_timestampis that LiDAR's scan time.sensor.lidar.fieldslike any other column..infofiles (point ranges and per-source stamps per frame). Points are grouped by source, so both columns are runs of equal values: about 1 KB per frame compressed, measured on real data.load_pointcloudreturns whatever columns the file has.Docs:
docs/schema/v1/data.mdhas a new "Merged Sources" section, andtable.mdis updated for the renames andsensor.index.Sample dataset
Regenerated with the new field order and
sensor.index. Its only LiDAR has no sources, so the source columns are exercised later, by the sanity checks and the 0.x conversion.Tests
tests/schema/v1/test_sensor.py:sensor.indexof -1, 256 ornullis rejected.