Skip to content

Commit

Permalink
iOS: updated settings information (#1355)
Browse files Browse the repository at this point in the history
  • Loading branch information
matlabbe committed Oct 13, 2024
1 parent 465ea85 commit 17c2142
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 74 deletions.
6 changes: 3 additions & 3 deletions app/ios/RTABMapApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\nversion=\"$MARKETING_VERSION\"\n/usr/libexec/PlistBuddy -c \"Set PreferenceSpecifiers:22:DefaultValue $version\" \"${SRCROOT}/Settings.bundle/Root.plist\"\n";
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\nversion=\"$MARKETING_VERSION\"\n/usr/libexec/PlistBuddy -c \"Set PreferenceSpecifiers:21:DefaultValue $version\" \"${SRCROOT}/Settings.bundle/Root.plist\"\n";
};
/* End PBXShellScriptBuildPhase section */

Expand Down Expand Up @@ -1013,7 +1013,7 @@
"$(PROJECT_DIR)/RTABMapApp/Libraries/lib",
"$(PROJECT_DIR)/RTABMapApp/Libraries/share/OpenCV/3rdparty/lib",
);
MARKETING_VERSION = 0.21.7;
MARKETING_VERSION = 0.21.8;
OTHER_CFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.introlab.rtabmap;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -1070,7 +1070,7 @@
"$(PROJECT_DIR)/RTABMapApp/Libraries/lib",
"$(PROJECT_DIR)/RTABMapApp/Libraries/share/OpenCV/3rdparty/lib",
);
MARKETING_VERSION = 0.21.7;
MARKETING_VERSION = 0.21.8;
ONLY_ACTIVE_ARCH = YES;
OTHER_CFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.introlab.rtabmap;
Expand Down
36 changes: 32 additions & 4 deletions app/ios/Settings.bundle/Mapping.plist
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,34 @@
<key>DefaultValue</key>
<true/>
</dict>
<dict>
<key>Type</key>
<string>PSGroupSpecifier</string>
<key>FooterText</key>
<string>Choosing between high and low depth confidence depends on the application. If precise geometry is critical, prioritize high depth confidence even if it means fewer points. If you need a dense point cloud for analysis, even in areas with weak LiDAR signal, a lower depth confidence might be suitable at the cost of highly interpolated points (that could give a wavy look of some surfaces). Important: the points with too low confidence are not saved in the db file, so we cannot recover or filter these points in post-processing.</string>
</dict>
<dict>
<key>DefaultValue</key>
<integer>2</integer>
<key>Key</key>
<string>DepthConfidence</string>
<key>Title</key>
<string>Depth Confidence</string>
<key>Titles</key>
<array>
<string>High</string>
<string>Medium</string>
<string>Low</string>
</array>
<key>Type</key>
<string>PSMultiValueSpecifier</string>
<key>Values</key>
<array>
<integer>2</integer>
<integer>1</integer>
<integer>0</integer>
</array>
</dict>
<dict>
<key>Type</key>
<string>PSGroupSpecifier</string>
Expand All @@ -74,7 +102,7 @@
<key>Type</key>
<string>PSGroupSpecifier</string>
<key>FooterText</key>
<string>Filter ARKit's re-localization events to avoid jumps in odometry when creating a map with RTAB-Map, which would cause large drift errors that are difficult to correct. Set an acceleration threshold to detect those events.</string>
<string>Filter ARKit&apos;s re-localization events to avoid jumps in odometry when creating a map with RTAB-Map, which would cause large drift errors that are difficult to correct. Set an acceleration threshold to detect those events.</string>
</dict>
<dict>
<key>Type</key>
Expand Down Expand Up @@ -642,13 +670,13 @@
<key>Type</key>
<string>PSGroupSpecifier</string>
<key>FooterText</key>
<string>ArUco markers can be detected for localization and graph optimization.</string>
<string>ArUco or AprilTag markers can be detected for localization and graph optimization. Marker number should be &gt;0.</string>
</dict>
<dict>
<key>Type</key>
<string>PSMultiValueSpecifier</string>
<key>Title</key>
<string>ArUco Marker Detection</string>
<string>ArUco/AprilTag Marker Detection</string>
<key>Key</key>
<string>ArUcoMarkerDetection</string>
<key>DefaultValue</key>
Expand Down Expand Up @@ -814,7 +842,7 @@
<key>Type</key>
<string>PSGroupSpecifier</string>
<key>FooterText</key>
<string>The database is kept in RAM for fast access. Set to false to reduce RAM used at the cost of slower access. This parameter is applied on reset or when a database is opened.</string>
<string>The database is kept in RAM for fast access. Set to false to reduce RAM used at the cost of slower access. This parameter is applied on reset or when a database is opened. Important: if enabled, the database cannot be recovered in case of the App crashes for some reason (e.g., low battery).</string>
</dict>
<dict>
<key>Type</key>
Expand Down
112 changes: 45 additions & 67 deletions app/ios/Settings.bundle/Root.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<array>
<dict>
<key>FooterText</key>
<string>Decrease density to reduce rendering time and memory. Tip: To apply a different density to current map: save the map, change density and re-open the same map to regenerate the point clouds at this density. Points over the maximum depth, under minimum depth or under the depth confidence are not rendered.</string>
<string>Decrease density to reduce rendering time and memory. Points over the maximum depth or under minimum depth are not rendered. In all cases, the raw data is still saved in the db file, meaning that the the point cloud can be regenerated differently by changing these settings and by re-opening the scan in the Library.</string>
<key>Title</key>
<string>Rendering</string>
<key>Type</key>
Expand Down Expand Up @@ -60,7 +60,7 @@
<string>PSMultiValueSpecifier</string>
<key>Values</key>
<array>
<real>0</real>
<real>0.0</real>
<real>5</real>
<real>4.5</real>
<real>4</real>
Expand All @@ -74,7 +74,7 @@
</dict>
<dict>
<key>DefaultValue</key>
<real>0</real>
<real>0.0</real>
<key>Key</key>
<string>MinDepth</string>
<key>Title</key>
Expand All @@ -95,8 +95,8 @@
<string>PSMultiValueSpecifier</string>
<key>Values</key>
<array>
<real>0</real>
<real>0.3</real>
<real>0.0</real>
<real>0.29999999999999999</real>
<real>0.5</real>
<real>0.75</real>
<real>1</real>
Expand All @@ -106,31 +106,9 @@
<real>3</real>
</array>
</dict>
<dict>
<key>DefaultValue</key>
<integer>2</integer>
<key>Key</key>
<string>DepthConfidence</string>
<key>Title</key>
<string>Depth Confidence</string>
<key>Titles</key>
<array>
<string>High</string>
<string>Medium</string>
<string>Low</string>
</array>
<key>Type</key>
<string>PSMultiValueSpecifier</string>
<key>Values</key>
<array>
<integer>2</integer>
<integer>1</integer>
<integer>0</integer>
</array>
</dict>
<dict>
<key>FooterText</key>
<string>Increase minimum polygon angle to force scanning perpendicular to surfaces. Set a decimation factor to reduce the number of polygons. The higher the factor, the less polygons will remain. Note that the decimation factor is done after decreasing point cloud density. Decimation factor and texture resolution don&apos;t affect post-processing.</string>
<string>Increase minimum polygon angle to force scanning perpendicular to surfaces. Set a decimation factor to reduce the number of polygons. The higher the factor, the less polygons will remain. Note that the decimation factor is done after decreasing point cloud density. Decimation factor and texture resolution don't affect post-processing.</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
Expand Down Expand Up @@ -196,7 +174,7 @@
</dict>
<dict>
<key>DefaultValue</key>
<real>0</real>
<real>0.0</real>
<key>Key</key>
<string>MeshDecimationFactor</string>
<key>Title</key>
Expand All @@ -220,18 +198,18 @@
<string>PSMultiValueSpecifier</string>
<key>Values</key>
<array>
<real>0.99</real>
<real>0.95</real>
<real>0.9</real>
<real>0.8</real>
<real>0.7</real>
<real>0.6</real>
<real>0.98999999999999999</real>
<real>0.94999999999999996</real>
<real>0.90000000000000002</real>
<real>0.80000000000000004</real>
<real>0.69999999999999996</real>
<real>0.59999999999999998</real>
<real>0.5</real>
<real>0.4</real>
<real>0.3</real>
<real>0.2</real>
<real>0.1</real>
<real>0</real>
<real>0.40000000000000002</real>
<real>0.29999999999999999</real>
<real>0.20000000000000001</real>
<real>0.10000000000000001</real>
<real>0.0</real>
</array>
</dict>
<dict>
Expand Down Expand Up @@ -266,7 +244,7 @@
</dict>
<dict>
<key>DefaultValue</key>
<real>0.2</real>
<real>0.20000000000000001</real>
<key>Key</key>
<string>BackgroundColor</string>
<key>Title</key>
Expand All @@ -288,16 +266,16 @@
<string>PSMultiValueSpecifier</string>
<key>Values</key>
<array>
<real>0.9</real>
<real>0.8</real>
<real>0.7</real>
<real>0.6</real>
<real>0.90000000000000002</real>
<real>0.80000000000000004</real>
<real>0.69999999999999996</real>
<real>0.59999999999999998</real>
<real>0.5</real>
<real>0.4</real>
<real>0.3</real>
<real>0.2</real>
<real>0.1</real>
<real>0</real>
<real>0.40000000000000002</real>
<real>0.29999999999999999</real>
<real>0.20000000000000001</real>
<real>0.10000000000000001</real>
<real>0.0</real>
</array>
</dict>
<dict>
Expand Down Expand Up @@ -402,19 +380,19 @@
<string>PSMultiValueSpecifier</string>
<key>Values</key>
<array>
<real>0.3</real>
<real>0.2</real>
<real>0.1</real>
<real>0.05</real>
<real>0.025</real>
<real>0.29999999999999999</real>
<real>0.20000000000000001</real>
<real>0.10000000000000001</real>
<real>0.050000000000000003</real>
<real>0.025000000000000001</real>
<real>0.02</real>
<real>0.015</real>
<real>0.014999999999999999</real>
<real>0.01</real>
</array>
</dict>
<dict>
<key>DefaultValue</key>
<real>0.05</real>
<real>0.050000000000000003</real>
<key>Key</key>
<string>NoiseFilteringRatio</string>
<key>Title</key>
Expand All @@ -439,16 +417,16 @@
<key>Values</key>
<array>
<real>1</real>
<real>0.9</real>
<real>0.8</real>
<real>0.7</real>
<real>0.6</real>
<real>0.90000000000000002</real>
<real>0.80000000000000004</real>
<real>0.69999999999999996</real>
<real>0.59999999999999998</real>
<real>0.5</real>
<real>0.4</real>
<real>0.3</real>
<real>0.2</real>
<real>0.1</real>
<real>0.05</real>
<real>0.40000000000000002</real>
<real>0.29999999999999999</real>
<real>0.20000000000000001</real>
<real>0.10000000000000001</real>
<real>0.050000000000000003</real>
<real>0.01</real>
</array>
</dict>
Expand All @@ -462,7 +440,7 @@
</dict>
<dict>
<key>DefaultValue</key>
<string>0.21.7</string>
<string>0.21.8</string>
<key>Key</key>
<string>Version</string>
<key>Title</key>
Expand Down

0 comments on commit 17c2142

Please sign in to comment.