From 6e501f3e338870ca26ab1cebc182b821ee98b7db Mon Sep 17 00:00:00 2001 From: Roelof Date: Wed, 24 Jan 2024 21:30:15 +0100 Subject: [PATCH] Remove ineffective frame.Identity() call See #984 --- tesseract_kinematics/kdl/src/kdl_utils.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tesseract_kinematics/kdl/src/kdl_utils.cpp b/tesseract_kinematics/kdl/src/kdl_utils.cpp index 31d4df53a69..ff4a47dc22f 100644 --- a/tesseract_kinematics/kdl/src/kdl_utils.cpp +++ b/tesseract_kinematics/kdl/src/kdl_utils.cpp @@ -43,8 +43,6 @@ void KDLToEigen(const KDL::Frame& frame, Eigen::Isometry3d& transform) void EigenToKDL(const Eigen::Isometry3d& transform, KDL::Frame& frame) { - frame.Identity(); - for (int i = 0; i < 3; ++i) frame.p[i] = transform(i, 3);