- Platform category: Swift
- Device Model & OS version: iPhone 15 Pro
- NSDK version: SwiftyNsdk 4.0 Beta
Hi,
I’m using the NSDK Swift sample project (VPS2 sample) with an indoor scan and can’t get the anchor to reach .tracked state.
Setup:
- NSDK Swift sample project (from GitHub)
- iPhone 15 Pro with LiDAR
- Indoor scan uploaded via Scaniverse (~1 min)
- Site set to production in Geospatial Browser
- Anchor payload pasted into VPS2ViewController.swift
What works:
- Scaniverse’s “Localize” feature successfully localizes at the same location (shows blue mesh overlay)
- VPS2 coarse localization works (transformer reaches .coarse)
- Anchor ID is returned from trackAnchor
What doesn’t work:
- VPS2 sample shows: “VPS2 State: coarse, Anchor Update: No anchors tracked”
- Anchor stays at .limited (confidence 0.4), never reaches .tracked
- NSDK logs repeat:
map node 0x917F… is not connected to live node 0x…
Can’t resolve anchor global pose because m_LastGeoReferencedPosition is nullptr!
Question:
Since Scaniverse localizes fine at the same location, is there something additional needed for the VPS2 sample to achieve precise localization?
This might be related to: iOS VPS demo app doesn't relocalize
Thanks for the support.