diff --git a/source/armarx/navigation/human/HumanTracker.cpp b/source/armarx/navigation/human/HumanTracker.cpp index db56cbe61357556aec63df17597a2c0dde76c924..ea22b062e5bcb3f01a95fcdd5268661788cb11ac 100644 --- a/source/armarx/navigation/human/HumanTracker.cpp +++ b/source/armarx/navigation/human/HumanTracker.cpp @@ -202,14 +202,6 @@ namespace armarx::navigation::human // calculate angle of rot2 yaw = atan2(rot2.y(), rot2.x()); } - //old version using euler angles: - //yaw = humanPose //from all human pose keypoints - // .keypoints - // .at(parameters.rotationKeypoint) //find the keypoint representing the head - // .orientationGlobal //get its global orientation - // ->toEigen() - // .eulerAngles(2, 1, 0)[0]; //and extract the yaw (rotation around z axis in - // global coordinates) } // create the new pose with the calculated position and yaw