From 7868c049d258edca11444efe13f0548437f63d69 Mon Sep 17 00:00:00 2001 From: Bhavit Patel Date: Fri, 5 Jun 2020 15:53:11 -0400 Subject: [PATCH] Add missing force4DOF param to PointToPlaneWithCov --- pointmatcher/ErrorMinimizers/PointToPlaneWithCov.h | 1 + 1 file changed, 1 insertion(+) diff --git a/pointmatcher/ErrorMinimizers/PointToPlaneWithCov.h b/pointmatcher/ErrorMinimizers/PointToPlaneWithCov.h index f37dc045..ba52bfae 100644 --- a/pointmatcher/ErrorMinimizers/PointToPlaneWithCov.h +++ b/pointmatcher/ErrorMinimizers/PointToPlaneWithCov.h @@ -71,6 +71,7 @@ struct PointToPlaneWithCovErrorMinimizer: public PointToPlaneErrorMinimizer { return { {"force2D", "If set to true(1), the minimization will be force to give a solution in 2D (i.e., on the XY-plane) even with 3D inputs.", "0", "0", "1", &P::Comp}, + {"force4DOF", "If set to true(1), the minimization will optimize only yaw and translation, pitch and roll will follow the prior.", "0", "0", "1", &P::Comp}, {"sensorStdDev", "sensor standard deviation", "0.01", "0.", "inf", &P::Comp} }; }