(self.x_pan_target,self.y_pan_target)=local_to_global(robot_pose,self.look_at_position_target[:2])# local to global map target
(self.x_pan_target,self.y_pan_target)=local_to_global(np.asarray([self.x_robot_pose,self.y_robot_pose,self.yaw_robot_pose]),self.look_at_position_target[:2])# local to global map target