Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/THU-VCLab/HGGD
/ functions
Functions
616 in github.com/THU-VCLab/HGGD
⨍
Functions
616
◇
Types & classes
61
Method
mass
float : The mass of the mesh (read-only).
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:225
Method
matrix_product
(theta)
customgraspnetAPI/utils/dexnet/grasping/grasp.py:1029
Function
matrix_to_dexnet_params
**Input:** - numpy array of shape (3, 3) of the rotation matrix. **Output:** - binormal: numpy array of shape (3,). - angle:
customgraspnetAPI/utils/rotation.py:34
Method
merge
Combines this mesh with another mesh. Parameters ---------- other_mesh : :obj:`Mesh3D` the mesh to combine with
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:1103
Method
mesh
(self)
customgraspnetAPI/utils/dexnet/grasping/graspable_object.py:80
Method
min_singular
Min singular value of grasp matrix - measure of wrench that grasp is "weakest" at resisting. Parameters ---------- forces :
customgraspnetAPI/utils/dexnet/grasping/quality.py:484
Method
model_name
(self)
customgraspnetAPI/utils/dexnet/grasping/graspable_object.py:92
Method
normal
(self)
customgraspnetAPI/utils/dexnet/grasping/contacts.py:83
Method
normals
:obj:`numpy.ndarray` of float : A #normals by 3 array, where each row contains a normalized vector. This list should contain one norm
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:172
Method
num_triangles
:obj:`int`: The number of total triangles
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:215
Method
num_vertices
:obj:`int`: The number of total vertices
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:208
Method
object_id
**Output:** - int of the object id that this grasp grasps
customgraspnetAPI/grasp.py:177
Method
object_id
**Output:** - int of the object id that this grasp grasps
customgraspnetAPI/grasp.py:717
Method
object_ids
**Output:** - numpy array of shape (-1, ) of the object ids.
customgraspnetAPI/grasp.py:417
Method
object_ids
**Output:** - numpy array of the object ids that this grasp grasps.
customgraspnetAPI/grasp.py:983
Method
objectlistfromposevectorlist
(self, posevectorlist, objdir, objnamelist, objidlist)
customgraspnetAPI/utils/xmlhandler.py:33
Method
open_point
**Output:** - tuple of x,y of the open point.
customgraspnetAPI/grasp.py:671
Method
open_points
**Output:** - numpy array the open points of shape (-1, 2).
customgraspnetAPI/grasp.py:945
Method
open_width
float : maximum opening width of the jaws
customgraspnetAPI/utils/dexnet/grasping/grasp.py:155
Method
origin
The location of the origin in the SDF grid. Returns ------- :obj:`numpy.ndarray` of float The 2- or 3-ndarray tha
customgraspnetAPI/utils/dexnet/grasping/meshpy/sdf.py:40
Method
parallel_table
Returns a grasp with approach_angle set to be perpendicular to the table normal specified in the given stable pose. Parameters
customgraspnetAPI/utils/dexnet/grasping/grasp.py:1062
Method
params_from_configuration
Converts configuration vector into grasp parameters. Returns ------- grasp_center : :obj:`numpy.ndarray` center o
customgraspnetAPI/utils/dexnet/grasping/grasp.py:254
Method
params_from_configuration
Converts configuration vector into vacuum grasp parameters. Returns ------- center : :obj:`numpy.ndarray` center
customgraspnetAPI/utils/dexnet/grasping/grasp.py:1350
Function
parse_posevector
**Input:** - posevector: list of pose **Output:** - obj_idx: int of the index of object. - mat: numpy array of shape (4, 4) of th
customgraspnetAPI/utils/eval_utils.py:53
Method
partial_closure
Evalutes partial closure: whether or not the forces and torques can resist a specific wrench. Estimates resistance by sollving a quadratic
customgraspnetAPI/utils/dexnet/grasping/quality.py:342
Method
perpendicular_table
Returns a grasp with approach_angle set to be aligned width the table normal specified in the given stable pose. Parameters -
customgraspnetAPI/utils/dexnet/grasping/grasp.py:1114
Function
plot_axis
(R, center, length, grid_size=0.01)
customgraspnetAPI/utils/utils.py:478
Method
point
(self)
customgraspnetAPI/utils/dexnet/grasping/contacts.py:79
Method
points
(self)
dataset/grasp.py:478
Function
print_model
(args, input_channels, model, save_folder)
train_utils.py:296
Method
proj_win
(self)
customgraspnetAPI/utils/dexnet/grasping/contacts.py:780
Method
proj_win_2d
(self)
customgraspnetAPI/utils/dexnet/grasping/contacts.py:776
Method
project_camera
Project a grasp for a given gripper into the camera specified by a set of intrinsics. Parameters ---------- T_obj_cam
customgraspnetAPI/utils/dexnet/grasping/grasp.py:1137
Method
quality
Compute grasp quality using a quasistatic method. Parameters ---------- grasp : :obj:`GraspableObject3D` grasp to
customgraspnetAPI/utils/dexnet/grasping/grasp_quality_function.py:137
Method
quality
Compute grasp quality using a robust quasistatic method. Parameters ---------- grasp : :obj:`GraspableObject3D` g
customgraspnetAPI/utils/dexnet/grasping/grasp_quality_function.py:189
Method
random_points
Generate uniformly random points on the surface of the mesh. Parameters ---------- n_points : int The number of r
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:795
Method
random_sample
**Input:** - numGrasp: int of the number of sampled grasps. **Output:** - RectGraspGroup instance of sample grasps
customgraspnetAPI/grasp.py:1168
Method
ray_intersections
Returns a list containing the indices of the triangles that are intersected by the given ray emanating from the given point within some
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:816
Method
reference_frame
Returns the local reference frame of the contact. Z axis in the in direction (or surface normal if not specified) X and Y axes in the
customgraspnetAPI/utils/dexnet/grasping/contacts.py:189
Method
remove
**Input:** - index: list of the index of rect_grasp
customgraspnetAPI/grasp.py:1001
Method
remove_bad_tris
Remove triangles with out-of-bounds vertices from the mesh.
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:462
Method
rescale
Rescales uniformly by a given factor. Parameters ---------- scale : float the amount to scale the object
customgraspnetAPI/utils/dexnet/grasping/graspable_object.py:154
Method
rescale
Rescale an SDF by a given scale factor. Parameters ---------- scale : float the amount to scale the SDF
customgraspnetAPI/utils/dexnet/grasping/meshpy/sdf.py:600
Method
rescale
Rescales the vertex coordinates by scale_factor. Parameters ---------- scale_factor : float The desired scale fac
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:908
Method
rescale_dimension
Rescales the vertex coordinates to scale using the given scaling_type. Parameters ---------- scale : float
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:865
Function
resnet101
return a ResNet 101 object.
models/resnet_model.py:173
Function
resnet152
return a ResNet 152 object.
models/resnet_model.py:178
Function
resnet18
return a ResNet 18 object.
models/resnet_model.py:158
Function
resnet34
return a ResNet 34 object.
models/resnet_model.py:163
Function
resnet50
return a ResNet 50 object.
models/resnet_model.py:168
Method
resolution
The grid resolution (how wide each grid cell is). Returns ------- float The width of each grid cell.
customgraspnetAPI/utils/dexnet/grasping/meshpy/sdf.py:52
Method
resting_pose
Returns the stable pose that the mesh will rest on if it lands on an infinite planar worksurface quasi-statically in the given transfo
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:968
Method
rotated_full_axis
Rotation matrix from canonical grasp reference frame to object reference frame. X axis points out of the gripper palm along the grasp
customgraspnetAPI/utils/dexnet/grasping/grasp.py:358
Method
rotation_matrices
**Output:** - np.array of shape (-1, 3, 3) of the rotation matrices.
customgraspnetAPI/grasp.py:378
Function
rotation_matrix
Author: chenxi-wang **Input:** - rx/ry/rz: float, rotation angle along x/y/z-axis **Output:** - numpy array of (3, 3), rotati
customgraspnetAPI/utils/utils.py:229
Function
rotation_matrix
**Input:** - alpha: float of alpha angle. - beta: float of beta angle. - gamma: float of the gamma angle. **Output:** -
customgraspnetAPI/utils/rotation.py:10
Method
rotation_matrix
**Output:** - np.array of shape (3, 3) of the rotation matrix.
customgraspnetAPI/grasp.py:130
Function
run
(sceneIds)
convert_grasp.py:132
Method
save_npy
**Input:** - npy_file_path: string of the file path.
customgraspnetAPI/grasp.py:1020
Method
scale_principal_eigenvalues
(self, new_evals)
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:670
Method
score
**Output:** - float of the score.
customgraspnetAPI/grasp.py:58
Method
score
**Output:** - float of the score.
customgraspnetAPI/grasp.py:635
Method
scores
**Output:** - numpy array of shape (-1, ) of the scores.
customgraspnetAPI/grasp.py:302
Method
scores
**Output:** - numpy array of the scores.
customgraspnetAPI/grasp.py:907
Method
sdf
(self)
customgraspnetAPI/utils/dexnet/grasping/graspable_object.py:76
Function
set_bn_momentum_default
(bn_momentum)
models/anchornet.py:11
Method
show6DPose
**Input:** - sceneIds: int or list of scene ids. - saveFolder: string of the folder to store the image. - show: bo
customgraspnetAPI/graspnet.py:987
Method
showObjGrasp
**Input:** - objIds: int of list of objects ids. - numGrasp: how many grasps to show in the image. - th: threshold
customgraspnetAPI/graspnet.py:887
Method
showSceneGrasp
**Input:** - sceneId: int of the scene index. - camera: string of the camera type, 'realsense' or 'kinect'. - annI
customgraspnetAPI/graspnet.py:930
Method
showinfo
(self)
customgraspnetAPI/utils/xmlhandler.py:88
Method
size
(self)
dataset/grasp.py:554
Method
sort
(self)
dataset/grasp.py:786
Method
sort_by_score
**Input:** - reverse: bool of order, if False, from high to low, if True, from low to high. **Output:** - no outpu
customgraspnetAPI/grasp.py:1151
Method
stable_poses
Computes all valid StablePose objects for the mesh. Parameters ---------- min_prob : float stable poses that are
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:934
Method
subdivide
Return a copy of the mesh that has been subdivided by one iteration. Note ---- This method only copies the vertices and trian
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:701
Method
support
Returns the support function in the given direction. Parameters ---------- direction : :obj:`numpy.ndarray` of float
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:340
Method
surface_area
Return the surface area of the mesh. Returns ------- float The surface area of the mesh.
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:414
Method
surface_information
Return the patch surface information at the contacts that this grasp makes on a graspable. Parameters ---------- gras
customgraspnetAPI/utils/dexnet/grasping/grasp.py:1285
Method
surface_information
Returns the patches on this object for a given grasp. Parameters ---------- grasp : :obj:`ParallelJawPtGrasp3D` g
customgraspnetAPI/utils/dexnet/grasping/graspable_object.py:211
Method
surface_information
Returns the local surface window, gradient, and curvature for a single contact. Parameters ---------- width : float
customgraspnetAPI/utils/dexnet/grasping/contacts.py:649
Method
surface_window_projection_unaligned
Projects the local surface onto the tangent plane at a contact point. Deprecated.
customgraspnetAPI/utils/dexnet/grasping/contacts.py:489
Method
surface_window_sdf
Returns a window of SDF values on the tangent plane at a contact point. Used for patch computation. Parameters ----------
customgraspnetAPI/utils/dexnet/grasping/contacts.py:319
Function
timing
(f)
dataset/pc_dataset_tools.py:16
Method
to_grasp
**Input:** - camera: string of type of camera, 'kinect' or 'realsense'. - depths: numpy array of the depths image.
customgraspnetAPI/grasp.py:781
Method
to_grasp_group
**Input:** - camera: string of type of camera, 'kinect' or 'realsense'. - depths: numpy array of the depths image.
customgraspnetAPI/grasp.py:1089
Method
to_opencv_image
**input:** - opencv_rgb: numpy array of opencv BGR format. - numGrasp: int of the number of grasp, 0 for all. **Ou
customgraspnetAPI/grasp.py:1028
Method
to_our_gripper_list
(self, color=None)
dataset/grasp.py:393
Method
to_rect_grasp_group
**Input:** - camera: string of type of camera, 'realsense' or 'kinect'. **Output:** - RectGraspGroup instance or N
customgraspnetAPI/grasp.py:549
Method
to_scene_points
(self, rgbs: torch.Tensor, depths: torch.Tensor,
dataset/utils.py:212
Method
to_xyz_maps
(self, depths)
dataset/utils.py:250
Function
topk_grasps
**Input:** - grasps: (N, 17) - k: int **Output:** - topk_grasps: (k, 17)
customgraspnetAPI/utils/eval_utils.py:158
Method
transform
**Input:** - T: np.array of shape (4, 4) **Output:** - Grasp instance after transformation, the original Grasp wil
customgraspnetAPI/grasp.py:194
Method
transform
**Input:** - T: np.array of shape (4, 4) **Output:** - GraspGroup instance after transformation, the original Gras
customgraspnetAPI/grasp.py:435
Method
transform
Creates a new SDF with a given pose with respect to world coordinates. Parameters ---------- delta_T : :obj:`autolab_
customgraspnetAPI/utils/dexnet/grasping/meshpy/sdf.py:276
Method
transform_dense
Transform the grid by pose T and scale with canonical reference frame at the SDF center with axis alignment. Parameters -----
customgraspnetAPI/utils/dexnet/grasping/meshpy/sdf.py:620
Function
transform_matrix
Author: chenxi-wang **Input:** - tx/ty/tz: float, translation along x/y/z-axis - rx/ry/rz: float, rotation angle along x/y/z-axis
customgraspnetAPI/utils/utils.py:251
Method
transform_pt_obj_to_grid
Converts a point in sdf coords to the grid basis. If direction then don't translate. Parameters ---------- x_sdf : nu
customgraspnetAPI/utils/dexnet/grasping/meshpy/sdf.py:714
Method
transform_to_world
Returns an sdf object with center in the world frame of reference.
customgraspnetAPI/utils/dexnet/grasping/meshpy/sdf.py:148
Method
translation
**Output:** - np.array of shape (3,) of the translation.
customgraspnetAPI/grasp.py:154
Method
translations
**Output:** - np.array of shape (-1, 3) of the translations.
customgraspnetAPI/grasp.py:398
← previous
next →
501–600 of 616, ranked by callers