Refactor out live view only example#762
Conversation
Signed-off-by: Jakob Bornecrantz <tbornecrantz@nvidia.com>
Signed-off-by: Jakob Bornecrantz <tbornecrantz@nvidia.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughThis PR adds a new example, examples/deviceio_live_view, integrated into the CMake build and documented in the MCAP record/replay reference. It introduces a Python module (deviceio_viser.py) that builds a combined human-tracking pipeline (hands, head, controllers, full body) and renders each tracker via viser-backed visualization classes. A runnable script (live_deviceio.py) drives a CloudXR/TeleopSession loop, feeding tracking results into the visualization and printing periodic status. A pyproject.toml defines packaging and dependencies for the example. Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)sequenceDiagram
participant Script as live_deviceio.main
participant Launcher as CloudXRLauncher
participant Session as TeleopSession
participant Viz as HumanDeviceIOViz
participant Server as viser.ViserServer
Script->>Launcher: launch_context()
Script->>Session: create(TeleopSessionConfig)
loop every frame
Script->>Session: step()
Session-->>Script: result
Script->>Viz: update(result)
Viz->>Server: update point clouds/segments/visibility
end
Script->>Script: KeyboardInterrupt breaks loop
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
📝 Docs preview is not auto-deployed for fork PRs. A maintainer with write access to |
Description
Fixes #(issue)
Type of change
Testing
Checklist
SKIP=check-copyright-year pre-commit run --all-filesgit commit -s) per the DCOSummary by CodeRabbit