Public Member Functions | Static Public Attributes | Protected Member Functions | Package Attributes | Private Member Functions | Private Attributes | Static Private Attributes
com.introlab.rtabmap.RTABMapActivity Class Reference
Inheritance diagram for com.introlab.rtabmap.RTABMapActivity:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void onClick (View v)
boolean onCreateOptionsMenu (Menu menu)
boolean onOptionsItemSelected (MenuItem item)
boolean onTouchEvent (MotionEvent event)
void rtabmapInitEventCallback (final int status, final String msg)
void tangoEventCallback (final int type, final String key, final String value)
void updateStatsCallback (final int nodes, final int words, final int points, final int polygons, final float updateTime, final int loopClosureId, final int highestHypId, final int databaseMemoryUsed, final int inliers, final int features, final float hypothesis, final int nodesDrawn, final float fps, final int rejected)

Static Public Attributes

static final String EXTRA_KEY_PERMISSIONTYPE = "PERMISSIONTYPE"
static final String EXTRA_VALUE_ADF = "ADF_LOAD_SAVE_PERMISSION"

Protected Member Functions

void onActivityResult (int requestCode, int resultCode, Intent data)
void onCreate (Bundle savedInstanceState)
void onPause ()
void onResume ()

Package Attributes

final String[] mLoopThrValues = {"Disabled", "0.11", "0.20", "0.30", "0.40", "0.50", "0.60", "0.70", "0.80", "0.90"}
final String[] mMaxFeaturesValues = {"Disabled", "100", "200", "300", "400", "500", "600", "700", "800", "900", "1000", "No Limit"}
final String[] mOptimizeErrorValues = {"Disabled", "0.01", "0.025", "0.05", "0.1", "0.2", "0.35", "0.5", "1"}
ProgressDialog mProgressDialog
ServiceConnection mTangoServiceConnection
final String[] mTimeThrValues = {"400", "500", "600", "700", "800", "900", "1000", "1100", "1200", "1300", "1400", "1500", "No Limit"}
final String[] mUpdateRateValues = {"0.5", "1", "2", "Max"}

Private Member Functions

boolean CheckTangoCoreVersion (int minVersion)
RTABMapActivity getActivity ()
String[] loadFileList (String directory)
void rtabmapInitEventUI (int status, String msg)
void tangoEventUI (int type, String key, String value)
void updateStatsUI (int nodes, int words, int points, int polygons, float updateTime, int loopClosureId, int highestHypId, int databaseMemoryUsed, int inliers, int featuresExtracted, float hypothesis, int nodesDrawn, float fps, int rejected)

Private Attributes

GLSurfaceView mGLView
MenuItem mItemExport
MenuItem mItemLocalizationMode
MenuItem mItemOpen
MenuItem mItemPause
MenuItem mItemPostProcessing
MenuItem mItemSave
MenuItem mItemTrajectoryMode
LinearLayout mLayoutDebug
int mMaxDepthIndex = 5
int mMeshAngleToleranceIndex = 1
int mMeshTriangleSizeIndex = 0
String mNewDatabasePath = ""
String mOpenedDatabasePath = ""
int mParamLoopThrMsIndex = 1
int mParamMaxFeaturesIndex = 4
int mParamOptimizeErrorIndex = 3
int mParamTimeThrMsIndex = 4
int mParamUpdateRateHzIndex = 1
Renderer mRenderer
Point mScreenSize = new Point()
String mTempDatabasePath = ""
Toast mToast = null
int mTotalLoopClosures = 0
String mWorkingDirectory = ""

Static Private Attributes

static final int MIN_TANGO_CORE_VERSION = 6804
static final String TAG = RTABMapActivity.class.getSimpleName()
static final String TANGO_PACKAGE_NAME = "com.projecttango.tango"

Detailed Description

Definition at line 46 of file RTABMapActivity.java.


Member Function Documentation

boolean com.introlab.rtabmap.RTABMapActivity.CheckTangoCoreVersion ( int  minVersion) [inline, private]

Definition at line 591 of file RTABMapActivity.java.

Definition at line 604 of file RTABMapActivity.java.

String [] com.introlab.rtabmap.RTABMapActivity.loadFileList ( String  directory) [inline, private]

Definition at line 606 of file RTABMapActivity.java.

void com.introlab.rtabmap.RTABMapActivity.onActivityResult ( int  requestCode,
int  resultCode,
Intent  data 
) [inline, protected]

Definition at line 201 of file RTABMapActivity.java.

Definition at line 257 of file RTABMapActivity.java.

void com.introlab.rtabmap.RTABMapActivity.onCreate ( Bundle  savedInstanceState) [inline, protected]

Definition at line 124 of file RTABMapActivity.java.

Definition at line 306 of file RTABMapActivity.java.

Definition at line 633 of file RTABMapActivity.java.

void com.introlab.rtabmap.RTABMapActivity.onPause ( ) [inline, protected]

Definition at line 244 of file RTABMapActivity.java.

void com.introlab.rtabmap.RTABMapActivity.onResume ( ) [inline, protected]

Definition at line 214 of file RTABMapActivity.java.

boolean com.introlab.rtabmap.RTABMapActivity.onTouchEvent ( MotionEvent  event) [inline]

Definition at line 275 of file RTABMapActivity.java.

void com.introlab.rtabmap.RTABMapActivity.rtabmapInitEventCallback ( final int  status,
final String  msg 
) [inline]

Definition at line 515 of file RTABMapActivity.java.

void com.introlab.rtabmap.RTABMapActivity.rtabmapInitEventUI ( int  status,
String  msg 
) [inline, private]

Definition at line 403 of file RTABMapActivity.java.

void com.introlab.rtabmap.RTABMapActivity.tangoEventCallback ( final int  type,
final String  key,
final String  value 
) [inline]

Definition at line 576 of file RTABMapActivity.java.

void com.introlab.rtabmap.RTABMapActivity.tangoEventUI ( int  type,
String  key,
String  value 
) [inline, private]

"TangoServiceException:X" - The service has encountered an exception, and a text description is given in X. "FisheyeOverExposed:X" - the fisheye image is over exposed with average pixel value X px. "FisheyeUnderExposed:X" - the fisheye image is under exposed with average pixel value X px. "ColorOverExposed:X" - the color image is over exposed with average pixel value X px. "ColorUnderExposed:X" - the color image is under exposed with average pixel value X px. "TooFewFeaturesTracked:X" - too few features were tracked in the fisheye image. The number of features tracked is X. "AreaDescriptionSaveProgress:X" - ADF saving is X * 100 percent complete. "Unknown"

Definition at line 528 of file RTABMapActivity.java.

void com.introlab.rtabmap.RTABMapActivity.updateStatsCallback ( final int  nodes,
final int  words,
final int  points,
final int  polygons,
final float  updateTime,
final int  loopClosureId,
final int  highestHypId,
final int  databaseMemoryUsed,
final int  inliers,
final int  features,
final float  hypothesis,
final int  nodesDrawn,
final float  fps,
final int  rejected 
) [inline]

Definition at line 378 of file RTABMapActivity.java.

void com.introlab.rtabmap.RTABMapActivity.updateStatsUI ( int  nodes,
int  words,
int  points,
int  polygons,
float  updateTime,
int  loopClosureId,
int  highestHypId,
int  databaseMemoryUsed,
int  inliers,
int  featuresExtracted,
float  hypothesis,
int  nodesDrawn,
float  fps,
int  rejected 
) [inline, private]

Definition at line 327 of file RTABMapActivity.java.


Member Data Documentation

final String com.introlab.rtabmap.RTABMapActivity.EXTRA_KEY_PERMISSIONTYPE = "PERMISSIONTYPE" [static]

Definition at line 57 of file RTABMapActivity.java.

final String com.introlab.rtabmap.RTABMapActivity.EXTRA_VALUE_ADF = "ADF_LOAD_SAVE_PERMISSION" [static]

Definition at line 58 of file RTABMapActivity.java.

Definition at line 63 of file RTABMapActivity.java.

Definition at line 52 of file RTABMapActivity.java.

Definition at line 74 of file RTABMapActivity.java.

Definition at line 75 of file RTABMapActivity.java.

Definition at line 72 of file RTABMapActivity.java.

Definition at line 70 of file RTABMapActivity.java.

Definition at line 73 of file RTABMapActivity.java.

Definition at line 71 of file RTABMapActivity.java.

Definition at line 76 of file RTABMapActivity.java.

Definition at line 99 of file RTABMapActivity.java.

final String [] com.introlab.rtabmap.RTABMapActivity.mLoopThrValues = {"Disabled", "0.11", "0.20", "0.30", "0.40", "0.50", "0.60", "0.70", "0.80", "0.90"} [package]

Definition at line 96 of file RTABMapActivity.java.

Definition at line 83 of file RTABMapActivity.java.

final String [] com.introlab.rtabmap.RTABMapActivity.mMaxFeaturesValues = {"Disabled", "100", "200", "300", "400", "500", "600", "700", "800", "900", "1000", "No Limit"} [package]

Definition at line 95 of file RTABMapActivity.java.

Definition at line 84 of file RTABMapActivity.java.

Definition at line 85 of file RTABMapActivity.java.

Definition at line 80 of file RTABMapActivity.java.

Definition at line 78 of file RTABMapActivity.java.

final String [] com.introlab.rtabmap.RTABMapActivity.mOptimizeErrorValues = {"Disabled", "0.01", "0.025", "0.05", "0.1", "0.2", "0.35", "0.5", "1"} [package]

Definition at line 97 of file RTABMapActivity.java.

Definition at line 90 of file RTABMapActivity.java.

Definition at line 89 of file RTABMapActivity.java.

Definition at line 91 of file RTABMapActivity.java.

Definition at line 88 of file RTABMapActivity.java.

Definition at line 87 of file RTABMapActivity.java.

Definition at line 65 of file RTABMapActivity.java.

Definition at line 62 of file RTABMapActivity.java.

Point com.introlab.rtabmap.RTABMapActivity.mScreenSize = new Point() [private]

Definition at line 68 of file RTABMapActivity.java.

Initial value:
 new ServiceConnection() {
     public void onServiceConnected(ComponentName name, IBinder service) {
       if(!RTABMapLib.onTangoServiceConnected(service))
       {
           mToast.makeText(getApplicationContext(), 
                                String.format("Failed to intialize Tango!"), mToast.LENGTH_SHORT).show();
       }
     }

     public void onServiceDisconnected(ComponentName name) {
       
       
       mToast.makeText(getApplicationContext(), 
                                String.format("Tango disconnected!"), mToast.LENGTH_SHORT).show();
     }
   }

Definition at line 106 of file RTABMapActivity.java.

Definition at line 79 of file RTABMapActivity.java.

final String [] com.introlab.rtabmap.RTABMapActivity.mTimeThrValues = {"400", "500", "600", "700", "800", "900", "1000", "1100", "1200", "1300", "1400", "1500", "No Limit"} [package]

Definition at line 94 of file RTABMapActivity.java.

Definition at line 103 of file RTABMapActivity.java.

Definition at line 101 of file RTABMapActivity.java.

final String [] com.introlab.rtabmap.RTABMapActivity.mUpdateRateValues = {"0.5", "1", "2", "Max"} [package]

Definition at line 93 of file RTABMapActivity.java.

Definition at line 81 of file RTABMapActivity.java.

final String com.introlab.rtabmap.RTABMapActivity.TAG = RTABMapActivity.class.getSimpleName() [static, private]

Definition at line 49 of file RTABMapActivity.java.

final String com.introlab.rtabmap.RTABMapActivity.TANGO_PACKAGE_NAME = "com.projecttango.tango" [static, private]

Definition at line 55 of file RTABMapActivity.java.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Sat Jul 23 2016 11:44:31