gps-plus-slam-app-framework 1.10.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -28
- package/dist/{absolute-orientation-C_IxDR_j.d.ts → absolute-orientation-0WIsqJnu.d.ts} +1 -1
- package/dist/{accuracy-circles-BE7tbvYV.d.ts → accuracy-circles-CFnKGfsD.d.ts} +1 -1
- package/dist/{app-selectors-CV7ggGoo.d.ts → app-selectors-QM0ZpNA4.d.ts} +1 -1
- package/dist/ar/ar-crash-isolation.d.ts +2 -0
- package/dist/ar/ar-crash-isolation.js +40 -0
- package/dist/ar/bresenham3d.d.ts +1 -1
- package/dist/ar/camera-blit-capture.d.ts +1 -1
- package/dist/ar/capability-checker.d.ts +1 -1
- package/dist/ar/capture-failure-tracker.d.ts +1 -1
- package/dist/ar/capture-motion-gate.d.ts +2 -0
- package/dist/{capture-motion-gate-D1eyGC_o.js → ar/capture-motion-gate.js} +25 -2
- package/dist/ar/chromium-camera-access-workaround.d.ts +1 -1
- package/dist/ar/chromium-camera-access-workaround.js +1 -1
- package/dist/ar/depth-grid-lookup.d.ts +1 -1
- package/dist/ar/depth-occluder.d.ts +1 -1
- package/dist/ar/depth-occluder.js +1 -1
- package/dist/ar/depth-sampler.d.ts +3 -3
- package/dist/ar/depth-sampler.js +28 -1
- package/dist/ar/depth-unprojection.d.ts +1 -1
- package/dist/ar/enable-gps-ar.d.ts +1 -1
- package/dist/ar/enable-gps-ar.js +20 -5
- package/dist/ar/frame-loop.d.ts +1 -1
- package/dist/ar/hit-test-reticle-driver.d.ts +2 -0
- package/dist/ar/hit-test-reticle-driver.js +122 -0
- package/dist/ar/image-capture.d.ts +1 -1
- package/dist/ar/image-capture.js +1 -1
- package/dist/ar/image-quality.d.ts +2 -2
- package/dist/ar/image-quality.js +136 -4
- package/dist/ar/index.d.ts +35 -32
- package/dist/ar/index.js +17 -15
- package/dist/ar/occlusion-mesh-worker.d.ts +2 -2
- package/dist/ar/occlusion-mesh-worker.js +6 -4
- package/dist/ar/occupancy-grid.d.ts +2 -2
- package/dist/ar/occupancy-grid.js +192 -12
- package/dist/ar/occupancy-mesher.d.ts +1 -1
- package/dist/ar/occupancy-mesher.js +1 -636
- package/dist/ar/qr/index.d.ts +11 -0
- package/dist/ar/qr/index.js +11 -0
- package/dist/ar/{planar-pnp.d.ts → qr/planar-pnp.d.ts} +1 -1
- package/dist/ar/{planar-pnp.js → qr/planar-pnp.js} +1 -1
- package/dist/ar/qr/qr-debug-view.d.ts +2 -0
- package/dist/ar/{qr-debug-view.js → qr/qr-debug-view.js} +2 -2
- package/dist/ar/{qr-derived-pose.d.ts → qr/qr-derived-pose.d.ts} +1 -1
- package/dist/ar/{qr-derived-pose.js → qr/qr-derived-pose.js} +2 -2
- package/dist/ar/{qr-detection-controller.d.ts → qr/qr-detection-controller.d.ts} +1 -1
- package/dist/ar/qr/qr-detection-controller.js +2 -0
- package/dist/ar/{qr-frontend.d.ts → qr/qr-frontend.d.ts} +1 -1
- package/dist/ar/{qr-frontend.js → qr/qr-frontend.js} +1 -1
- package/dist/ar/{qr-pose.d.ts → qr/qr-pose.d.ts} +1 -1
- package/dist/ar/{qr-pose.js → qr/qr-pose.js} +1 -1
- package/dist/ar/qr/qr-size-depth-context.d.ts +3 -0
- package/dist/ar/{qr-size-depth-context.js → qr/qr-size-depth-context.js} +4 -4
- package/dist/ar/{qr-size-measurer.d.ts → qr/qr-size-measurer.d.ts} +1 -1
- package/dist/ar/qr/qr-size-measurer.js +2 -0
- package/dist/ar/replay-scene.d.ts +1 -1
- package/dist/ar/replay-scene.js +15 -13
- package/dist/ar/scene-node-names.d.ts +1 -1
- package/dist/ar/webxr-nue-basis.d.ts +1 -1
- package/dist/ar/webxr-session.d.ts +4 -4
- package/dist/ar/webxr-session.js +2 -2
- package/dist/ar/xr-camera-texture.d.ts +1 -1
- package/dist/ar/xr-error-handler.d.ts +1 -1
- package/dist/ar/xr-frame-loop.d.ts +1 -1
- package/dist/ar/xr-frame-loop.js +1 -1
- package/dist/ar-crash-isolation-BSFw_beO.d.ts +52 -0
- package/dist/{ar-world-group-alignment-B6XiA1cT.d.ts → ar-world-group-alignment-CvvfACfx.d.ts} +2 -2
- package/dist/{capability-checker-DEo-ktWI.d.ts → capability-checker-DrWimJ_t.d.ts} +1 -1
- package/dist/capture-motion-gate-C60Qrilh.d.ts +120 -0
- package/dist/{cell-key-Bj-eYTLA.js → cell-key-D1b_Ix-p.js} +12 -1
- package/dist/{chromium-camera-access-workaround-DCd8SP2N.d.ts → chromium-camera-access-workaround-BRs6gkI4.d.ts} +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/{create-slam-app-store-CH31erpP.d.ts → create-slam-app-store-HNe1PBtx.d.ts} +37 -6
- package/dist/{create-slam-app-store-DLv5ZwqU.js → create-slam-app-store-wYN7YkB5.js} +21 -10
- package/dist/{depth-grid-lookup-DY6zYTLx.d.ts → depth-grid-lookup-PcJTdRLL.d.ts} +1 -1
- package/dist/{depth-sampler-txG8evgQ.d.ts → depth-sampler-BcvuxgCS.d.ts} +30 -3
- package/dist/{depth-unprojection-JKkeqJrV.d.ts → depth-unprojection-DbGipFkA.d.ts} +1 -1
- package/dist/{enable-gps-ar-BbNWyqp5.d.ts → enable-gps-ar-xjz3jNqm.d.ts} +10 -5
- package/dist/{file-system-utils-CfLTj5Ra.d.ts → file-system-utils-DE3BViuq.d.ts} +1 -1
- package/dist/{frame-conversions-CH7E2Iv_.d.ts → frame-conversions-CzPQDYpM.d.ts} +1 -1
- package/dist/{fused-path-DOKzVMiO.d.ts → fused-path-CBAttcVm.d.ts} +1 -1
- package/dist/geo/h3-proximity.d.ts +1 -1
- package/dist/geo/h3-proximity.js +1 -1
- package/dist/geo/index.d.ts +1 -1
- package/dist/{geodesic-angle-HXBWiXiI.js → geodesic-angle-CZ_Ow90I.js} +2 -2
- package/dist/{gps-anchor-BaqyRsPC.d.ts → gps-anchor-Gv4NDwH4.d.ts} +1 -1
- package/dist/{gps-ar-pose-sampler-BOOV0jJk.d.ts → gps-ar-pose-sampler-DBEYDFY5.d.ts} +1 -1
- package/dist/{gps-event-coordinator-03rVh_us.d.ts → gps-event-coordinator-BKwB4RyQ.d.ts} +4 -4
- package/dist/{gps-event-markers-BsC2Ynlh.d.ts → gps-event-markers-212h7j3D.d.ts} +39 -5
- package/dist/{h3-proximity-pFluGfwL.d.ts → h3-proximity-CAEk3osq.d.ts} +1 -1
- package/dist/hit-test-reticle-driver-CfKiDgsa.d.ts +40 -0
- package/dist/{image-capture-Cr_rljeV.d.ts → image-capture-BXmx1YvD.d.ts} +6 -6
- package/dist/{image-capture-BUqqsOi3.js → image-capture-Dn8uLIP2.js} +3 -3
- package/dist/{image-quality-BjBLoTec.d.ts → image-quality-G7_qT4aj.d.ts} +44 -2
- package/dist/index-DVmgFIgm.d.ts +64 -0
- package/dist/{index-C2Bo0buN.d.ts → index-DX9VC257.d.ts} +10 -72
- package/dist/{index-CuHaGY0F.d.ts → index-qtZ2muFd.d.ts} +1 -1
- package/dist/index.d.ts +89 -82
- package/dist/index.js +31 -24
- package/dist/{leaflet-map-overlay-QhF199BW.d.ts → leaflet-map-overlay-BkHmzvpD.d.ts} +1 -1
- package/dist/{leaflet-map-overlay-BRkUhZMD.js → leaflet-map-overlay-DjWfRT8a.js} +1 -1
- package/dist/{map-data-D8sSxpOr.d.ts → map-data-BQXPtRz7.d.ts} +3 -3
- package/dist/{map-data-D3oE8AQP.js → map-data-vL8jb5Z9.js} +1 -1
- package/dist/{map-overlay-draw-1E61FLKs.d.ts → map-overlay-draw-sTM3wug_.d.ts} +1 -1
- package/dist/{median-Bla_W50f.js → median-DDBrZGP0.js} +2 -2
- package/dist/{null-storage-backend-DXXuwG8T.d.ts → null-storage-backend-Dtn3TBfT.d.ts} +2 -2
- package/dist/{occlusion-mesh-CZ4i_SW2.d.ts → occlusion-mesh-BY2aMej3.d.ts} +43 -6
- package/dist/occupancy-cubes-visualizer-soN0Sizd.d.ts +146 -0
- package/dist/{occupancy-grid-f0I07UxI.d.ts → occupancy-grid-DKzIdCSZ.d.ts} +114 -4
- package/dist/{occupancy-mesher-BqnRd10x.d.ts → occupancy-mesher-Co80tOpl.d.ts} +22 -1
- package/dist/occupancy-mesher-DzNeJdQf.js +837 -0
- package/dist/{opfs-storage-backend-D1ZpeNEL.d.ts → opfs-storage-backend-CZ-ECudx.d.ts} +2 -2
- package/dist/perf-stats-overlay-BMEQrzx6.d.ts +68 -0
- package/dist/{persistence-middleware-CI4Cetnl.d.ts → persistence-middleware-Byo_Fs4n.d.ts} +13 -3
- package/dist/{planar-pnp-CPLhg5MX.d.ts → planar-pnp-CkcMN3o3.d.ts} +2 -2
- package/dist/pointer-picking-BATHHTlT.d.ts +41 -0
- package/dist/{ar-D-03Kso-.js → qr-CTp5xI83.js} +11 -25
- package/dist/{qr-debug-view-BmbWo06j.d.ts → qr-debug-view-BMjNVhV2.d.ts} +2 -2
- package/dist/{qr-derived-pose-DEYT85ul.d.ts → qr-derived-pose-Dq7mPK2s.d.ts} +3 -3
- package/dist/{qr-detected-slice-CPEkGbxh.d.ts → qr-detected-slice-8t_laDR9.d.ts} +9 -8
- package/dist/{qr-detection-controller-bRTJXC6G.js → qr-detection-controller-DXc1yHRf.js} +3 -3
- package/dist/{qr-detection-controller-IcMRpTjV.d.ts → qr-detection-controller-Dh4Paymb.d.ts} +4 -4
- package/dist/{qr-frontend-61SKPSyU.d.ts → qr-frontend-BnLlVjKu.d.ts} +2 -2
- package/dist/{qr-pose-CCTF1PP0.d.ts → qr-pose-_dInl6di.d.ts} +1 -1
- package/dist/{qr-pose-aggregation-BL6gfl0s.d.ts → qr-pose-aggregation-Bpv4uARJ.d.ts} +2 -2
- package/dist/{qr-pose-aggregation-H-O_Jjz9.js → qr-pose-aggregation-Cp0Mtg_j.js} +4 -4
- package/dist/{qr-size-depth-context-DJsYqbqY.d.ts → qr-size-depth-context-Bzbx98nS.d.ts} +3 -3
- package/dist/{qr-size-measurer-Bl_i-umk.d.ts → qr-size-measurer-18_W3INY.d.ts} +5 -5
- package/dist/{qr-size-measurer-BVOIg-He.js → qr-size-measurer-zZB9S1va.js} +4 -4
- package/dist/{recording-replayer-DyIN13nG.d.ts → recording-replayer-BKmVuchg.d.ts} +2 -2
- package/dist/{recording-slice-DziOl7P5.d.ts → recording-slice-zMedT0ot.d.ts} +10 -5
- package/dist/{replay-engine-DAymjsd1.d.ts → replay-engine-D-cbT0Fw.d.ts} +1 -1
- package/dist/{replay-scene-CZdWgcpc.d.ts → replay-scene-D5qzY0_x.d.ts} +12 -5
- package/dist/sensors/absolute-orientation.d.ts +1 -1
- package/dist/sensors/absolute-orientation.js +1 -1
- package/dist/sensors/gps-error-handler.d.ts +1 -1
- package/dist/sensors/gps.d.ts +1 -1
- package/dist/sensors/index.d.ts +4 -4
- package/dist/sensors/permission-checker.d.ts +1 -1
- package/dist/{session-disposers-BZS-hi8u.js → session-disposers-BJM5U62W.js} +1 -1
- package/dist/state/app-selectors.d.ts +1 -1
- package/dist/state/combined-root-state.d.ts +1 -1
- package/dist/state/create-slam-app-store.d.ts +1 -1
- package/dist/state/create-slam-app-store.js +1 -1
- package/dist/state/gps-ar-pose-sampler.d.ts +2 -2
- package/dist/state/gps-event-coordinator.d.ts +2 -2
- package/dist/state/index.d.ts +19 -20
- package/dist/state/index.js +3 -4
- package/dist/state/persistence-middleware.d.ts +2 -2
- package/dist/state/persistence-middleware.js +24 -15
- package/dist/state/qr-detected-slice.d.ts +3 -3
- package/dist/state/qr-detected-slice.js +8 -8
- package/dist/state/recording-replayer.d.ts +2 -2
- package/dist/state/recording-replayer.js +1 -1
- package/dist/state/recording-slice.d.ts +1 -1
- package/dist/state/replay-engine.d.ts +1 -1
- package/dist/state/replay-occupancy-subscriber.d.ts +51 -0
- package/dist/state/replay-occupancy-subscriber.js +85 -0
- package/dist/state/replay-session.d.ts +88 -0
- package/dist/state/replay-session.js +165 -0
- package/dist/state/store-subscribers.d.ts +2 -2
- package/dist/state/store-subscribers.js +1 -1
- package/dist/state/subscribe-to-selector.d.ts +1 -1
- package/dist/state/tracking-quality.d.ts +1 -1
- package/dist/state/tracking-quality.js +2 -2
- package/dist/state/tracking-slice.d.ts +1 -1
- package/dist/{state-U45ioVyB.js → state-DxL3T1Id.js} +1 -2
- package/dist/storage/file-system-utils.d.ts +1 -1
- package/dist/storage/file-system-utils.js +1 -1
- package/dist/storage/index.d.ts +8 -8
- package/dist/storage/null-storage-backend.d.ts +1 -1
- package/dist/storage/opfs-storage-backend.d.ts +1 -1
- package/dist/storage/opfs-storage.d.ts +1 -1
- package/dist/storage/storage-backend.d.ts +1 -1
- package/dist/storage/zip-coverage-embed.d.ts +1 -1
- package/dist/storage/zip-coverage-embed.js +1 -1
- package/dist/storage/zip-export.d.ts +1 -1
- package/dist/storage/zip-reader.d.ts +1 -1
- package/dist/{storage-backend-BX7egQKi.d.ts → storage-backend-DCYbOvTw.d.ts} +1 -1
- package/dist/{store-subscribers-DtwakLrQ.d.ts → store-subscribers-BbRW35u5.d.ts} +2 -2
- package/dist/{subscribe-to-selector-Cgo9JTfS.d.ts → subscribe-to-selector-B_lm_euO.d.ts} +1 -1
- package/dist/test-utils/browser-mocks.d.ts +1 -1
- package/dist/test-utils/zip-round-trip-helpers.d.ts +1 -1
- package/dist/text-sprite-C6VcC2mo.d.ts +53 -0
- package/dist/{tracking-slice-Bt2OEQhA.d.ts → tracking-slice-D5LDL_y4.d.ts} +3 -2
- package/dist/types/ar-types.d.ts +1 -1
- package/dist/types/geo-types.d.ts +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/utils/concurrency.d.ts +1 -1
- package/dist/utils/failure-tracker.d.ts +1 -1
- package/dist/utils/format-file-size.d.ts +1 -1
- package/dist/utils/fused-path.d.ts +1 -1
- package/dist/utils/index.d.ts +7 -7
- package/dist/utils/index.js +1 -1
- package/dist/utils/list-formatter.d.ts +1 -1
- package/dist/utils/logger.d.ts +1 -1
- package/dist/visualization/accuracy-circles.d.ts +1 -1
- package/dist/visualization/accuracy-circles.js +1 -1
- package/dist/visualization/alignment-lerper.d.ts +1 -1
- package/dist/visualization/ar-world-group-alignment.d.ts +1 -1
- package/dist/visualization/ar-world-group-alignment.js +2 -2
- package/dist/visualization/camera-follower.d.ts +1 -1
- package/dist/visualization/css3d-renderer-manager.d.ts +1 -1
- package/dist/visualization/frame-conversions.d.ts +1 -1
- package/dist/visualization/frustum-visibility.d.ts +1 -1
- package/dist/visualization/gps-anchor.d.ts +1 -1
- package/dist/visualization/gps-anchor.js +2 -2
- package/dist/visualization/gps-compass-cubes.d.ts +1 -1
- package/dist/visualization/gps-compass-cubes.js +6 -22
- package/dist/visualization/gps-event-markers.d.ts +2 -2
- package/dist/visualization/gps-event-markers.js +27 -6
- package/dist/visualization/hit-test-reticle.d.ts +1 -1
- package/dist/visualization/hit-test-reticle.js +3 -2
- package/dist/visualization/index.d.ts +25 -20
- package/dist/visualization/index.js +11 -6
- package/dist/visualization/leaflet-map-overlay.d.ts +1 -1
- package/dist/visualization/leaflet-map-overlay.js +1 -1
- package/dist/visualization/lerp-utils.d.ts +1 -1
- package/dist/visualization/map-data.d.ts +1 -1
- package/dist/visualization/map-data.js +1 -1
- package/dist/visualization/map-overlay-draw.d.ts +1 -1
- package/dist/visualization/occluder-mesh-driver.d.ts +2 -2
- package/dist/visualization/occluder-mesh-driver.js +1 -1
- package/dist/visualization/occlusion-mesh.d.ts +2 -2
- package/dist/visualization/occlusion-mesh.js +54 -4
- package/dist/visualization/occupancy-cubes-visualizer.d.ts +2 -0
- package/dist/visualization/occupancy-cubes-visualizer.js +221 -0
- package/dist/visualization/perf-stats-overlay.d.ts +2 -0
- package/dist/visualization/perf-stats-overlay.js +85 -0
- package/dist/visualization/pointer-picking.d.ts +2 -0
- package/dist/visualization/pointer-picking.js +58 -0
- package/dist/visualization/text-sprite.d.ts +2 -0
- package/dist/visualization/text-sprite.js +105 -0
- package/dist/visualization/three-dispose.d.ts +1 -1
- package/dist/visualization/vis-colors.d.ts +1 -1
- package/dist/visualization/wayfinding-hud.d.ts +2 -0
- package/dist/visualization/wayfinding-hud.js +289 -0
- package/dist/visualization/wayfinding-placement.d.ts +2 -0
- package/dist/visualization/wayfinding-placement.js +157 -0
- package/dist/wayfinding-hud-DVun2b69.d.ts +82 -0
- package/dist/wayfinding-placement-dnHzfYlT.d.ts +97 -0
- package/dist/{webxr-session-DWKUsCN9.js → webxr-session-BBlgzrqY.js} +150 -280
- package/dist/{webxr-session-CGFZ429B.d.ts → webxr-session-DurXRnl_.d.ts} +144 -194
- package/dist/{xr-frame-loop-25gM4B0K.d.ts → xr-frame-loop-A1mGDFHI.d.ts} +1 -1
- package/dist/{zip-coverage-embed-BrodRLq0.d.ts → zip-coverage-embed-BC3O2-8b.d.ts} +1 -1
- package/package.json +5 -3
- package/dist/ar/qr-debug-view.d.ts +0 -2
- package/dist/ar/qr-detection-controller.js +0 -2
- package/dist/ar/qr-size-depth-context.d.ts +0 -3
- package/dist/ar/qr-size-measurer.js +0 -2
- package/dist/capture-motion-gate-BmjiWUJv.d.ts +0 -24
- package/dist/map-overlay-0yJOcEVO.d.ts +0 -153
- package/dist/recording-options-Cai9D14V.d.ts +0 -700
- package/dist/state/recording-options.d.ts +0 -2
- package/dist/state/recording-options.js +0 -620
- package/dist/visualization/map-overlay.d.ts +0 -2
- package/dist/visualization/map-overlay.js +0 -241
- /package/dist/{alignment-lerper-B4COh_0p.d.ts → alignment-lerper-CK1TYLIL.d.ts} +0 -0
- /package/dist/{ar-types-CBafnxhE.d.ts → ar-types-BprL3nKv.d.ts} +0 -0
- /package/dist/{bresenham3d-D-t9i_b5.d.ts → bresenham3d-bt61R-Qa.d.ts} +0 -0
- /package/dist/{camera-blit-capture-BlC-arRb.d.ts → camera-blit-capture-CgNJ9grH.d.ts} +0 -0
- /package/dist/{camera-follower-B6zA3dy9.d.ts → camera-follower-OnnXsbHd.d.ts} +0 -0
- /package/dist/{capture-failure-tracker-BAUKjtXU.d.ts → capture-failure-tracker-bUXJeMvQ.d.ts} +0 -0
- /package/dist/{concurrency-DW0jQo3G.d.ts → concurrency-CMhbkxBk.d.ts} +0 -0
- /package/dist/{css3d-renderer-manager-DbrSY7Mh.d.ts → css3d-renderer-manager-CE6xN7XM.d.ts} +0 -0
- /package/dist/{failure-tracker-B7fzPfZo.d.ts → failure-tracker-BdaFulDA.d.ts} +0 -0
- /package/dist/{format-file-size-Da8rZgfs.d.ts → format-file-size-B2CJdRqD.d.ts} +0 -0
- /package/dist/{frame-loop-7HigCj7m.d.ts → frame-loop-CUEIdlhS.d.ts} +0 -0
- /package/dist/{frustum-visibility-COPfzruF.d.ts → frustum-visibility-BTx1Sqfo.d.ts} +0 -0
- /package/dist/{geo-types-BfDK8kJu.d.ts → geo-types-DGe5UKgx.d.ts} +0 -0
- /package/dist/{gps-CX5b9g3s.d.ts → gps-CC0l9lCp.d.ts} +0 -0
- /package/dist/{gps-compass-cubes-CT3TWctJ.d.ts → gps-compass-cubes-QQJgpRXR.d.ts} +0 -0
- /package/dist/{gps-error-handler-DjVuLXve.d.ts → gps-error-handler-da4DCcs5.d.ts} +0 -0
- /package/dist/{hit-test-reticle-DhnCMOsc.d.ts → hit-test-reticle-DcOyqo3B.d.ts} +0 -0
- /package/dist/{index-CjxbDm8W.d.ts → index-T8Fxvzka.d.ts} +0 -0
- /package/dist/{index-Nr3qg4IH.d.ts → index-Y_RNWbQX.d.ts} +0 -0
- /package/dist/{lerp-utils-bwMwVCpU.d.ts → lerp-utils-B-ecvLq2.d.ts} +0 -0
- /package/dist/{list-formatter-1ttG18MQ.d.ts → list-formatter-C45u3Vgv.d.ts} +0 -0
- /package/dist/{logger-B4StJUDb.d.ts → logger-BQGNXi9W.d.ts} +0 -0
- /package/dist/{opfs-storage-S_odkCk1.d.ts → opfs-storage-CrhVauNL.d.ts} +0 -0
- /package/dist/{permission-checker-D1C5zvo-.d.ts → permission-checker-BDrCOwQF.d.ts} +0 -0
- /package/dist/{scene-node-names-DWzhE7Ro.d.ts → scene-node-names-Ct6ATrfM.d.ts} +0 -0
- /package/dist/{three-dispose-C9mdpSRX.d.ts → three-dispose-B5-XiECx.d.ts} +0 -0
- /package/dist/{vis-colors-DjStl_tD.d.ts → vis-colors-16Pht13u.d.ts} +0 -0
- /package/dist/{webxr-nue-basis-C3vTqkE2.d.ts → webxr-nue-basis-B8ZEetVb.d.ts} +0 -0
- /package/dist/{xr-camera-texture-C6Z4d7RR.d.ts → xr-camera-texture-BA4xiaQ4.d.ts} +0 -0
- /package/dist/{xr-error-handler-D9y5r8ok.d.ts → xr-error-handler-BeyxXCE_.d.ts} +0 -0
- /package/dist/{zip-export-CuBimX1J.d.ts → zip-export-Cfl_kNQ7.d.ts} +0 -0
- /package/dist/{zip-reader-BHc_b_iA.d.ts → zip-reader-DwkuvlGo.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as createQrSizeMeasurer } from "
|
|
1
|
+
import { t as createQrSizeMeasurer } from "../../qr-size-measurer-zZB9S1va.js";
|
|
2
2
|
import { intrinsicsFromProjection, solveQrPose } from "./qr-pose.js";
|
|
3
|
-
//#region ../src/ar/qr-derived-pose.ts
|
|
3
|
+
//#region ../src/ar/qr/qr-derived-pose.ts
|
|
4
4
|
/**
|
|
5
5
|
* Replay a marker's observation history through a fresh size measurer (each
|
|
6
6
|
* observation sized against its own as-of depth context) and return the running
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as createQrDetectionController, i as RawObservationSink, n as QrDetectionControllerDeps, r as QrScanStatus, t as QrDetectionController } from "
|
|
1
|
+
import { a as createQrDetectionController, i as RawObservationSink, n as QrDetectionControllerDeps, r as QrScanStatus, t as QrDetectionController } from "../../qr-detection-controller-Dh4Paymb.js";
|
|
2
2
|
export { QrDetectionController, QrDetectionControllerDeps, QrScanStatus, RawObservationSink, createQrDetectionController };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as QrFrontEnd, c as createBarcodeDetectorFrontEnd, i as QrDetection, n as BarcodeDetectorLike, o as RgbaImage, r as DetectedBarcodeLike, s as ToImageBitmapSource, t as BarcodeDetectorFrontEnd } from "
|
|
1
|
+
import { a as QrFrontEnd, c as createBarcodeDetectorFrontEnd, i as QrDetection, n as BarcodeDetectorLike, o as RgbaImage, r as DetectedBarcodeLike, s as ToImageBitmapSource, t as BarcodeDetectorFrontEnd } from "../../qr-frontend-BnLlVjKu.js";
|
|
2
2
|
export { BarcodeDetectorFrontEnd, BarcodeDetectorLike, DetectedBarcodeLike, QrDetection, QrFrontEnd, RgbaImage, ToImageBitmapSource, createBarcodeDetectorFrontEnd };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as solveQrPose, a as QrPoseSolution, c as SolveQrPoseInput, d as intrinsicsFromProjection, f as invertPose, g as signedQuadArea, h as reprojectionErrorPx, i as Pose, l as buildObjectPoints, m as qrInCameraFromOpenCv, n as OpenCvPnpResult, o as QuadValidation, p as projectViewPoint, r as Point2, s as SolvePnpSquare, t as CameraIntrinsics, u as composePose, v as transformPoint, y as validateQuad } from "
|
|
1
|
+
import { _ as solveQrPose, a as QrPoseSolution, c as SolveQrPoseInput, d as intrinsicsFromProjection, f as invertPose, g as signedQuadArea, h as reprojectionErrorPx, i as Pose, l as buildObjectPoints, m as qrInCameraFromOpenCv, n as OpenCvPnpResult, o as QuadValidation, p as projectViewPoint, r as Point2, s as SolvePnpSquare, t as CameraIntrinsics, u as composePose, v as transformPoint, y as validateQuad } from "../../qr-pose-_dInl6di.js";
|
|
2
2
|
export { CameraIntrinsics, OpenCvPnpResult, Point2, Pose, QrPoseSolution, QuadValidation, SolvePnpSquare, SolveQrPoseInput, buildObjectPoints, composePose, intrinsicsFromProjection, invertPose, projectViewPoint, qrInCameraFromOpenCv, reprojectionErrorPx, signedQuadArea, solveQrPose, transformPoint, validateQuad };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createDepthUnprojector } from "
|
|
2
|
-
import { createDepthGridLookup } from "
|
|
3
|
-
//#region ../src/ar/qr-size-depth-context.ts
|
|
1
|
+
import { createDepthUnprojector } from "../depth-unprojection.js";
|
|
2
|
+
import { createDepthGridLookup } from "../depth-grid-lookup.js";
|
|
3
|
+
//#region ../src/ar/qr/qr-size-depth-context.ts
|
|
4
4
|
/**
|
|
5
5
|
* `createQrSizeDepthContext` — build a {@link QrSizeDepthContext} (unprojector +
|
|
6
6
|
* bilinear depth-grid lookup) from one {@link DepthSample}.
|
|
@@ -16,7 +16,7 @@ import { createDepthGridLookup } from "./depth-grid-lookup.js";
|
|
|
16
16
|
* consumer composes whatever extra it needs on top (the demo adds `cameraPose` +
|
|
17
17
|
* `projectionMatrix` for the PnP intrinsics).
|
|
18
18
|
*
|
|
19
|
-
* Deep-imported via `…/ar/qr-size-depth-context` (NOT the `…/ar` barrel) so the
|
|
19
|
+
* Deep-imported via `…/ar/qr/qr-size-depth-context` (NOT the `…/ar` barrel) so the
|
|
20
20
|
* Recorder's partially-mocked wiring tests don't pull heavy transitive deps —
|
|
21
21
|
* same rationale as `qr-depth-resolver` / `qr-debug-view`.
|
|
22
22
|
*
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as QrSizeMeasurerOptions, i as QrSizeMeasurer, n as QrSizeDepthContext, o as createQrSizeMeasurer, r as QrSizeMeasurement, t as ImageSize } from "
|
|
1
|
+
import { a as QrSizeMeasurerOptions, i as QrSizeMeasurer, n as QrSizeDepthContext, o as createQrSizeMeasurer, r as QrSizeMeasurement, t as ImageSize } from "../../qr-size-measurer-18_W3INY.js";
|
|
2
2
|
export { ImageSize, QrSizeDepthContext, QrSizeMeasurement, QrSizeMeasurer, QrSizeMeasurerOptions, createQrSizeMeasurer };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as getCameraFollower, c as getReplayState, d as updateOrbitTarget, i as getAlignmentLerper, l as initReplayScene, n as ReplaySceneState, o as getCameraMode, r as disposeReplayScene, s as getCss3dManager, t as CameraMode, u as toggleCameraMode } from "../replay-scene-
|
|
1
|
+
import { a as getCameraFollower, c as getReplayState, d as updateOrbitTarget, i as getAlignmentLerper, l as initReplayScene, n as ReplaySceneState, o as getCameraMode, r as disposeReplayScene, s as getCss3dManager, t as CameraMode, u as toggleCameraMode } from "../replay-scene-D5qzY0_x.js";
|
|
2
2
|
export { CameraMode, ReplaySceneState, disposeReplayScene, getAlignmentLerper, getCameraFollower, getCameraMode, getCss3dManager, getReplayState, initReplayScene, toggleCameraMode, updateOrbitTarget };
|
package/dist/ar/replay-scene.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createLogger } from "../utils/logger.js";
|
|
2
|
-
import {
|
|
2
|
+
import { i as createSceneHierarchy } from "../webxr-session-BBlgzrqY.js";
|
|
3
3
|
import { createCss3dRendererManager } from "../visualization/css3d-renderer-manager.js";
|
|
4
4
|
import { createCameraFollower } from "../visualization/camera-follower.js";
|
|
5
5
|
import { createAlignmentLerper } from "../visualization/alignment-lerper.js";
|
|
@@ -16,8 +16,15 @@ import { OrbitControls } from "three/addons/controls/OrbitControls.js";
|
|
|
16
16
|
* controls operate in a stable world-space frame, unaffected by the
|
|
17
17
|
* alignment matrix on arWorldGroup or odom pose updates on arpose.
|
|
18
18
|
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
19
|
+
* OWNS its scene objects: the replay scene/arWorldGroup/camera/arpose are
|
|
20
|
+
* exposed via initReplayScene()'s return value and getReplayState(), and are
|
|
21
|
+
* NEVER injected into webxr-session.ts (the historical Risk R1
|
|
22
|
+
* setScene/setArWorldGroup/setCamera/setArPose hack was removed by the
|
|
23
|
+
* 2026-07-11 webxr-session surface-reduction plan, step 2). The live-session
|
|
24
|
+
* getters (getScene() etc.) stay null during replay; replay consumers read
|
|
25
|
+
* this module's accessors instead, and scene-reading visualizers (e.g.
|
|
26
|
+
* gpsEventVisualizer.setSceneSource) are pointed at these references by the
|
|
27
|
+
* replay orchestrator.
|
|
21
28
|
*
|
|
22
29
|
* Camera modes:
|
|
23
30
|
* - orbit (default): OrbitControls — click-drag orbit + scroll zoom
|
|
@@ -70,7 +77,8 @@ function updateFpsMovement(dt) {
|
|
|
70
77
|
* - Creates the scene hierarchy via createSceneHierarchy()
|
|
71
78
|
* - Reparents camera from arWorldGroup to scene root (Risk R5)
|
|
72
79
|
* - Creates a WebGLRenderer WITHOUT WebXR
|
|
73
|
-
* -
|
|
80
|
+
* - Keeps its own scene/arWorldGroup/arpose/camera references (returned
|
|
81
|
+
* here and via getReplayState()) — nothing is written into webxr-session
|
|
74
82
|
* - Inserts canvas into the provided container
|
|
75
83
|
* - Starts a requestAnimationFrame render loop
|
|
76
84
|
* - Sets up OrbitControls as default camera mode
|
|
@@ -96,10 +104,6 @@ function initReplayScene(container) {
|
|
|
96
104
|
renderer.xr.enabled = false;
|
|
97
105
|
container.appendChild(renderer.domElement);
|
|
98
106
|
const css3dManager = createCss3dRendererManager(container, width, height);
|
|
99
|
-
setScene(scene);
|
|
100
|
-
setArWorldGroup(arWorldGroup);
|
|
101
|
-
setArPose(arpose);
|
|
102
|
-
setCamera(camera);
|
|
103
107
|
const orbitControls = new OrbitControls(camera, renderer.domElement);
|
|
104
108
|
orbitControls.enableDamping = true;
|
|
105
109
|
orbitControls.target.set(0, 0, 0);
|
|
@@ -109,6 +113,7 @@ function initReplayScene(container) {
|
|
|
109
113
|
state = {
|
|
110
114
|
scene,
|
|
111
115
|
arWorldGroup,
|
|
116
|
+
arpose,
|
|
112
117
|
camera,
|
|
113
118
|
renderer,
|
|
114
119
|
orbitControls,
|
|
@@ -123,6 +128,7 @@ function initReplayScene(container) {
|
|
|
123
128
|
return {
|
|
124
129
|
scene,
|
|
125
130
|
arWorldGroup,
|
|
131
|
+
arpose,
|
|
126
132
|
camera,
|
|
127
133
|
renderer
|
|
128
134
|
};
|
|
@@ -134,7 +140,7 @@ function initReplayScene(container) {
|
|
|
134
140
|
* - Disposes renderer (frees GPU resources)
|
|
135
141
|
* - Disposes camera controls
|
|
136
142
|
* - Removes canvas from DOM
|
|
137
|
-
* - Clears module
|
|
143
|
+
* - Clears this module's state (getReplayState() returns null afterwards)
|
|
138
144
|
*
|
|
139
145
|
* Safe to call multiple times (idempotent).
|
|
140
146
|
*/
|
|
@@ -151,10 +157,6 @@ function disposeReplayScene() {
|
|
|
151
157
|
restoreTabindex();
|
|
152
158
|
if (state.renderer.domElement.parentElement) state.renderer.domElement.parentElement.removeChild(state.renderer.domElement);
|
|
153
159
|
state.renderer.dispose();
|
|
154
|
-
setScene(null);
|
|
155
|
-
setArWorldGroup(null);
|
|
156
|
-
setArPose(null);
|
|
157
|
-
setCamera(null);
|
|
158
160
|
state = null;
|
|
159
161
|
log.info("Replay scene disposed");
|
|
160
162
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as SCENE_NODE } from "../scene-node-names-
|
|
1
|
+
import { t as SCENE_NODE } from "../scene-node-names-Ct6ATrfM.js";
|
|
2
2
|
export { SCENE_NODE };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as WEBXR_TO_NUE } from "../webxr-nue-basis-
|
|
1
|
+
import { t as WEBXR_TO_NUE } from "../webxr-nue-basis-B8ZEetVb.js";
|
|
2
2
|
export { WEBXR_TO_NUE };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as DepthSample, t as ARPose } from "../ar-types-
|
|
2
|
-
import { n as CapturedImage } from "../image-capture-
|
|
3
|
-
import {
|
|
4
|
-
export { ARPose,
|
|
1
|
+
import { i as DepthSample, t as ARPose } from "../ar-types-BprL3nKv.js";
|
|
2
|
+
import { n as CapturedImage } from "../image-capture-BXmx1YvD.js";
|
|
3
|
+
import { A as startCameraFrameCapture, C as isWebXRSupported, D as rebindTrackingStore, E as nueQuaternionToWebXR, F as stopImageCapture, M as startImageCapture, N as stopCameraFrameCapture, O as resetWebXRState, P as stopDepthCapture, S as initAR, T as nuePositionToWebXR, _ as getDepthInfoFromFrame, a as SessionFeatureOptions, b as getScene, c as buildSessionOptions, d as extractPoseFromViewer, f as extractResetTransformData, g as getCurrentArPose, h as getCameraFrameCount, i as SessionEndInfo, j as startDepthCapture, k as shouldLogCameraAccessDiagnostic, l as createSceneHierarchy, m as getCamera, n as CameraFrameCaptureConfig, o as TrackingSubscribableStore, p as getArWorldGroup, r as DEFAULT_CAMERA_FRAME_CAPTURE_SIZE, s as applyAlignmentMatrix, t as ArSessionCallbacks, u as endARSession, v as getDepthSampleCount, w as isXRCameraLike, x as getXrCameraFromPose, y as getImageCaptureFrameCount } from "../webxr-session-DurXRnl_.js";
|
|
4
|
+
export { ARPose, ArSessionCallbacks, CameraFrameCaptureConfig, CapturedImage, DEFAULT_CAMERA_FRAME_CAPTURE_SIZE, DepthSample, SessionEndInfo, SessionFeatureOptions, TrackingSubscribableStore, applyAlignmentMatrix, buildSessionOptions, createSceneHierarchy, endARSession, extractPoseFromViewer, extractResetTransformData, getArWorldGroup, getCamera, getCameraFrameCount, getCurrentArPose, getDepthInfoFromFrame, getDepthSampleCount, getImageCaptureFrameCount, getScene, getXrCameraFromPose, initAR, isWebXRSupported, isXRCameraLike, nuePositionToWebXR, nueQuaternionToWebXR, rebindTrackingStore, resetWebXRState, shouldLogCameraAccessDiagnostic, startCameraFrameCapture, startDepthCapture, startImageCapture, stopCameraFrameCapture, stopDepthCapture, stopImageCapture };
|
package/dist/ar/webxr-session.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
export {
|
|
1
|
+
import { A as stopImageCapture, C as resetWebXRState, D as startImageCapture, E as startDepthCapture, O as stopCameraFrameCapture, S as rebindTrackingStore, T as startCameraFrameCapture, _ as initAR, a as endARSession, b as nuePositionToWebXR, c as getArWorldGroup, d as getCurrentArPose, f as getDepthInfoFromFrame, g as getXrCameraFromPose, h as getScene, i as createSceneHierarchy, k as stopDepthCapture, l as getCamera, m as getImageCaptureFrameCount, n as applyAlignmentMatrix, o as extractPoseFromViewer, p as getDepthSampleCount, r as buildSessionOptions, s as extractResetTransformData, t as DEFAULT_CAMERA_FRAME_CAPTURE_SIZE, u as getCameraFrameCount, v as isWebXRSupported, w as shouldLogCameraAccessDiagnostic, x as nueQuaternionToWebXR, y as isXRCameraLike } from "../webxr-session-BBlgzrqY.js";
|
|
2
|
+
export { DEFAULT_CAMERA_FRAME_CAPTURE_SIZE, applyAlignmentMatrix, buildSessionOptions, createSceneHierarchy, endARSession, extractPoseFromViewer, extractResetTransformData, getArWorldGroup, getCamera, getCameraFrameCount, getCurrentArPose, getDepthInfoFromFrame, getDepthSampleCount, getImageCaptureFrameCount, getScene, getXrCameraFromPose, initAR, isWebXRSupported, isXRCameraLike, nuePositionToWebXR, nueQuaternionToWebXR, rebindTrackingStore, resetWebXRState, shouldLogCameraAccessDiagnostic, startCameraFrameCapture, startDepthCapture, startImageCapture, stopCameraFrameCapture, stopDepthCapture, stopImageCapture };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as acquireCameraTexture, n as RendererLike, r as XRCameraLike, t as CameraTextureResult } from "../xr-camera-texture-
|
|
1
|
+
import { i as acquireCameraTexture, n as RendererLike, r as XRCameraLike, t as CameraTextureResult } from "../xr-camera-texture-BA4xiaQ4.js";
|
|
2
2
|
export { CameraTextureResult, RendererLike, XRCameraLike, acquireCameraTexture };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as XR_ERROR_MESSAGE_UNKNOWN, r as getXrErrorMessage, t as XR_ERROR_MESSAGES } from "../xr-error-handler-
|
|
1
|
+
import { n as XR_ERROR_MESSAGE_UNKNOWN, r as getXrErrorMessage, t as XR_ERROR_MESSAGES } from "../xr-error-handler-BeyxXCE_.js";
|
|
2
2
|
export { XR_ERROR_MESSAGES, XR_ERROR_MESSAGE_UNKNOWN, getXrErrorMessage };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as runXrFrameUpdates, i as registerXrFrameUpdate, n as XrFrameUpdate, r as clearXrFrameUpdates, t as XrFrameContext } from "../xr-frame-loop-
|
|
1
|
+
import { a as runXrFrameUpdates, i as registerXrFrameUpdate, n as XrFrameUpdate, r as clearXrFrameUpdates, t as XrFrameContext } from "../xr-frame-loop-A1mGDFHI.js";
|
|
2
2
|
export { XrFrameContext, XrFrameUpdate, clearXrFrameUpdates, registerXrFrameUpdate, runXrFrameUpdates };
|
package/dist/ar/xr-frame-loop.js
CHANGED
|
@@ -18,7 +18,7 @@ import { createLogger } from "../utils/logger.js";
|
|
|
18
18
|
* makes correct use the easy path and stashing the awkward one. Do NOT retain
|
|
19
19
|
* `ctx` or its fields beyond the callback's synchronous execution.
|
|
20
20
|
*
|
|
21
|
-
* See `2026-06-03-threejs-arbutton-minimal-ar-example-user-feedback.md`
|
|
21
|
+
* See `2026-06-03-0553-threejs-arbutton-minimal-ar-example-user-feedback.md`
|
|
22
22
|
* §6.2/§6.3 (option H-A2) for the design rationale.
|
|
23
23
|
*/
|
|
24
24
|
const log = createLogger("XrFrameLoop");
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
//#region ../src/ar/ar-crash-isolation.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* AR crash isolation flags — diagnostic gates for XR session negotiation.
|
|
4
|
+
*
|
|
5
|
+
* Moved out of the recorder settings catalog (2026-07-11 G-1 move,
|
|
6
|
+
* `2026-07-11-1445-recording-options-altitude-move-plan.md`): the framework itself
|
|
7
|
+
* consumes these flags in `webxr-session.ts` (session feature requests, frame
|
|
8
|
+
* loop) and on `enable-gps-ar.ts`'s public param, so the type + defaults +
|
|
9
|
+
* validator live framework-side. The recorder embeds the group in its own
|
|
10
|
+
* `RecordingOptions` catalog and re-exports the type.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Diagnostic flags for isolating pre-recording AR startup crashes.
|
|
14
|
+
* These gates affect XR session negotiation and frame-loop behavior,
|
|
15
|
+
* independently of recording-time image/depth capture.
|
|
16
|
+
*/
|
|
17
|
+
interface ArCrashIsolationOptions {
|
|
18
|
+
enableDomOverlay: boolean;
|
|
19
|
+
enableCameraAccess: boolean;
|
|
20
|
+
enableDepthSensingFeature: boolean;
|
|
21
|
+
enableCss3dRenderer: boolean;
|
|
22
|
+
enableCameraTextureAcquisition: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Apply the Chromium WebXR camera-access tab-crash workaround at app
|
|
25
|
+
* bootstrap. The workaround always deletes
|
|
26
|
+
* `XRWebGLBinding.prototype.createProjectionLayer` /
|
|
27
|
+
* `XRRenderState.prototype.layers` (forcing `XRWebGLLayer`) — required on
|
|
28
|
+
* every affected Chrome build observed on-device, including Chrome 150 — and
|
|
29
|
+
* additionally persists the `baseLayer` across
|
|
30
|
+
* `XRSession.prototype.updateRenderState` only for Chrome builds inside the
|
|
31
|
+
* affected window (148.0.7778.12 up to 149.0.7821).
|
|
32
|
+
*
|
|
33
|
+
* Default `true`. Opt-out is offered because forcing `XRWebGLLayer` may break
|
|
34
|
+
* WebXR on unaffected (e.g. Quest) devices.
|
|
35
|
+
*
|
|
36
|
+
* @see GpsPlusSlamJs_AppFramework/src/ar/chromium-camera-access-workaround.ts
|
|
37
|
+
* @see https://github.com/mrdoob/three.js/issues/33404
|
|
38
|
+
*/
|
|
39
|
+
applyChromiumProjectionLayerWorkaround: boolean;
|
|
40
|
+
}
|
|
41
|
+
/** Default AR-crash-isolation flags (all features enabled). */
|
|
42
|
+
declare const DEFAULT_AR_CRASH_ISOLATION: ArCrashIsolationOptions;
|
|
43
|
+
/**
|
|
44
|
+
* Validate and normalize AR crash isolation flags.
|
|
45
|
+
* Missing or invalid values fall back to defaults. The container itself is as
|
|
46
|
+
* untrusted as its fields (persisted blobs may lack the key entirely or hold
|
|
47
|
+
* `null`), so a nullish container yields the full defaults instead of
|
|
48
|
+
* throwing.
|
|
49
|
+
*/
|
|
50
|
+
declare function validateArCrashIsolationOptions(rawOptions?: Partial<ArCrashIsolationOptions> | null): ArCrashIsolationOptions;
|
|
51
|
+
//#endregion
|
|
52
|
+
export { DEFAULT_AR_CRASH_ISOLATION as n, validateArCrashIsolationOptions as r, ArCrashIsolationOptions as t };
|
package/dist/{ar-world-group-alignment-B6XiA1cT.d.ts → ar-world-group-alignment-CvvfACfx.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as SubscribableStore } from "./subscribe-to-selector-
|
|
1
|
+
import { t as SubscribableStore } from "./subscribe-to-selector-B_lm_euO.js";
|
|
2
2
|
import * as THREE from "three";
|
|
3
3
|
|
|
4
4
|
//#region ../src/visualization/ar-world-group-alignment.d.ts
|
|
@@ -32,7 +32,7 @@ interface ArWorldGroupAlignmentHandle {
|
|
|
32
32
|
* handle is still returned for callers that want to stop alignment mid-session,
|
|
33
33
|
* and is idempotent + self-deregistering so a manual `dispose()` and the
|
|
34
34
|
* teardown flush never double-run. See
|
|
35
|
-
* gps-plus-slam/GpsPlusSlamJs_Docs/docs/2026-06-08-arworldgroup-alignment-session-scoped-disposal.md.
|
|
35
|
+
* gps-plus-slam/GpsPlusSlamJs_Docs/docs/2026-06-08-2149-arworldgroup-alignment-session-scoped-disposal.md.
|
|
36
36
|
*
|
|
37
37
|
* Double-drive is still the caller's concern: the recorder owns its own lerper
|
|
38
38
|
* and must NOT also call this (it would double-lerp the same group). It does not
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* stays in each app's `main.ts`; only the browser-free decision and the
|
|
9
9
|
* user-facing message live here so they can be unit-tested without a browser.
|
|
10
10
|
*
|
|
11
|
-
* See `2026-06-03-threejs-arbutton-minimal-ar-example-user-feedback.md` §6.4.
|
|
11
|
+
* See `2026-06-03-0553-threejs-arbutton-minimal-ar-example-user-feedback.md` §6.4.
|
|
12
12
|
*/
|
|
13
13
|
/** The two capabilities every GPS+AR demo requires to run. */
|
|
14
14
|
interface CapabilitySupport {
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
//#region ../src/ar/capture-motion-gate.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Capture motion gate — the policy that decides whether a *due* capture should
|
|
4
|
+
* fire on the current frame or be deferred until the device settles.
|
|
5
|
+
*
|
|
6
|
+
* Two cohesive pieces, both pure/deterministic and unit-testable in isolation
|
|
7
|
+
* from `ImageCaptureManager`:
|
|
8
|
+
* - {@link decideCapture} — the stateless capture-vs-defer decision over the
|
|
9
|
+
* windowed motion maxima, the thresholds, and the time since the capture
|
|
10
|
+
* became due (the never-calm safety fallback).
|
|
11
|
+
* - {@link MotionWindow} — a tiny fixed-size ring of recent per-frame
|
|
12
|
+
* velocities with glitch rejection, so the decision judges "max over the
|
|
13
|
+
* last N frames" rather than one lucky-calm sample.
|
|
14
|
+
*
|
|
15
|
+
* The window size and glitch ceilings are INTERNAL constants, deliberately not
|
|
16
|
+
* user-facing config: the user-facing surface is only enabled / maxAngular /
|
|
17
|
+
* maxLinear / maxWaitMs (plan §5.1). Keeping the stateful policy here (not in a
|
|
18
|
+
* speculative framework-wide service) matches the plan's §4.1 scope note.
|
|
19
|
+
*
|
|
20
|
+
* @see GpsPlusSlamJs_Docs/docs/2026-06-23-2105-blurry-frame-motion-gating-plan.md §4.2-4.4
|
|
21
|
+
*/
|
|
22
|
+
/** Default number of recent frames the gate judges motion over (~50 ms @ 60fps). */
|
|
23
|
+
declare const DEFAULT_MOTION_WINDOW_SIZE = 3;
|
|
24
|
+
/**
|
|
25
|
+
* User-/consumer-facing motion-filter configuration. Shared by both config
|
|
26
|
+
* shapes that carry it — `ImageCaptureConfig` (what `ImageCaptureManager`
|
|
27
|
+
* consumes) and `ImageCaptureOptions` (the persisted recorder options) — so the
|
|
28
|
+
* one definition cannot drift between them. The window size and glitch ceilings
|
|
29
|
+
* are deliberately NOT here: they are internal tuning constants, not exposed.
|
|
30
|
+
*/
|
|
31
|
+
interface MotionFilterConfig {
|
|
32
|
+
/** Master switch for the motion gate. Default `true`. */
|
|
33
|
+
enabled: boolean;
|
|
34
|
+
/** Angular-velocity threshold (rad/s); at/below this a frame is "calm". */
|
|
35
|
+
maxAngularVelocity: number;
|
|
36
|
+
/** Linear-velocity threshold (m/s); at/below this a frame is "calm". */
|
|
37
|
+
maxLinearVelocity: number;
|
|
38
|
+
/**
|
|
39
|
+
* Never-calm safety fallback: once a due capture has waited this many ms it
|
|
40
|
+
* fires regardless of motion, so an interval is never silently lost. A
|
|
41
|
+
* sensible value is ~2× the capture interval.
|
|
42
|
+
*/
|
|
43
|
+
maxWaitMs: number;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Default motion-filter configuration. Enabled by default (plan §1).
|
|
47
|
+
*
|
|
48
|
+
* `maxLinearVelocity` was raised `0.5 → 2.5` m/s on 2026-07-02 after a
|
|
49
|
+
* 5-recording field analysis: at 0.5 m/s (~⅓ of a ~1.4 m/s walking pace) the
|
|
50
|
+
* gate deferred ~90 % of captures to the never-calm `maxWaitMs` fallback,
|
|
51
|
+
* collapsing the walking capture rate from the configured 0.5 Hz to ~0.17 Hz.
|
|
52
|
+
* Measured 1 Hz-averaged walking speed was a tight band (median 1.38, max
|
|
53
|
+
* 1.73 m/s); allowing for higher instantaneous per-frame stride peaks, 2.5 m/s
|
|
54
|
+
* clears steady and brisk walking while still deferring genuine lunges/jogging
|
|
55
|
+
* — demoting the (weak-at-scanning-distance) linear signal to a gross-motion
|
|
56
|
+
* safety net and letting the well-behaved angular gate be the primary blur
|
|
57
|
+
* selector. See
|
|
58
|
+
* `GpsPlusSlamJs_Docs/docs/2026-07-02-0117-image-capture-rate-motion-gate-finding.md`.
|
|
59
|
+
*
|
|
60
|
+
* `maxAngularVelocity` remains a PLACEHOLDER pending on-device field tuning
|
|
61
|
+
* (plan §7). `maxWaitMs` of 4000 ms is 2× the default 2000 ms image interval.
|
|
62
|
+
*/
|
|
63
|
+
declare const DEFAULT_MOTION_FILTER: MotionFilterConfig;
|
|
64
|
+
/** Inputs to the stateless capture decision. */
|
|
65
|
+
interface CaptureDecisionInput {
|
|
66
|
+
/** Max angular velocity (rad/s) over the recent window. `Infinity` if empty. */
|
|
67
|
+
windowMaxAngular: number;
|
|
68
|
+
/** Max linear velocity (m/s) over the recent window. `Infinity` if empty. */
|
|
69
|
+
windowMaxLinear: number;
|
|
70
|
+
/** Angular-velocity threshold (rad/s); at/below this is "calm". */
|
|
71
|
+
maxAngularVelocity: number;
|
|
72
|
+
/** Linear-velocity threshold (m/s); at/below this is "calm". */
|
|
73
|
+
maxLinearVelocity: number;
|
|
74
|
+
/** Milliseconds since the capture first became due (interval elapsed). */
|
|
75
|
+
msSinceDue: number;
|
|
76
|
+
/** Safety fallback: capture regardless once this many ms have passed. */
|
|
77
|
+
maxWaitMs: number;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Decide whether a due capture should fire now or defer to a later frame.
|
|
81
|
+
*
|
|
82
|
+
* A frame is "calm" when BOTH windowed maxima are at/below their thresholds —
|
|
83
|
+
* an empty window reports `Infinity`, so it is never calm (no capture before a
|
|
84
|
+
* valid sample exists). If not calm, the capture is deferred UNTIL `msSinceDue`
|
|
85
|
+
* reaches `maxWaitMs`, at which point it fires regardless to guarantee an
|
|
86
|
+
* interval is never silently lost (worst case: one blurry frame, not a gap).
|
|
87
|
+
*/
|
|
88
|
+
declare function decideCapture(input: CaptureDecisionInput): 'capture' | 'defer';
|
|
89
|
+
/**
|
|
90
|
+
* Fixed-size ring of the most recent VALID (non-glitch) per-frame velocities.
|
|
91
|
+
*
|
|
92
|
+
* `maxAngular()`/`maxLinear()` return the max over the retained samples, or
|
|
93
|
+
* `Infinity` when empty so "no data yet" reads as not-calm in
|
|
94
|
+
* {@link decideCapture}. A sample exceeding either glitch ceiling is rejected
|
|
95
|
+
* outright (`push` returns `false`) and never stored, so a relocalization spike
|
|
96
|
+
* neither pollutes the window (no spurious defer) nor is treated as motion.
|
|
97
|
+
*/
|
|
98
|
+
declare class MotionWindow {
|
|
99
|
+
private readonly angularGlitchCeiling;
|
|
100
|
+
private readonly linearGlitchCeiling;
|
|
101
|
+
private readonly size;
|
|
102
|
+
private readonly angular;
|
|
103
|
+
private readonly linear;
|
|
104
|
+
constructor(size?: number, angularGlitchCeiling?: number, linearGlitchCeiling?: number);
|
|
105
|
+
/**
|
|
106
|
+
* Record a per-frame velocity pair. Returns `false` (and stores nothing) when
|
|
107
|
+
* the sample exceeds either glitch ceiling, `true` otherwise.
|
|
108
|
+
*/
|
|
109
|
+
push(angularVel: number, linearVel: number): boolean;
|
|
110
|
+
/** Whether the window holds at least one valid (non-glitch) sample yet. */
|
|
111
|
+
hasSamples(): boolean;
|
|
112
|
+
/** Max angular velocity over the retained window, or `Infinity` if empty. */
|
|
113
|
+
maxAngular(): number;
|
|
114
|
+
/** Max linear velocity over the retained window, or `Infinity` if empty. */
|
|
115
|
+
maxLinear(): number;
|
|
116
|
+
/** Clear all samples (e.g. on tracking loss / capture restart). */
|
|
117
|
+
reset(): void;
|
|
118
|
+
}
|
|
119
|
+
//#endregion
|
|
120
|
+
export { MotionWindow as a, MotionFilterConfig as i, DEFAULT_MOTION_FILTER as n, decideCapture as o, DEFAULT_MOTION_WINDOW_SIZE as r, CaptureDecisionInput as t };
|
|
@@ -40,6 +40,17 @@ function unpackCellKey(key) {
|
|
|
40
40
|
];
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
+
* Per-axis key strides: stepping one cell along an axis moves the packed key
|
|
44
|
+
* by a constant (positional base-2^17 packing) — `packCellKey(x+1, y, z) ===
|
|
45
|
+
* packCellKey(x, y, z) + CELL_KEY_STRIDE_X`, and the z stride is 1. Hot walks
|
|
46
|
+
* (the occupancy grid's fused carve, the smooth mesher's dual-cell corners)
|
|
47
|
+
* maintain keys incrementally with these instead of repacking per cell.
|
|
48
|
+
* DERIVED from the packer itself so they can never drift from the encoding.
|
|
49
|
+
*/
|
|
50
|
+
const CELL_KEY_STRIDE_X = packCellKey(1, 0, 0) - packCellKey(0, 0, 0);
|
|
51
|
+
/** See {@link CELL_KEY_STRIDE_X}. */
|
|
52
|
+
const CELL_KEY_STRIDE_Y = packCellKey(0, 1, 0) - packCellKey(0, 0, 0);
|
|
53
|
+
/**
|
|
43
54
|
* True iff every coordinate is within ±`limit` — the aliasing guard callers
|
|
44
55
|
* must apply before keying untrusted coordinates. Defaults to the full-field
|
|
45
56
|
* {@link CELL_KEY_LIMIT}; the meshers pass {@link HALF_LATTICE_CELL_KEY_LIMIT}.
|
|
@@ -48,4 +59,4 @@ function cellCoordsInKeyRange(cell, limit = CELL_KEY_LIMIT) {
|
|
|
48
59
|
return Math.abs(cell[0]) <= limit && Math.abs(cell[1]) <= limit && Math.abs(cell[2]) <= limit;
|
|
49
60
|
}
|
|
50
61
|
//#endregion
|
|
51
|
-
export {
|
|
62
|
+
export { cellCoordsInKeyRange as a, unpackCellCoord as c, HALF_LATTICE_CELL_KEY_LIMIT as i, unpackCellKey as l, CELL_KEY_STRIDE_X as n, cellKey as o, CELL_KEY_STRIDE_Y as r, packCellKey as s, CELL_KEY_LIMIT as t };
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* added — i.e. it is not specific to this app's session setup. See:
|
|
11
11
|
*
|
|
12
12
|
* - GpsPlusSlamJs_Docs/docs/2026-04-22-camera-access-reproducer-plan.md
|
|
13
|
-
* - GpsPlusSlamJs_Docs/docs/2026-06-04-camera-access-crash-regression-chrome-148.md
|
|
13
|
+
* - GpsPlusSlamJs_Docs/docs/2026-06-04-0458-camera-access-crash-regression-chrome-148.md
|
|
14
14
|
* - https://github.com/mrdoob/three.js/issues/33404
|
|
15
15
|
* - https://issues.chromium.org/issues/507508099 (root-cause, marked Fixed)
|
|
16
16
|
*
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as webxrToNUE, _ as createLoopClosureHandler, a as LibraryRootState, b as odometryTrackingRestarted, c as Matrix4, d as Vector3, f as arNorthBearingDeg, g as createGpsSlamStore, h as calcRelativeCoordsInMeters, i as LatLongAlt, l as Quaternion, m as calcGpsCoords, n as GpsPoint, o as LoopClosureHandler, p as bearingDeltaDeg, r as LatLong, s as LoopClosureHandlerConfig, t as ArImageCapture, u as RootState, v as isIdentityMatrix4, x as validateLicenseKey, y as magneticHeadingFromEnuQuat } from "../index-
|
|
1
|
+
import { S as webxrToNUE, _ as createLoopClosureHandler, a as LibraryRootState, b as odometryTrackingRestarted, c as Matrix4, d as Vector3, f as arNorthBearingDeg, g as createGpsSlamStore, h as calcRelativeCoordsInMeters, i as LatLongAlt, l as Quaternion, m as calcGpsCoords, n as GpsPoint, o as LoopClosureHandler, p as bearingDeltaDeg, r as LatLong, s as LoopClosureHandlerConfig, t as ArImageCapture, u as RootState, v as isIdentityMatrix4, x as validateLicenseKey, y as magneticHeadingFromEnuQuat } from "../index-T8Fxvzka.js";
|
|
2
2
|
export { ArImageCapture, GpsPoint, LatLong, LatLongAlt, LibraryRootState, LoopClosureHandler, LoopClosureHandlerConfig, Matrix4, Quaternion, RootState, Vector3, arNorthBearingDeg, bearingDeltaDeg, calcGpsCoords, calcRelativeCoordsInMeters, createGpsSlamStore, createLoopClosureHandler, isIdentityMatrix4, magneticHeadingFromEnuQuat, odometryTrackingRestarted, validateLicenseKey, webxrToNUE };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { a as TrackingSliceState } from "./tracking-slice-
|
|
2
|
-
import { t as RecordingState } from "./recording-slice-
|
|
3
|
-
import { n as SessionMetadata } from "./opfs-storage-
|
|
4
|
-
import { n as StorageBackend } from "./storage-backend-
|
|
1
|
+
import { a as TrackingSliceState } from "./tracking-slice-D5LDL_y4.js";
|
|
2
|
+
import { t as RecordingState } from "./recording-slice-zMedT0ot.js";
|
|
3
|
+
import { n as SessionMetadata } from "./opfs-storage-CrhVauNL.js";
|
|
4
|
+
import { n as StorageBackend } from "./storage-backend-DCYbOvTw.js";
|
|
5
5
|
import { GpsPoint, LatLong, Matrix4, RootState, Vector3 } from "gps-plus-slam-js";
|
|
6
6
|
import * as _$_reduxjs_toolkit0 from "@reduxjs/toolkit";
|
|
7
7
|
import { Middleware, Reducer, ReducersMapObject, configureStore } from "@reduxjs/toolkit";
|
|
8
|
+
import * as _$redux from "redux";
|
|
8
9
|
|
|
9
10
|
//#region ../src/state/combined-root-state.d.ts
|
|
10
11
|
type CombinedRootState = SlamAppCombinedState;
|
|
@@ -205,7 +206,7 @@ declare function computeGpsVsFusedDivergence(alignmentMatrix: Matrix4 | null, gp
|
|
|
205
206
|
declare const snapshotPushed: _$_reduxjs_toolkit0.ActionCreatorWithPayload<AlignmentSnapshot, "trackingQuality/snapshotPushed">, snapshotsTrimmed: _$_reduxjs_toolkit0.ActionCreatorWithPayload<{
|
|
206
207
|
size: number;
|
|
207
208
|
}, "trackingQuality/snapshotsTrimmed">, reportUpdated: _$_reduxjs_toolkit0.ActionCreatorWithPayload<TrackingQualityReport | null, "trackingQuality/reportUpdated">, degradedCountUpdated: _$_reduxjs_toolkit0.ActionCreatorWithPayload<number, "trackingQuality/degradedCountUpdated">, resetTrackingQuality: _$_reduxjs_toolkit0.ActionCreatorWithoutPayload<"trackingQuality/resetTrackingQuality">;
|
|
208
|
-
declare const trackingQualityReducer: _$
|
|
209
|
+
declare const trackingQualityReducer: _$redux.Reducer<TrackingQualitySliceState>;
|
|
209
210
|
interface RootWithTrackingQuality {
|
|
210
211
|
trackingQuality?: TrackingQualitySliceState;
|
|
211
212
|
}
|
|
@@ -329,7 +330,7 @@ interface SlamAppStoreOptions<ExtraReducers extends ReducersMapObject = Record<s
|
|
|
329
330
|
* override on. **For Stage-A/§6a field-calibration recordings, turn this OFF**
|
|
330
331
|
* (recorder settings) so the captured compass behaviour is unmodified.
|
|
331
332
|
*
|
|
332
|
-
* @see GpsPlusSlamJs_Docs/docs/2026-06-26-stage0-field-collection-and-enablement.md
|
|
333
|
+
* @see GpsPlusSlamJs_Docs/docs/2026-06-26-0701-stage0-field-collection-and-enablement.md
|
|
333
334
|
*/
|
|
334
335
|
enableCompassColdStartOverride?: boolean;
|
|
335
336
|
/**
|
|
@@ -348,6 +349,28 @@ interface SlamAppStoreOptions<ExtraReducers extends ReducersMapObject = Record<s
|
|
|
348
349
|
* `false` ⇒ byte-identical. The action persists into recordings.
|
|
349
350
|
*/
|
|
350
351
|
enableCompassWebXRConsistency?: boolean;
|
|
352
|
+
/**
|
|
353
|
+
* **Field-test flag (2026-07-19 enablement plan)** — enable the library's
|
|
354
|
+
* compass EXPERIMENT combo: Stage-C rotation prior + trust tolerance 15°
|
|
355
|
+
* (the census-backed activating value) + C′ compass-guided pair selection.
|
|
356
|
+
* Dispatches `setCompassExperimentEnabled(true)` once `gpsData` exists; the
|
|
357
|
+
* combo itself lives in the library (single boolean crosses the boundary).
|
|
358
|
+
* Default `false` ⇒ byte-identical. The action persists into recordings, so
|
|
359
|
+
* replays/censuses can attribute. Keep OFF for §6a calibration recordings.
|
|
360
|
+
*
|
|
361
|
+
* @see GpsPlusSlamJs_Docs/docs/2026-07-19-0813-compass-experiment-recorder-enablement-plan.md
|
|
362
|
+
*/
|
|
363
|
+
enableCompassExperiment?: boolean;
|
|
364
|
+
/**
|
|
365
|
+
* **Field-test flag** — enable the library's alternative robust-solver
|
|
366
|
+
* comparison arm (NOT a compass mechanism — a generic outlier-tolerant
|
|
367
|
+
* position fit, rejected as a default on the evaluation corpus but exposed
|
|
368
|
+
* for on-device A/B against the compass experiment; adds run-to-run
|
|
369
|
+
* variance by nature). Dispatches `setRobustSolverComparisonEnabled(true)`
|
|
370
|
+
* once `gpsData` exists. Default `false` ⇒ byte-identical. The action
|
|
371
|
+
* persists into recordings.
|
|
372
|
+
*/
|
|
373
|
+
enableRobustSolverComparison?: boolean;
|
|
351
374
|
}
|
|
352
375
|
/**
|
|
353
376
|
* Combined root state: the framework's base state plus any caller-supplied
|
|
@@ -369,6 +392,14 @@ interface SlamAppStore<ExtraReducers extends ReducersMapObject = Record<string,
|
|
|
369
392
|
writeFrame: (blob: Blob, index: number) => Promise<void>;
|
|
370
393
|
/** Persist session metadata (`session.json`) via the configured backend. */
|
|
371
394
|
writeSessionMetadata: (metadata: SessionMetadata) => Promise<void>;
|
|
395
|
+
/**
|
|
396
|
+
* Resolves once every action write queued by the persistence middleware
|
|
397
|
+
* has settled. The stop flow MUST await this before anything reads the
|
|
398
|
+
* session's `actions/` (final sync, ZIP export) — the write queue is
|
|
399
|
+
* async, so an action dispatched moments before Stop could otherwise
|
|
400
|
+
* land after the export enumerated the directory and miss the zip.
|
|
401
|
+
*/
|
|
402
|
+
flushPendingActionWrites: () => Promise<void>;
|
|
372
403
|
}
|
|
373
404
|
/**
|
|
374
405
|
* Build a Redux store wired with library + recording slices, persistence
|