mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-08 10:47:46 +08:00
Tango: Added Level of detail rendering depending on the distance from the camera
This commit is contained in:
@@ -804,7 +804,14 @@ public class RTABMapActivity extends Activity implements OnClickListener {
|
||||
{
|
||||
if(inliers >= Integer.parseInt(mMinInliers))
|
||||
{
|
||||
mToast.setText(String.format("Loop closure rejected, too high graph optimization error (%.3fm > %sm).", optimizationMaxError, mMaxOptimizationError));
|
||||
if(optimizationMaxError > 0.0f)
|
||||
{
|
||||
mToast.setText(String.format("Loop closure rejected, too high graph optimization error (%.3fm > %sm).", optimizationMaxError, mMaxOptimizationError));
|
||||
}
|
||||
else
|
||||
{
|
||||
mToast.setText(String.format("Loop closure rejected, graph optimization failed! You may try a different Graph Optimizer (see Mapping options)."));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user