rofunc.utils.robolab.rdf.rdf#
1. Module Contents#
1.1. Classes#
1.2. Functions#
1.3. API#
- class rofunc.utils.robolab.rdf.rdf.RDF(args)[source]#
Initialization
Use Bernstein Polynomial to represent the SDF of the robot
- get_whole_body_sdf_batch(points, joint_value, model, base_trans=None, use_derivative=True, used_links=None)[source]#
- get_whole_body_sdf_with_joints_grad_batch(points, joint_value, model, base_trans=None, used_links=None)[source]#
Get the SDF value and gradient of the whole body with respect to the joints
- Parameters:
points – (batch_size, 3)
joint_value – (batch_size, joint_num)
model – the trained RDF model
base_trans – the transformation matrix of base pose, (1, 4, 4)
used_links – the links to be used, list of link names
- Returns:
- get_whole_body_normal_with_joints_grad_batch(points, joint_value, model, base_trans=None, used_links=None)[source]#
Get the normal vector of the whole body with respect to the joints
- Parameters:
points – (batch_size, 3)
joint_value – (batch_size, joint_num)
model – the trained RDF model
base_trans – the transformation matrix of base pose, (1, 4, 4)
used_links – the links to be used, list of link names
- Returns: