From 5b72c1591253f7dfcb26f21243a544d650a6a2c5 Mon Sep 17 00:00:00 2001
From: armar-user <armar6@kit>
Date: Thu, 16 Feb 2023 13:56:48 +0100
Subject: [PATCH] removing the pose of camera as it's not needed anymore

---
 source/armarx/view_selection/skills/ScanLocation.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/source/armarx/view_selection/skills/ScanLocation.cpp b/source/armarx/view_selection/skills/ScanLocation.cpp
index 1f3cdf2..d10e88d 100644
--- a/source/armarx/view_selection/skills/ScanLocation.cpp
+++ b/source/armarx/view_selection/skills/ScanLocation.cpp
@@ -38,7 +38,6 @@ namespace armarx::view_selection::skills
     {
         float yaw_step_size = (goal_yaw - neck_joint_angles["Neck_1_Yaw"]) / waypoints_num;
         float pitch_step_size = (goal_pitch - neck_joint_angles["Neck_2_Pitch"]) / waypoints_num;
-        localRobot->getRobotNode("AzureKinectCamera")->getGlobalPose();
         for (int i = 1; i < waypoints_num; i++)
         {
             neck_joint_angles["Neck_1_Yaw"] = neck_joint_angles["Neck_1_Yaw"] + yaw_step_size;
-- 
GitLab