Static Public Member Functions | Static Public Attributes | List of all members
com.introlab.rtabmap.TangoInitializationHelper Class Reference

Static Public Member Functions

static final boolean bindTangoService (final Context context, ServiceConnection connection)
 
static final int loadTangoSharedLibrary ()
 

Static Public Attributes

static final int ARCH_ARM32 = 2
 
static final int ARCH_ARM64 = 1
 
static final int ARCH_DEFAULT = 0
 
static final int ARCH_ERROR = -2
 
static final int ARCH_FALLBACK = -1
 
static final int ARCH_X86 = 4
 
static final int ARCH_X86_64 = 3
 

Detailed Description

Functions for simplifying the process of initializing TangoService, and function handles loading correct libtango_client_api.so.

Definition at line 34 of file TangoInitializationHelper.java.

Member Function Documentation

◆ bindTangoService()

static final boolean com.introlab.rtabmap.TangoInitializationHelper.bindTangoService ( final Context  context,
ServiceConnection  connection 
)
inlinestatic

Only for apps using the C API: Initializes the underlying TangoService for native apps.

Returns
returns false if the device doesn't have the Tango running as Android Service. Otherwise ture.

Definition at line 50 of file TangoInitializationHelper.java.

◆ loadTangoSharedLibrary()

static final int com.introlab.rtabmap.TangoInitializationHelper.loadTangoSharedLibrary ( )
inlinestatic

Load the libtango_client_api.so library based on different Tango device setup.

Returns
returns the loaded architecture id.

Definition at line 80 of file TangoInitializationHelper.java.

Member Data Documentation

◆ ARCH_ARM32

final int com.introlab.rtabmap.TangoInitializationHelper.ARCH_ARM32 = 2
static

Definition at line 39 of file TangoInitializationHelper.java.

◆ ARCH_ARM64

final int com.introlab.rtabmap.TangoInitializationHelper.ARCH_ARM64 = 1
static

Definition at line 38 of file TangoInitializationHelper.java.

◆ ARCH_DEFAULT

final int com.introlab.rtabmap.TangoInitializationHelper.ARCH_DEFAULT = 0
static

Definition at line 37 of file TangoInitializationHelper.java.

◆ ARCH_ERROR

final int com.introlab.rtabmap.TangoInitializationHelper.ARCH_ERROR = -2
static

Definition at line 35 of file TangoInitializationHelper.java.

◆ ARCH_FALLBACK

final int com.introlab.rtabmap.TangoInitializationHelper.ARCH_FALLBACK = -1
static

Definition at line 36 of file TangoInitializationHelper.java.

◆ ARCH_X86

final int com.introlab.rtabmap.TangoInitializationHelper.ARCH_X86 = 4
static

Definition at line 41 of file TangoInitializationHelper.java.

◆ ARCH_X86_64

final int com.introlab.rtabmap.TangoInitializationHelper.ARCH_X86_64 = 3
static

Definition at line 40 of file TangoInitializationHelper.java.


The documentation for this class was generated from the following file:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:26