New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Displaying Covariance in the Render loop #1218
Comments
If the pose is null, it means ARKit cannot output a pose, so the mapping node will likely ignore updating and the rtabmapEvents will be empty till the pose can be recomputed. Do you mean that if ArKit tracking state is in any other state than "normal", you would still want a covariance value? rtabmap/app/ios/RTABMapApp/ViewController.swift Lines 979 to 1014 in a11ea29
In that code, we won't forward any pose to rtabmap if the tracking is not normal. |
Hi @matlabbe, yes that's the hope to continue computing covariances based on updated pose from ARKit. I've verified in the I've narrowed down to the rtabmap/app/ios/RTABMapApp/RTABMap.swift Line 248 in 81e249b
I then create an
Trying to bypass this portion correctly without compromising any pose estimation embedded inside: rtabmap/app/android/jni/RTABMapApp.cpp Line 3748 in 81e249b
The problem with this is |
Can you keep the rgb data as usual? The rgb frame I think should be always available. |
Hello, I would like to display the
localizationCovariance
computed after thertabmapEvents_
has some values in the list in theRender
loop so I could display the value onto the iPhone screen (and maybe create a sphereical covariance visualization).The goal is to help visualize how well (or uncertain) the pose estimation is on each update, and in events of high covariance (drift), I would want to just trust the angular rotation so that the orientation is maintained, then re-estimate the linear motion after covariance is reduced from loop-closure, better lighting in the environment, or normal motion by the user.
In the render loop, I've added some code to read the
localizationCovariance
from thertabmapEvents_
which is a list that only gets appended when there's activity happening. However, when camera is in abnormal state (insufficient feature, accessive motion), thertabmapEvents_
no longer gets called nor adds any values into it and the list renders size of 0.The text was updated successfully, but these errors were encountered: