↓ 1 callersFunctionconvert load MJCF file, parse it in mujoco and save it as URDF replicate just the kinematic structure, ignore most dynamics, actuators, etc. only
ws_ros2/src/retargeting_benchmark/src/utils/mjcf_urdf_simple_converter.py:102
↓ 1 callersMethodgenerate_link_indices Example: >>> generate_link_indices(4) ([2, 3, 4, 3, 4, 4, 0, 0, 0, 0], [1, 1, 1, 2, 2, 3, 1, 2, 3, 4])
ws_ros2/src/retargeting_benchmark/src/retarget_optimizer.py:678
↓ 1 callersFunctionquaternion_angular_error angular error between two quaternions :param q1: (..., 4), torch; quat is (w, x, y, z) :param q2: (..., 4), torch :param epsilon: a s
ws_ros2/src/retargeting_benchmark/src/utils/utils_torch.py:22
↓ 1 callersMethodset_dexpilot_cache Example: >>> set_dexpilot_cache(4, 0.1, 0.2) (array([False, False, False, False, False, False]), [1, 2, 2], [
ws_ros2/src/retargeting_benchmark/src/retarget_optimizer.py:701