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

GetRecentDevicePose failed. INVALID_ARGUMENT: Passed timestamp is too new

Open Safreliy opened this issue 3 years ago • 6 comments

Hi everyone. By some reason, when I'm creating my ArActivity half of the times there apears trouble with plane detection and this warning message infenetely appears. But half of the times it works properly. What could be the reason of such a behaviour?

W/native: W0121 15:02:57.469664   17493 pose_manager.cc:66] GetRecentDevicePose failed. INVALID_ARGUMENT: Passed timestamp is too new. [mtc.pose_node.latest_imu_timestamp_ns='2776603217474551']
    === Source Location Trace: ===
    third_party/redwood/perception/pose_manager/pose_manager.cc:395
     Latest VIO t: 771h16m43.158771118s, latest IMU t: 771h16m43.217474551s, query t:771h16m43.391953098s

You can see, that "query" is bigger than "latest"

VERSIONS USED

  • ARCore SDK for Android: 1.29.0
  • Device model: Xiaomi mi 10

Other issues with similar problem either remained unanswered or did not help

Safreliy avatar Jan 21 '22 12:01 Safreliy

After some time of debugging i found, that this message appears after this line of code Frame frame = session.update(); in the ArSceneView.java

Safreliy avatar Jan 21 '22 13:01 Safreliy

One more observation: when i set "bad" config for my camera device: session.setCameraConfig(cameraConfigList.get(1)); instead of session.setCameraConfig(cameraConfigList.get(0)); framerate drops, but detection works in 100% cases. Any ideas?

Safreliy avatar Jan 24 '22 14:01 Safreliy

Any suggestions, please? Maybe problem is with camera api?

Safreliy avatar Jan 26 '22 12:01 Safreliy

Same issue here:

W/native: W0201 09:33:16.070601   12573 pose_manager.cc:66] GetRecentDevicePose failed. INVALID_ARGUMENT: Passed timestamp is too new. [mtc.pose_node.latest_imu_timestamp_ns='1899936825346783'] === Source Location Trace: === third_party/redwood/perception/pose_manager/pose_manager.cc:395 Latest VIO t: -1ns, latest IMU t: 527h45m36.825346783s, query t:527h45m37.382204571s

idstein avatar Feb 01 '22 10:02 idstein

We are having the same issue. Did you get any kind of resolution @Safreliy ?

W0000 00:00:1687191793.232697 31237 pose_manager.cc:60] GetRecentDevicePose failed. INVALID_ARGUMENT: Passed timestamp is too new. [mtc.pose_node.latest_imu_timestamp_ns='150039202407918'

ARCore info:

06-19 12:23:11.415 31148 31184 I third_party/arcore/ar/core/android/sdk/session_create.cc: ARCore Version: SDK build name: 1.22 06-19 12:23:11.417 31148 31184 I third_party/arcore/ar/core/android/sdk/session_create.cc: ARCore Version: APK version code: 231000433

grk101 avatar Jun 19 '23 16:06 grk101

Unfortunately no 😔

Safreliy avatar Jun 19 '23 17:06 Safreliy