MCPcopy Create free account

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

Functions616 in github.com/THU-VCLab/HGGD

Methodconfiguration
Returns the numpy array representing the hand configuration.
customgraspnetAPI/utils/dexnet/grasping/grasp.py:68
Methodconfiguration
:obj:`numpy.ndarray` : vector specifying the parameters of the grasp as follows (grasp_center, grasp_axis, grasp_angle, grasp_width, jaw_widt
customgraspnetAPI/utils/dexnet/grasping/grasp.py:175
Methodconfiguration
(self)
customgraspnetAPI/utils/dexnet/grasping/grasp.py:1336
Methodconfiguration_from_params
Converts grasp parameters to a configuration vector.
customgraspnetAPI/utils/dexnet/grasping/grasp.py:235
Methodconfiguration_from_params
Converts grasp parameters to a configuration vector.
customgraspnetAPI/utils/dexnet/grasping/grasp.py:1340
Methodconvex_pieces
(self)
customgraspnetAPI/utils/dexnet/grasping/graspable_object.py:96
Functioncreate_axis
(length, grid_size=0.01)
customgraspnetAPI/utils/utils.py:463
Methodcreate_line_of_action
Creates a straight line of action, or list of grid points, from a given point and direction in world or grid coords. Parameters
customgraspnetAPI/utils/dexnet/grasping/grasp.py:866
Methodcreate_mesh_box
Author: wei-tang Create box instance with mesh representation.
dataset/grasp.py:54
Functioncreate_point_cloud_from_depth_image
(depth, camera, organized=True)
customgraspnetAPI/utils/utils.py:48
Methodcreate_quality_function
Creates a quality function for a particular object based on a configuration, which can be passed directly from a configuration file.
customgraspnetAPI/utils/dexnet/grasping/grasp_quality_function.py:217
Functioncreate_table_cloud
Author: chenxi-wang **Input:** - width/height/depth: float, table width/height/depth along x/z/y-axis in meters - dx/dy/dz: float,
customgraspnetAPI/utils/utils.py:433
Methodcurvature
(self)
customgraspnetAPI/utils/dexnet/grasping/contacts.py:800
Methodcurvature
Returns an approximation to the local SDF curvature (Hessian) at the given coordinate in grid basis. Parameters ---------
customgraspnetAPI/utils/dexnet/grasping/meshpy/sdf.py:450
Methoddata
The SDF data. Returns ------- :obj:`numpy.ndarray` of float The 2- or 3-dimensional ndarray that holds the grid o
customgraspnetAPI/utils/dexnet/grasping/meshpy/sdf.py:88
Methoddensity
float : The density of the mesh.
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:184
Methoddepth
**Output:** - float of the depth.
customgraspnetAPI/grasp.py:112
Methoddepths
**Output:** - numpy array of shape (-1, ) of the depths.
customgraspnetAPI/grasp.py:359
Functiondexnet_params_to_matrix
Author: chenxi-wang **Input:** - binormal: numpy array of shape (3,). - angle: float of the angle. **Output:** - numpy a
customgraspnetAPI/utils/utils.py:337
Functiondexnet_params_to_matrix
**Input:** - binormal: numpy array of shape (3,). - angle: float of the angle. **Output:** - numpy array of shape (3, 3) of t
customgraspnetAPI/utils/rotation.py:121
Methoddimensions
SDF dimension information. Returns ------- :obj:`numpy.ndarray` of int The ndarray that contains the dimensions o
customgraspnetAPI/utils/dexnet/grasping/meshpy/sdf.py:29
Functiondisplay_inlier_outlier
(cloud, ind)
dataset/graspnet_dataset.py:15
Methoddistance
Evaluates the distance between two grasps. Parameters ---------- g1 : :obj:`ParallelJawPtGrasp3D` the first grasp
customgraspnetAPI/utils/dexnet/grasping/grasp.py:213
Functiondraw_rectangle
(heatmap, points)
dataset/base_grasp_dataset.py:46
Functiondraw_umich_gaussian
(heatmap, center, radius, k=1)
dataset/utils.py:31
Functiondump_grasp
(epoch, batch_idx, pred_gg, scene_list, dump_dir='./pred')
train_utils.py:481
Methodendpoints
Returns ------- :obj:`numpy.ndarray` location of jaws in 3D space at max opening width
customgraspnetAPI/utils/dexnet/grasping/grasp.py:202
Methodeval_all
**Input:** - dump_folder: string of the folder that saves the npy files. - proc: int of the number of processes to use to e
customgraspnetAPI/graspnet_eval.py:383
Methodeval_novel
**Input:** - dump_folder: string of the folder that saves the npy files. - proc: int of the number of processes to use to e
customgraspnetAPI/graspnet_eval.py:359
Methodeval_scene
**Input:** - scene_id: int of the scene index. - dump_folder: string of the folder that saves the dumped npy files.
customgraspnetAPI/graspnet_eval.py:104
Methodeval_seen
**Input:** - dump_folder: string of the folder that saves the npy files. - proc: int of the number of processes to use to e
customgraspnetAPI/graspnet_eval.py:313
Methodeval_similar
**Input:** - dump_folder: string of the folder that saves the npy files. - proc: int of the number of processes to use to e
customgraspnetAPI/graspnet_eval.py:336
Methodferrari_canny_L1
Ferrari & Canny's L1 metric. Also known as the epsilon metric. Parameters ---------- forces : 3xN :obj:`numpy.ndarray`
customgraspnetAPI/utils/dexnet/grasping/quality.py:585
Methodferrari_canny_L1_force_only
Ferrari & Canny's L1 metric with force only. Also known as the epsilon metric. Parameters ---------- forces : 3xN :ob
customgraspnetAPI/utils/dexnet/grasping/quality.py:698
Methodfilepath
Returns the full path to the .obj file associated with this reader/writer. Returns ------- :obj:`str` The
customgraspnetAPI/utils/dexnet/grasping/meshpy/obj_file.py:41
Methodfilepath
Returns the full path to the file associated with this reader/writer. Returns ------- :obj:`str` The full
customgraspnetAPI/utils/dexnet/grasping/meshpy/sdf_file.py:45
Methodfind_contact
Finds the contact location with the mesh, if it exists.
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:1146
Functionfind_scene_by_model_id
(dataset_root, model_id_list)
customgraspnetAPI/utils/utils.py:573
Methodfind_zero_crossing_linear
Find zero crossing using linear approximation.
customgraspnetAPI/utils/dexnet/grasping/meshpy/sdf.py:761
Methodflip_normals
Flips the mesh normals.
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:663
Methodflip_tri_orientation
Flips the orientation of all triangles.
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:1136
Functionfn
(m)
models/anchornet.py:13
Methodforce_closure_qp
Checks force closure by solving a quadratic program (whether or not zero is in the convex hull) Parameters ----------
customgraspnetAPI/utils/dexnet/grasping/quality.py:293
Methodforward
(self, x)
models/anchornet.py:67
Methodforward
(self, x)
models/anchornet.py:87
Methodforward
(self, x)
models/anchornet.py:111
Methodforward
(self, x)
models/anchornet.py:129
Methodforward
(self, x)
models/anchornet.py:206
Methodforward
(self, points, info)
models/localgraspnet.py:45
Methodforward
(self, x)
models/pointnet.py:27
Methodforward
(self, x)
models/pointnet.py:61
Methodforward
(self, x)
models/resnet_model.py:56
Methodforward
(self, x)
models/resnet_model.py:97
Methodforward
(self, x)
models/resnet_model.py:149
Methodframe
Returns the string name of the grasp reference frame.
customgraspnetAPI/utils/dexnet/grasping/grasp.py:73
Methodframe
:obj:`str` : name of grasp reference frame
customgraspnetAPI/utils/dexnet/grasping/grasp.py:183
Methodframe
(self)
customgraspnetAPI/utils/dexnet/grasping/grasp.py:1332
Methodfrom_list
(cls, grasp_list)
dataset/grasp.py:558
Methodfrom_npy
**Input:** - npy_file_path: string of the file path.
customgraspnetAPI/grasp.py:1011
Functiongenerate_scene
(scene_idx, anno_idx, return_poses=False, align=False
customgraspnetAPI/utils/utils.py:593
MethodgetDataIds
**Input:** - sceneIds:int or list of int of the scenes ids. **Output:** - a list of int of the data ids. Data coul
customgraspnetAPI/graspnet.py:309
MethodgetSceneIds
**Input:** - objIds: int or list of int of the object ids. **Output:** - a list of int of the scene ids that conta
customgraspnetAPI/graspnet.py:256
Methodget_camera_pose
(self, index)
dataset/graspnet_dataset.py:121
Methodget_grasp_points
(self)
dataset/grasp.py:776
Methodget_id
**Output:** - return the id of this object
customgraspnetAPI/utils/pose.py:35
Functionget_pose
(pose)
customgraspnetAPI/utils/trans3d.py:6
Methodget_pose_list
(self)
customgraspnetAPI/utils/xmlhandler.py:119
Functiongetframeposevectorlist
(objectidlist, is_resume, frame_number, xml_dir)
customgraspnetAPI/utils/xmlhandler.py:159
Methodgettop
(self)
customgraspnetAPI/utils/xmlhandler.py:93
Methodgrad_x
(self)
customgraspnetAPI/utils/dexnet/grasping/contacts.py:784
Methodgrad_x_2d
(self)
customgraspnetAPI/utils/dexnet/grasping/contacts.py:792
Methodgrad_y
(self)
customgraspnetAPI/utils/dexnet/grasping/contacts.py:788
Methodgrad_y_2d
(self)
customgraspnetAPI/utils/dexnet/grasping/contacts.py:796
Methodgradients
Gradients of the SDF. Returns ------- :obj:`list` of :obj:`numpy.ndarray` of float A list of ndarrays of the same
customgraspnetAPI/utils/dexnet/grasping/meshpy/sdf.py:75
Methodgrasp_angles_from_stp_z
Get angles of the the grasp from the table plane: 1) the angle between the grasp axis and table normal 2) the angle between the grasp
customgraspnetAPI/utils/dexnet/grasping/grasp.py:422
Methodgrasp_from_contact_and_axis_on_grid
Creates a grasp from a single contact point in grid coordinates and direction in grid coordinates. Parameters ----------
customgraspnetAPI/utils/dexnet/grasping/grasp.py:1175
Methodgrasp_from_endpoints
Create a grasp from given endpoints in 3D space, making the axis the line between the points. Parameters --------- g1
customgraspnetAPI/utils/dexnet/grasping/grasp.py:306
Methodgrasp_isotropy
Condition number of grasp matrix - ratio of "weakest" wrench that the grasp can exert to the "strongest" one. Parameters ----------
customgraspnetAPI/utils/dexnet/grasping/quality.py:550
Methodgrasp_y_axis_offset
Return a new grasp with the given approach angle. Parameters ---------- theta : float approach angle for the new
customgraspnetAPI/utils/dexnet/grasping/grasp.py:1045
Methodgraspable
(self)
customgraspnetAPI/utils/dexnet/grasping/contacts.py:75
Methodgraspable
(self)
customgraspnetAPI/utils/dexnet/grasping/grasp_quality_function.py:126
Methodgraspable
(self)
customgraspnetAPI/utils/dexnet/grasping/grasp_quality_function.py:171
Methodgripper_pose
Returns the RigidTransformation from the gripper frame to the object frame when the gripper is executing the given grasp. Differs from the
customgraspnetAPI/utils/dexnet/grasping/grasp.py:397
Methodheight
**Output:** - float of the height.
customgraspnetAPI/grasp.py:94
Methodheight
**Output:** - float of the height.
customgraspnetAPI/grasp.py:653
Methodheights
**Output:** - numpy array of shape (-1, ) of the heights.
customgraspnetAPI/grasp.py:340
Methodheights
**Output:** - numpy array of the heights.
customgraspnetAPI/grasp.py:926
Methodid
int : id of grasp
customgraspnetAPI/utils/dexnet/grasping/grasp.py:188
Methodin_direction
(self)
customgraspnetAPI/utils/dexnet/grasping/contacts.py:91
Methodinertia
:obj:`numpy.ndarray` of float : The 3x3 inertial matrix of the mesh (read-only).
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:233
Methodis_sink
(self)
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:1797
Methodis_watertight
(self)
customgraspnetAPI/utils/dexnet/grasping/meshpy/mesh.py:1262
Methodjaw_width
float : width of the jaws in the tangent plane to the grasp axis
customgraspnetAPI/utils/dexnet/grasping/grasp.py:165
Methodkey
(self)
customgraspnetAPI/utils/dexnet/grasping/graspable_object.py:88
MethodloadData
**Input:** - ids: int or list of int of the the data ids. - extargs: extra arguments. This function can also be called with
customgraspnetAPI/graspnet.py:827
MethodloadObjModels
**Function:** - load object 3D models of the given obj ids **Input:** - objIDs: int or list of int of the object i
customgraspnetAPI/graspnet.py:361
MethodloadObjTrimesh
**Function:** - load object 3D trimesh of the given obj ids **Input:** - objIDs: int or list of int of the object
customgraspnetAPI/graspnet.py:389
MethodloadScenePointCloud
(self, sceneId, annId=0, format='open3d')
dataset/base_grasp_dataset.py:368
Functionlog_test_result
(args, results, epoch, mode='regnet')
train_utils.py:427
Methodmass
(self)
customgraspnetAPI/utils/dexnet/grasping/graspable_object.py:84
← previousnext →401–500 of 616, ranked by callers