MCPcopy Create free account
hub / github.com/RoboCodeX-source/RoboCodeX_code / Grasp

Class Grasp

grasp_detection/src/detectors/utils.py:174–180  ·  view source on GitHub ↗

Grasp parameterized as pose of a 2-finger robot hand.

Source from the content-addressed store, hash-verified

172 return intrinsic
173
174class Grasp(object):
175 """Grasp parameterized as pose of a 2-finger robot hand.
176 """
177 # TODO: should we specify more parameters here? e.g. velocity, max force etc.
178 def __init__(self, pose: Transform, width):
179 self.pose = pose
180 self.width = width
181
182def get_mask_from_3D_bbox(bbox_center:np.ndarray, bbox_size:np.ndarray, depth_image:np.ndarray,
183 intrinsic:CameraIntrinsic, extrinsic:Transform)->np.ndarray:

Callers 2

detect_callbackMethod · 0.70
detect_callbackMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected