我正在使用 ARCore 和 Sceneform。当我的应用程序尝试跟踪图像时,我收到很多错误消息。一切正常,除了我在应用程序的长时间运行中表现不佳,我认为这可能与这些错误消息有关。
也许我需要以某种方式调节跟踪间隔?
以下是这些消息的截图:
I/native: plane_detection_manager.cc:204 Failed to get device pose.
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
I/native: distribute.cc:92 No keypoints to prune.
I/native: plane_detection_manager.cc:204 Failed to get device pose.
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
I/native: distribute.cc:92 No keypoints to prune.
I/native: plane_detection_manager.cc:204 Failed to get device pose.
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
I/native: distribute.cc:92 No keypoints to prune.
I/native: image_target_detector.cc:187 Input query has too few keypoints.
E/native: planar_target_tracking_manager.cc:353 generic::unavailable: redwood::FAILED_PRECONDITION: VIO is not tracking
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
I/native: plane_detection_manager.cc:204 Failed to get device pose.
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
我在以下配置下运行 sceneform 并使用增强的图像数据库:
config.setUpdateMode(Config.UpdateMode.LATEST_CAMERA_IMAGE);
config.setFocusMode(Config.FocusMode.AUTO);