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