From b18597f549a6825d65228980361ed4ab48164e9e Mon Sep 17 00:00:00 2001 From: Mederic Fourmy <mederic.fourmy@gmail.com> Date: Mon, 28 Feb 2022 20:03:48 +0100 Subject: [PATCH] Missing setPriorFactor bug in gtest --- test/gtest_factor_relative_pose_3d_with_extrinsics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gtest_factor_relative_pose_3d_with_extrinsics.cpp b/test/gtest_factor_relative_pose_3d_with_extrinsics.cpp index 3b57c7b8b..dde07b529 100644 --- a/test/gtest_factor_relative_pose_3d_with_extrinsics.cpp +++ b/test/gtest_factor_relative_pose_3d_with_extrinsics.cpp @@ -109,7 +109,7 @@ class FactorRelativePose3dWithExtrinsics_class : public testing::Test{ // F1 is be origin KF VectorComposite x0(pose_robot, "PO", {3,4}); VectorComposite s0("PO", {Vector3d(1,1,1), Vector3d(1,1,1)}); - F1 = problem->setPriorFactor(x0, s0, 0.0, 0.1); + F1 = problem->setPriorFactor(x0, s0, 0.0); // the sensor is at origin as well as the robot. The measurement matches with the pose of the tag wrt sensor (and also wrt robot and world) -- GitLab