optional initialization for LMParams
parent
98b8d6b4f3
commit
3ea9ff0120
|
@ -61,8 +61,9 @@ class TranslationRecovery {
|
||||||
* @param relativeTranslations the relative translations, in world coordinate
|
* @param relativeTranslations the relative translations, in world coordinate
|
||||||
* frames, indexed in a map by a pair of Pose keys.
|
* frames, indexed in a map by a pair of Pose keys.
|
||||||
*/
|
*/
|
||||||
TranslationRecovery(const TranslationEdges& relativeTranslations)
|
TranslationRecovery(const TranslationEdges& relativeTranslations,
|
||||||
: relativeTranslations_(relativeTranslations) {
|
const LevenbergMarquardtParams& lmParams = LevenbergMarquardtParams())
|
||||||
|
: relativeTranslations_(relativeTranslations), params_(lmParams) {
|
||||||
params_.setVerbosityLM("Summary");
|
params_.setVerbosityLM("Summary");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue