Skip to content

feat(mosaico_integration): Mosaico demo with 3-robot fleet variant#57

Open
mfaferek93 wants to merge 3 commits intomainfrom
feat/mosaico-m0-demo
Open

feat(mosaico_integration): Mosaico demo with 3-robot fleet variant#57
mfaferek93 wants to merge 3 commits intomainfrom
feat/mosaico-m0-demo

Conversation

@mfaferek93
Copy link
Copy Markdown

@mfaferek93 mfaferek93 commented Apr 15, 2026

Docker Compose demo showing medkit fault snapshots flowing into mosaicod as queryable sequences.

Two variants:

  • Single-robot (docker-compose.yml) - one sensor-demo + bridge. Proves the pipeline: SSE fault event to bag download to Arrow Flight ingest.
  • Fleet (docker-compose.fleet.yml) - three robots with different fault signatures (LiDAR noise, IMU failure, LiDAR drift) sharing one mosaicod. That is what makes cross-robot .Q queries actually interesting.

Bridge is a separate Python process talking Arrow Flight via the mosaicolabs SDK. mosaicod runs as the unmodified upstream image, no linking or patching.

Run it

cd demos/mosaico_integration
docker compose -f docker-compose.fleet.yml up -d
# wait ~30s for healthchecks + ring buffer prime
./scripts/trigger-fleet-faults.sh
# three sequences in mosaicod within ~45s

See README.md for the single-robot flow and architecture diagram.

Notes

  • Ring buffer widened to 15s pre + 10s post so snapshots have enough baseline for drift-vs-noise comparison.
  • max_bag_size_mb bumped to 2000 to avoid rosbag2 mid-recording splits.
  • LaserScanAdapter still pinned to Mosaico PR #368 commit 8e090cd until it lands in a release.

@mfaferek93 mfaferek93 force-pushed the feat/mosaico-m0-demo branch 3 times, most recently from 883b019 to 2dbc307 Compare April 15, 2026 17:09
@mfaferek93 mfaferek93 changed the title feat(mosaico_integration): Mosaico M0 demo + 3-robot fleet variant feat(mosaico_integration): Mosaico demo with 3-robot fleet variant Apr 15, 2026
@mfaferek93 mfaferek93 force-pushed the feat/mosaico-m0-demo branch from 2dbc307 to fc85c79 Compare April 15, 2026 19:20
Docker Compose stacks (single-robot and 3-robot fleet) that ingest
medkit fault snapshots into mosaicod via the mosaicolabs SDK.
@mfaferek93 mfaferek93 force-pushed the feat/mosaico-m0-demo branch from fc85c79 to 222d947 Compare April 15, 2026 19:22
Michał Fąferek added 2 commits April 16, 2026 13:37
Two new cells at the end of the notebook that pull LaserScan stats from
both LIDAR_SIM sequences and plot noise vs drift side by side.
… claim

Notebook .Q query now checks all 6 IMU axes (acc_x/y/z + angular_vel_x/y/z)
instead of just acc_z. Proves stationarity, not just level orientation.

README: fix "120 GB/robot/day" to correct value (~1.7 TB/robot/day).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant