优化参数
This commit is contained in:
@@ -151,6 +151,7 @@ class DetectNode(InitBase):
|
||||
|
||||
def _seg_image(self, rgb_img: np.ndarray, depth_img: np.ndarray):
|
||||
"""Use segmentation model"""
|
||||
self.get_logger().info('start')
|
||||
pose_list = []
|
||||
|
||||
# Get Predict Results
|
||||
|
||||
@@ -66,7 +66,7 @@ def calculate_pose_pca(
|
||||
x, y, z = obb.center
|
||||
sizes = obb.extent
|
||||
grab_width = np.sort(sizes)[-2]
|
||||
z = z + grab_width * 0.3
|
||||
z = z + grab_width * 0.20
|
||||
|
||||
v = obb.R
|
||||
if v is None:
|
||||
|
||||
Reference in New Issue
Block a user