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

Method get_3d_bbox

instruct_to_policy/scripts/src/env/env.py:90–98  ·  view source on GitHub ↗

Get the bounding box of the object. Args: obj_name: name of the object Returns: bbox: np.ndarray, [x_min, y_min, z_min, x_max, y_max, z_max]

(self, obj_name: str)

Source from the content-addressed store, hash-verified

88 raise NotImplementedError("get_object_center_position() not implemented")
89
90 def get_3d_bbox(self, obj_name: str)-> ArrayLike:
91 """
92 Get the bounding box of the object.
93 Args:
94 obj_name: name of the object
95 Returns:
96 bbox: np.ndarray, [x_min, y_min, z_min, x_max, y_max, z_max]
97 """
98 raise NotImplementedError("get_3d_bbox() not implemented")
99
100 def get_object_joints_axes(self, obj_name: str)->List:
101 """

Callers 7

parse_place_poseMethod · 0.95
check_relation_onMethod · 0.45
check_relation_inMethod · 0.45
get_object_collisionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected