MCPcopy Create free account

hub / github.com/THU-VCLab/HGGD / functions

Functions616 in github.com/THU-VCLab/HGGD

Methodmass
float : The mass of the mesh (read-only).
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:225
Methodmatrix_product
(theta)
customgraspnetAPI/utils/dexnet/grasping/grasp.py:1029
Functionmatrix_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
Methodmerge
Combines this mesh with another mesh. Parameters ---------- other_mesh : :obj:`Mesh3D` the mesh to combine with
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:1103
Methodmesh
(self)
customgraspnetAPI/utils/dexnet/grasping/graspable_object.py:80
Methodmin_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
Methodmodel_name
(self)
customgraspnetAPI/utils/dexnet/grasping/graspable_object.py:92
Methodnormal
(self)
customgraspnetAPI/utils/dexnet/grasping/contacts.py:83
Methodnormals
: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
Methodnum_triangles
:obj:`int`: The number of total triangles
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:215
Methodnum_vertices
:obj:`int`: The number of total vertices
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:208
Methodobject_id
**Output:** - int of the object id that this grasp grasps
customgraspnetAPI/grasp.py:177
Methodobject_id
**Output:** - int of the object id that this grasp grasps
customgraspnetAPI/grasp.py:717
Methodobject_ids
**Output:** - numpy array of shape (-1, ) of the object ids.
customgraspnetAPI/grasp.py:417
Methodobject_ids
**Output:** - numpy array of the object ids that this grasp grasps.
customgraspnetAPI/grasp.py:983
Methodobjectlistfromposevectorlist
(self, posevectorlist, objdir, objnamelist, objidlist)
customgraspnetAPI/utils/xmlhandler.py:33
Methodopen_point
**Output:** - tuple of x,y of the open point.
customgraspnetAPI/grasp.py:671
Methodopen_points
**Output:** - numpy array the open points of shape (-1, 2).
customgraspnetAPI/grasp.py:945
Methodopen_width
float : maximum opening width of the jaws
customgraspnetAPI/utils/dexnet/grasping/grasp.py:155
Methodorigin
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
Methodparallel_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
Methodparams_from_configuration
Converts configuration vector into grasp parameters. Returns ------- grasp_center : :obj:`numpy.ndarray` center o
customgraspnetAPI/utils/dexnet/grasping/grasp.py:254
Methodparams_from_configuration
Converts configuration vector into vacuum grasp parameters. Returns ------- center : :obj:`numpy.ndarray` center
customgraspnetAPI/utils/dexnet/grasping/grasp.py:1350
Functionparse_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
Methodpartial_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
Methodperpendicular_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
Functionplot_axis
(R, center, length, grid_size=0.01)
customgraspnetAPI/utils/utils.py:478
Methodpoint
(self)
customgraspnetAPI/utils/dexnet/grasping/contacts.py:79
Methodpoints
(self)
dataset/grasp.py:478
Functionprint_model
(args, input_channels, model, save_folder)
train_utils.py:296
Methodproj_win
(self)
customgraspnetAPI/utils/dexnet/grasping/contacts.py:780
Methodproj_win_2d
(self)
customgraspnetAPI/utils/dexnet/grasping/contacts.py:776
Methodproject_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
Methodquality
Compute grasp quality using a quasistatic method. Parameters ---------- grasp : :obj:`GraspableObject3D` grasp to
customgraspnetAPI/utils/dexnet/grasping/grasp_quality_function.py:137
Methodquality
Compute grasp quality using a robust quasistatic method. Parameters ---------- grasp : :obj:`GraspableObject3D` g
customgraspnetAPI/utils/dexnet/grasping/grasp_quality_function.py:189
Methodrandom_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
Methodrandom_sample
**Input:** - numGrasp: int of the number of sampled grasps. **Output:** - RectGraspGroup instance of sample grasps
customgraspnetAPI/grasp.py:1168
Methodray_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
Methodreference_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
Methodremove
**Input:** - index: list of the index of rect_grasp
customgraspnetAPI/grasp.py:1001
Methodremove_bad_tris
Remove triangles with out-of-bounds vertices from the mesh.
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:462
Methodrescale
Rescales uniformly by a given factor. Parameters ---------- scale : float the amount to scale the object
customgraspnetAPI/utils/dexnet/grasping/graspable_object.py:154
Methodrescale
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
Methodrescale
Rescales the vertex coordinates by scale_factor. Parameters ---------- scale_factor : float The desired scale fac
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:908
Methodrescale_dimension
Rescales the vertex coordinates to scale using the given scaling_type. Parameters ---------- scale : float
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:865
Functionresnet101
return a ResNet 101 object.
models/resnet_model.py:173
Functionresnet152
return a ResNet 152 object.
models/resnet_model.py:178
Functionresnet18
return a ResNet 18 object.
models/resnet_model.py:158
Functionresnet34
return a ResNet 34 object.
models/resnet_model.py:163
Functionresnet50
return a ResNet 50 object.
models/resnet_model.py:168
Methodresolution
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
Methodresting_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
Methodrotated_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
Methodrotation_matrices
**Output:** - np.array of shape (-1, 3, 3) of the rotation matrices.
customgraspnetAPI/grasp.py:378
Functionrotation_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
Functionrotation_matrix
**Input:** - alpha: float of alpha angle. - beta: float of beta angle. - gamma: float of the gamma angle. **Output:** -
customgraspnetAPI/utils/rotation.py:10
Methodrotation_matrix
**Output:** - np.array of shape (3, 3) of the rotation matrix.
customgraspnetAPI/grasp.py:130
Functionrun
(sceneIds)
convert_grasp.py:132
Methodsave_npy
**Input:** - npy_file_path: string of the file path.
customgraspnetAPI/grasp.py:1020
Methodscale_principal_eigenvalues
(self, new_evals)
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:670
Methodscore
**Output:** - float of the score.
customgraspnetAPI/grasp.py:58
Methodscore
**Output:** - float of the score.
customgraspnetAPI/grasp.py:635
Methodscores
**Output:** - numpy array of shape (-1, ) of the scores.
customgraspnetAPI/grasp.py:302
Methodscores
**Output:** - numpy array of the scores.
customgraspnetAPI/grasp.py:907
Methodsdf
(self)
customgraspnetAPI/utils/dexnet/grasping/graspable_object.py:76
Functionset_bn_momentum_default
(bn_momentum)
models/anchornet.py:11
Methodshow6DPose
**Input:** - sceneIds: int or list of scene ids. - saveFolder: string of the folder to store the image. - show: bo
customgraspnetAPI/graspnet.py:987
MethodshowObjGrasp
**Input:** - objIds: int of list of objects ids. - numGrasp: how many grasps to show in the image. - th: threshold
customgraspnetAPI/graspnet.py:887
MethodshowSceneGrasp
**Input:** - sceneId: int of the scene index. - camera: string of the camera type, 'realsense' or 'kinect'. - annI
customgraspnetAPI/graspnet.py:930
Methodshowinfo
(self)
customgraspnetAPI/utils/xmlhandler.py:88
Methodsize
(self)
dataset/grasp.py:554
Methodsort
(self)
dataset/grasp.py:786
Methodsort_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
Methodstable_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
Methodsubdivide
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
Methodsupport
Returns the support function in the given direction. Parameters ---------- direction : :obj:`numpy.ndarray` of float
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:340
Methodsurface_area
Return the surface area of the mesh. Returns ------- float The surface area of the mesh.
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:414
Methodsurface_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
Methodsurface_information
Returns the patches on this object for a given grasp. Parameters ---------- grasp : :obj:`ParallelJawPtGrasp3D` g
customgraspnetAPI/utils/dexnet/grasping/graspable_object.py:211
Methodsurface_information
Returns the local surface window, gradient, and curvature for a single contact. Parameters ---------- width : float
customgraspnetAPI/utils/dexnet/grasping/contacts.py:649
Methodsurface_window_projection_unaligned
Projects the local surface onto the tangent plane at a contact point. Deprecated.
customgraspnetAPI/utils/dexnet/grasping/contacts.py:489
Methodsurface_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
Functiontiming
(f)
dataset/pc_dataset_tools.py:16
Methodto_grasp
**Input:** - camera: string of type of camera, 'kinect' or 'realsense'. - depths: numpy array of the depths image.
customgraspnetAPI/grasp.py:781
Methodto_grasp_group
**Input:** - camera: string of type of camera, 'kinect' or 'realsense'. - depths: numpy array of the depths image.
customgraspnetAPI/grasp.py:1089
Methodto_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
Methodto_our_gripper_list
(self, color=None)
dataset/grasp.py:393
Methodto_rect_grasp_group
**Input:** - camera: string of type of camera, 'realsense' or 'kinect'. **Output:** - RectGraspGroup instance or N
customgraspnetAPI/grasp.py:549
Methodto_scene_points
(self, rgbs: torch.Tensor, depths: torch.Tensor,
dataset/utils.py:212
Methodto_xyz_maps
(self, depths)
dataset/utils.py:250
Functiontopk_grasps
**Input:** - grasps: (N, 17) - k: int **Output:** - topk_grasps: (k, 17)
customgraspnetAPI/utils/eval_utils.py:158
Methodtransform
**Input:** - T: np.array of shape (4, 4) **Output:** - Grasp instance after transformation, the original Grasp wil
customgraspnetAPI/grasp.py:194
Methodtransform
**Input:** - T: np.array of shape (4, 4) **Output:** - GraspGroup instance after transformation, the original Gras
customgraspnetAPI/grasp.py:435
Methodtransform
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
Methodtransform_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
Functiontransform_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
Methodtransform_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
Methodtransform_to_world
Returns an sdf object with center in the world frame of reference.
customgraspnetAPI/utils/dexnet/grasping/meshpy/sdf.py:148
Methodtranslation
**Output:** - np.array of shape (3,) of the translation.
customgraspnetAPI/grasp.py:154
Methodtranslations
**Output:** - np.array of shape (-1, 3) of the translations.
customgraspnetAPI/grasp.py:398
← previousnext →501–600 of 616, ranked by callers