arcore-android-sdk icon indicating copy to clipboard operation
arcore-android-sdk copied to clipboard

Anchor shifts

Open kaj777 opened this issue 3 years ago • 2 comments
trafficstars

SPECIFIC ISSUE ENCOUNTERED

I understand that camera poses change between frames, but I expect an anchor physical appearance in the real world should stay at the same spot. Eg: Tap on a table, the objects should stay at the same spot There is shifting around the anchor point (horizontally or vertically), sometimes it does resumes back to the original position in the following frames, back and forth. Sometimes it doesn't return to the original spot. Note: It doesn't happen on every session, but frequently.

Is this an expected behaviour or a bug?

STEPS TO REPRODUCE THE ISSUE

  1. Run plane detection, tap on a plane
  2. create an anchor with session?.createAnchor(firstHitResult.hitPose)
  3. create more anchors
  4. try move the camera near those anchors/ move away/ around
  5. anchor shifts off the original spot in the real world ( not too far away, but it's obvious), especially when camera is close to it

I was able to reproduce another scenario with the following steps:

  1. create an anchor on a plane with tap
  2. encounter tracking error (cover the camera to enter tracking failure)
  3. wait few seconds
  4. rotate camera to the right side pointing another area of the room
  5. uncover the camera
  6. anchor is now at the new position(this is a big shift)

VERSIONS USED

  • Android Studio: Arctic Fox

  • ARCore SDK for Android: 1.29

  • Device manufacturer, model, and O/S: Samsung S8 and other devices

  • Google Play Services for AR (ARCore):
    Packages: versionName=1.29.213210223 Hidden system packages: versionName=0

  • Output of adb shell getprop ro.build.fingerprint: samsung/dreamltexx/dreamlte:9/PPR1.180610.011/G950FXXSBDUA4:user/release-keys

WORKAROUNDS (IF ANY)

ADDITIONAL COMMENTS

kaj777 avatar Feb 24 '22 14:02 kaj777

@devbridie could you advise the behaviour? thanks

kaj777 avatar Feb 24 '22 15:02 kaj777

+1 for this issue

raju535482 avatar Jun 12 '23 16:06 raju535482