mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-11 12:29:50 +08:00
Updating g2o default max iterations (#1790)
Stereo outdoor demo with g2o ( epsilon=0 and optimizer=0) requires at least 25 iterations to converge correctly.
This commit is contained in:
@@ -456,7 +456,7 @@ class RTABMAP_CORE_EXPORT Parameters
|
|||||||
#else
|
#else
|
||||||
#ifdef RTABMAP_G2O
|
#ifdef RTABMAP_G2O
|
||||||
RTABMAP_PARAM(Optimizer, Strategy, int, 1, "Graph optimization strategy: 0=TORO, 1=g2o, 2=GTSAM and 3=Ceres.");
|
RTABMAP_PARAM(Optimizer, Strategy, int, 1, "Graph optimization strategy: 0=TORO, 1=g2o, 2=GTSAM and 3=Ceres.");
|
||||||
RTABMAP_PARAM(Optimizer, Iterations, int, 20, "Optimization iterations.");
|
RTABMAP_PARAM(Optimizer, Iterations, int, 30, "Optimization iterations.");
|
||||||
RTABMAP_PARAM(Optimizer, Epsilon, double, 0.0, "Stop optimizing when the error improvement is less than this value.");
|
RTABMAP_PARAM(Optimizer, Epsilon, double, 0.0, "Stop optimizing when the error improvement is less than this value.");
|
||||||
#else
|
#else
|
||||||
#ifdef RTABMAP_CERES
|
#ifdef RTABMAP_CERES
|
||||||
|
|||||||
Reference in New Issue
Block a user