1
This commit is contained in:
@@ -202,6 +202,9 @@ class DetectNode(InitBase):
|
||||
self.get_logger().warning("Object point cloud have too many noise")
|
||||
continue
|
||||
|
||||
if rmat == np.eye(4):
|
||||
continue
|
||||
|
||||
self.get_logger().info(f"grab_width: {grab_width}")
|
||||
|
||||
rmat = self.hand_eye_mat @ rmat
|
||||
|
||||
@@ -58,7 +58,7 @@ def calculate_pose_pca(
|
||||
return None, [0.0, 0.0, 0.0]
|
||||
|
||||
if len(point_cloud.points) == 0:
|
||||
logging.warning("clean_pcd is empty")
|
||||
logging.warning("point_cloud is empty")
|
||||
return np.eye(4), [0.0, 0.0, 0.0]
|
||||
|
||||
if calculate_grab_width:
|
||||
|
||||
Reference in New Issue
Block a user