GithubHelp home page GithubHelp logo

Comments (5)

sammcd avatar sammcd commented on September 4, 2024

Hello! And sorry you are running into this issue.

That error means that we don't think ARKit is tracking properly, but you already mentioned that have confirmed that it is.

Are you callingself.gSession's update: method with the current frame? We have an example of how to do this in our developer guide here: https://developers.google.com/ar/develop/ios/cloud-anchors-developer-guide-ios under the "Passing ARFrames to the GARSession" section.

from arcore-ios-sdk.

SavinovJr avatar SavinovJr commented on September 4, 2024

yes, I do it like this:

-(void)session:(ARSession *)arSession didUpdateFrame:(ARFrame *)arFrame { [self.gSession update:arFrame error:nil]; }

from arcore-ios-sdk.

SavinovJr avatar SavinovJr commented on September 4, 2024

@sammcd Hi. Do you have any updates/suggestions for this issue?

from arcore-ios-sdk.

sammcd avatar sammcd commented on September 4, 2024

Apologies for the slow response time, and thanks for following up!

I reviewed our code for every case that this error message can be returned, and it really looks like our library is not getting ARFrames that are in a good tracking state. Here are the next steps I would take to debug.

  1. Confirm that the ARSession's delegate is set and session:didUpdateFrame: is getting called by logging something.
  2. NSLog out the ARFrame's tracking state right before you call our update:error: method. I would look to check that the tracking state is good right before your host call.

Please let me know if that helps out at all or if you still get the same error.

from arcore-ios-sdk.

SavinovJr avatar SavinovJr commented on September 4, 2024

@sammcd , Hi. You will smile but I forgot set ARSession's delegate. It was my fault. For now I get the correct cloud anchor in
- (void)session:(GARSession *)session didHostAnchor:(GARAnchor *)anchor

Thanks for your time. I will close it.

from arcore-ios-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.