← Questions
Ingest MCAP driving logs and query them by timestamp
0
I was asked this
No reports yet. Sign in to say where you were asked it.
Build a small data service over recorded vehicle drives, with an AI coding assistant allowed. Each drive (a run) is stored as an MCAP file: timestamped messages on several topics, such as camera, lidar and vehicle state.
- Write the ingestion step: read a run's MCAP file and store its messages so they can be looked up by run, topic and time.
- Expose a query API that, given a run and a timestamp (or a time range), returns the messages recorded at or near that time.
Be ready to explain your storage layout, how lookups stay fast for long runs, and what you would change for many large runs.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Sign in to submit your code; every attempt is kept here.
Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding
