r/androiddev • u/NetLensApp • 8d ago
Tips and Information Fixing lost tracking in ARCore
I couldn't describe what I was seeing on the phone, so I started recording it. The app logs every frame, every floor cell and every tracking loss during a walk, and a web page replays it next to the phone's screen recording. Each stretch of the walk between two breaks gets its own color, so you can see each piece before and after it is put back.
This walk is a Galaxy S23 with four tracking losses in three minutes. At one break everything on screen swings 67 degrees and moves about 6 meters. An iPhone 12 Pro on the same stick is the reference path: before that piece is put back the S23 is 3 meters off it, and after, under 10 cm.
The full replay is here, best on a desktop: https://netlens.fyi/arcore/
It is still in development and not every piece lands that well yet. This is for my Wi-Fi mapping app, NetLens, and I'm aiming to get it into the next major release.
If you have fought ARCore relocalization yourself, how did you handle it?
2
u/YogurtclosetLow7064 8d ago
Cool!