SensorViz Sample Logs
This directory stores curated SQLite logs used to generate SensorViz user-guide
screenshots. SensorViz screenshots should be driven from these .db3 fixtures
rather than live hardware so menu state, stream lists, and plot contents are
repeatable.
Fixture Inventory
| Fixture | Source file | Tag type | Purpose |
|---|---|---|---|
imutag.db3 |
/Users/geobrown/imutag.db3 |
IMUTAG |
High-variety elapsed-time log for IMU pressure, acceleration, gyroscope, magnetometer, and derived magnitude screenshots. |
compasstag.db3 |
/Users/geobrown/compass.db3 |
COMPASSTAG |
Compass/orientation log for calibration constants, derived heading/orientation streams, and the CompassTag side panel. |
Current Metadata
imutag.db3
- SQLite integrity check:
ok - Tag type:
IMUTAG - Stream metadata rows: 11
- Representative row counts:
ImuAccel: 35550ImuGyro: 35550ImuMag: 3555ImuPressure: 3555
compasstag.db3
- SQLite integrity check:
ok - Tag type:
COMPASSTAG - Stream metadata rows: 9
- Representative row counts:
Compass: 44Activity: 44Calibration: 1Voltage: 2
Maintenance Notes
- Keep these files small enough for source control while preserving the stream metadata and enough samples for meaningful plots.
- Prefer logs generated by current
tagcoreSQLite output so SensorViz sees the samestreamsmetadata users will see in downloaded logs. - If replacing a fixture, rerun
pragma integrity_check, record the source file, and update the inventory above. - Do not edit the SQLite tables by hand unless the change is explicitly part of a fixture-reduction workflow documented here.
Screenshot Capture Commands
SensorViz has maintainer-only command-line hooks for loading these fixtures and
writing deterministic PNG screenshots. Use a scratch directory while reviewing
captures, then write final images to host/docs/src/images.
sensorviz --capture-screenshot startup \
--screenshot-dir /tmp/sensorviz-shots --no-user-prompts
sensorviz --load-log host/docs/fixtures/sensorviz/imutag.db3 \
--capture-suite imutag \
--screenshot-dir /tmp/sensorviz-shots --no-user-prompts
sensorviz --load-log host/docs/fixtures/sensorviz/compasstag.db3 \
--capture-suite compasstag \
--screenshot-dir /tmp/sensorviz-shots --no-user-prompts
The currently implemented suites cover full-window plot/File Info captures plus top-level and plot-context menus. There are no dialog screenshots, because the live dialogs still need to be factored into captureable builders; see the sensorviz TODO.