Added AR mapping mode (select ARCore ndk driver and set first person view)

This commit is contained in:
matlabbe
2020-06-29 15:24:35 -04:00
parent 542f06ec24
commit 4142ff003c
12 changed files with 376 additions and 225 deletions
@@ -1265,7 +1265,7 @@ public class RTABMapActivity extends FragmentActivity implements OnClickListener
{
if((mState==State.STATE_IDLE || mState==State.STATE_WELCOME) && mCameraDriver == 1)
{
mToast.makeText(getApplicationContext(), "Currently ARCore NDK driver doesn't support depth, only poses and RGB images can be recorded.", mToast.LENGTH_LONG).show();
mToast.makeText(getApplicationContext(), "Currently ARCore NDK driver doesn't support depth, only poses, RGB images and 3d features can be recorded.", mToast.LENGTH_LONG).show();
}
updateState(mState==State.STATE_VISUALIZING?State.STATE_VISUALIZING_CAMERA:State.STATE_CAMERA);
if(mState==State.STATE_VISUALIZING_CAMERA && mItemLocalizationMode.isChecked())