mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
Tango: kill camera instead of join to avoid lag when clicking pause
This commit is contained in:
@@ -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" />
|
||||
|
||||
@@ -1736,7 +1736,7 @@ void RTABMapApp::setPausedMapping(bool paused)
|
||||
if(paused_)
|
||||
{
|
||||
LOGW("Pause!");
|
||||
camera_->join(true);
|
||||
camera_->kill();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user