mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Tango: 0.12.0 (performance optimization, time and memory)
This commit is contained in:
@@ -23,263 +23,6 @@
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_gravity="top" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/status_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="5dp" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/status" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/status"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/memory" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/memory"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/free_memory" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/free_memory"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/debug_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:orientation="vertical"
|
||||
android:layout_below="@+id/status_layout"
|
||||
android:paddingLeft="5dp" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/nodes" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/nodes"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/words" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/words"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/database_size" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/database_size"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/points" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/points"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/polygons" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/polygons"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/update_time" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/update_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/features" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/features"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/rehearsal" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/rehearsal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/total_loop" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/total_loop"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/inliers" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/inliers"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/hypothesis" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/hypothesis"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/fps" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fps"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ToggleButton
|
||||
android:id="@+id/backface_button"
|
||||
android:layout_width="100dp"
|
||||
|
||||
@@ -68,6 +68,11 @@
|
||||
android:title="@string/pref_title_resolution"
|
||||
android:summary="@string/pref_summary_resolution"
|
||||
android:defaultValue="@string/pref_default_resolution"/>
|
||||
<SwitchPreference
|
||||
android:key="@string/pref_key_smoothing"
|
||||
android:title="@string/pref_title_smoothing"
|
||||
android:summary="@string/pref_summary_smoothing"
|
||||
android:defaultValue="@string/pref_default_smoothing"/>
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/pref_title_mapping_core">
|
||||
|
||||
@@ -11,7 +11,12 @@
|
||||
|
||||
<item android:id="@+id/export" android:showAsAction="ifRoom" android:title="Export">
|
||||
<menu>
|
||||
<item android:id="@+id/export_point_cloud" android:title="Point Cloud" />
|
||||
<item android:id="@+id/export_point_cloud_menu" android:title="Point Cloud">
|
||||
<menu>
|
||||
<item android:id="@+id/export_point_cloud" android:title="Current Density" />
|
||||
<item android:id="@+id/export_point_cloud_highrez" android:title="Max Density" />
|
||||
</menu>
|
||||
</item>
|
||||
<item android:id="@+id/export_mesh_menu" android:title="Raw Mesh..." >
|
||||
<menu>
|
||||
<item android:id="@+id/export_mesh" android:title="Colored Mesh" />
|
||||
@@ -49,6 +54,7 @@
|
||||
<item android:id="@+id/menu_rendering_settings" android:title="Visibility...">
|
||||
<menu >
|
||||
<group android:id="@+id/group_rendering_visibility" android:checkableBehavior="all">
|
||||
<item android:id="@+id/status" android:checked="true" android:title="Status" />
|
||||
<item android:id="@+id/debug" android:checked="false" android:title="Debug" />
|
||||
<item android:id="@+id/map_shown" android:checked="true" android:title="Map Visible" />
|
||||
<item android:id="@+id/odom_shown" android:checked="true" android:title="Odom Visible" />
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<string name="light_on">Lighting</string>
|
||||
<string name="light_off">Lighting</string>
|
||||
<string name="close_visualization">Close Visualization</string>
|
||||
<string name="save_to_file">Save to File…</string>
|
||||
<string name="save_to_file">Export to File…</string>
|
||||
<string name="share_to_sketchfab">Share to Sketchfab…</string>
|
||||
<string name="start">Start</string>
|
||||
<string name="nodes">"Nodes (WM): "</string>
|
||||
@@ -30,22 +30,22 @@
|
||||
<string name="total_loop">"Loop closures: "</string>
|
||||
<string name="inliers">"Inliers: "</string>
|
||||
<string name="features">"Features: "</string>
|
||||
<string name="rehearsal">"Rehearsal: "</string>
|
||||
<string name="rehearsal">"Rehearsal (%): "</string>
|
||||
<string name="polygons">"Polygons: "</string>
|
||||
<string name="memory">"Used Memory (MB): "</string>
|
||||
<string name="hypothesis">"Hypothesis: "</string>
|
||||
<string name="hypothesis">"Hypothesis (%): "</string>
|
||||
<string name="fps">"FPS (rendering): "</string>
|
||||
|
||||
<!-- Preference keys: BEGIN -->
|
||||
<string name="pref_key_tags">pref_key_tags</string>
|
||||
<string name="pref_default_tags">rtabmap</string>
|
||||
<string name="pref_default_tags">rtabmap 3dscan</string>
|
||||
<string name="pref_key_rendering">pref_key_rendering</string>
|
||||
<string name="pref_default_rendering">2</string>
|
||||
<string name="pref_key_reset_button">pref_key_reset_button</string>
|
||||
<string name="pref_key_density">pref_key_density</string>
|
||||
<string name="pref_default_density">1</string>
|
||||
<string name="pref_key_depth">pref_key_depth</string>
|
||||
<string name="pref_default_depth">0</string>
|
||||
<string name="pref_default_depth">2.5</string>
|
||||
<string name="pref_key_point_size">pref_key_point_size</string>
|
||||
<string name="pref_default_point_size">5</string>
|
||||
<string name="pref_key_angle">pref_key_angle</string>
|
||||
@@ -60,6 +60,8 @@
|
||||
<string name="pref_default_auto_exposure">true</string>
|
||||
<string name="pref_key_resolution">pref_key_resolution</string>
|
||||
<string name="pref_default_resolution">false</string>
|
||||
<string name="pref_key_smoothing">pref_key_smoothing</string>
|
||||
<string name="pref_default_smoothing">true</string>
|
||||
|
||||
<string name="pref_key_update_rate">pref_key_update_rate</string>
|
||||
<string name="pref_default_update_rate">1</string>
|
||||
@@ -93,7 +95,7 @@
|
||||
<string name="pref_default_db_in_memory">true</string>
|
||||
|
||||
<string name="pref_key_cloud_voxel">pref_key_cloud_voxel</string>
|
||||
<string name="pref_default_cloud_voxel">0.01</string>
|
||||
<string name="pref_default_cloud_voxel">0</string>
|
||||
<string name="pref_key_texture_size">pref_key_texture_size</string>
|
||||
<string name="pref_default_texture_size">4096</string>
|
||||
<string name="pref_key_normal_k">pref_key_normal_k</string>
|
||||
@@ -145,17 +147,25 @@
|
||||
<string-array name="pref_depth_keys">
|
||||
<item>"No Limit"</item>
|
||||
<item>"5"</item>
|
||||
<item>"4.5"</item>
|
||||
<item>"4"</item>
|
||||
<item>"3.5"</item>
|
||||
<item>"3"</item>
|
||||
<item>"2.5"</item>
|
||||
<item>"2"</item>
|
||||
<item>"1.5"</item>
|
||||
<item>"1"</item>
|
||||
</string-array>
|
||||
<string-array name="pref_depth_values">
|
||||
<item>"0"</item>
|
||||
<item>"5"</item>
|
||||
<item>"4.5"</item>
|
||||
<item>"4"</item>
|
||||
<item>"3.5"</item>
|
||||
<item>"3"</item>
|
||||
<item>"2.5"</item>
|
||||
<item>"2"</item>
|
||||
<item>"1.5"</item>
|
||||
<item>"1"</item>
|
||||
</string-array>
|
||||
<string-array name="pref_point_size_values">
|
||||
@@ -208,6 +218,8 @@
|
||||
<string name="pref_summary_auto_exposure">Adjust camera exposure depending on the lighting to get always maximum contrast. This may change texture color between scanned images. Color correction option in Post-Processing can help to uniformize colors. May not work on some devices.</string>
|
||||
<string name="pref_title_resolution">HD Mode</string>
|
||||
<string name="pref_summary_resolution">Save HD images if you want very detailed textures. More memory will be required.</string>
|
||||
<string name="pref_title_smoothing">Smoothing</string>
|
||||
<string name="pref_summary_smoothing">Smooth the point clouds.</string>
|
||||
<string name="pref_title_update_rate">Update Rate</string>
|
||||
<string name="pref_summary_update_rate">Rate at which a new node is added to map.</string>
|
||||
<string name="pref_title_time_thr">Time Limit</string>
|
||||
@@ -460,7 +472,7 @@
|
||||
<item>"0"</item>
|
||||
</string-array>
|
||||
|
||||
<string name="pref_title_export_sub">Exporting...</string>
|
||||
<string name="pref_title_export_sub">Exporting…</string>
|
||||
<string name="pref_title_export">Exporting</string>
|
||||
<string name="pref_summary_export">Advanced parameters used when exporting the map.</string>
|
||||
<string name="pref_title_cloud_voxel">Voxel Size</string>
|
||||
|
||||
Reference in New Issue
Block a user