Tango: kill camera instead of join to avoid lag when clicking pause

This commit is contained in:
matlabbe
2017-10-09 13:05:41 -04:00
parent 4de2ed767b
commit 66e79e23cb
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
<!-- BEGIN_INCLUDE(manifest) -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.introlab.rtabmap"
android:versionCode="63"
android:versionCode="64"
android:versionName="@RTABMAP_VERSION@">
<uses-permission android:name="android.permission.CAMERA" />

View File

@@ -1736,7 +1736,7 @@ void RTABMapApp::setPausedMapping(bool paused)
if(paused_)
{
LOGW("Pause!");
camera_->join(true);
camera_->kill();
}
else
{