Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YanjieZe/GMR
/ functions
Functions
517 in github.com/YanjieZe/GMR
⨍
Functions
517
◇
Types & classes
58
↓ 1 callers
Method
_set_dof_indices
(self)
general_motion_retargeting/kinematics_model.py:165
↓ 1 callers
Method
_validate_frame
Validate that frame contains minimum required bodies. Args: human_frame: Dictionary of body data
general_motion_retargeting/utils/xsens_vendor/xsens_to_gmr_adapter.py:315
↓ 1 callers
Method
add_asset
(self, new_asset)
general_motion_retargeting/optitrack_vendor/MoCapData.py:524
↓ 1 callers
Method
add_asset
Add an asset
general_motion_retargeting/optitrack_vendor/DataDescriptions.py:579
↓ 1 callers
Function
add_lists
(totals, totals_tmp)
general_motion_retargeting/optitrack_vendor/MoCapData.py:50
↓ 1 callers
Function
add_lists
(totals, totals_tmp)
general_motion_retargeting/optitrack_vendor/DataDescriptions.py:47
↓ 1 callers
Method
add_marker
(self, marker)
general_motion_retargeting/optitrack_vendor/MoCapData.py:486
↓ 1 callers
Method
add_marker_set
Add a Markerset
general_motion_retargeting/optitrack_vendor/DataDescriptions.py:549
↓ 1 callers
Method
add_pos
(self, pos)
general_motion_retargeting/optitrack_vendor/MoCapData.py:236
↓ 1 callers
Method
add_rigid_body
(self, rigid_body)
general_motion_retargeting/optitrack_vendor/MoCapData.py:482
↓ 1 callers
Method
add_rigid_body
Add a rigid body
general_motion_retargeting/optitrack_vendor/DataDescriptions.py:559
↓ 1 callers
Method
add_unlabeled_marker
(self, pos)
general_motion_retargeting/optitrack_vendor/MoCapData.py:203
↓ 1 callers
Function
angle_axis_to_exp_map
(angle, axis)
general_motion_retargeting/torch_utils.py:170
↓ 1 callers
Method
animate_bvh
(self)
general_motion_retargeting/utils/xsens_vendor/mujoco_retargeting_robot_view.py:148
↓ 1 callers
Method
animate_bvh
(self, scale=None)
general_motion_retargeting/utils/xsens_vendor/mujoco_xsens_bvh_view.py:95
↓ 1 callers
Method
apply_ground_offset
(self, human_data)
general_motion_retargeting/motion_retarget.py:309
↓ 1 callers
Method
bias_edit
(self, rotations, positions)
general_motion_retargeting/utils/xsens_vendor/BVHParser.py:366
↓ 1 callers
Function
bvh_parse
(args)
general_motion_retargeting/utils/xsens.py:9
↓ 1 callers
Function
check_memory
(threshold_gb=30)
scripts/smplx_to_robot_dataset.py:26
↓ 1 callers
Method
compensate_displacements
计算第一个四元数的 z 轴转角,并对所有位移值应用补偿旋转(反向旋转)。 参数: quaternions: n x 4 的 NumPy 数组,每行是一个四元数 [w, x, y, z] displacements: n
general_motion_retargeting/utils/xsens_vendor/BVHParser.py:381
↓ 1 callers
Method
compensate_z_rotation
补偿 n x 4 四元数数组中所有四元数的 z 轴转角,使其等于第一个四元数的 z 轴转角归零。 参数: quaternions: n x 4 的 NumPy 数组,每行是一个四元数 [w, x, y, z] 返回:
general_motion_retargeting/utils/xsens_vendor/BVHParser.py:427
↓ 1 callers
Method
connected
(self)
general_motion_retargeting/optitrack_vendor/NatNetClient.py:279
↓ 1 callers
Function
decode_timecode
Takes in timecode and decodes it
general_motion_retargeting/optitrack_vendor/MoCapData.py:131
↓ 1 callers
Method
dof_to_rot
(self, dof)
general_motion_retargeting/kinematics_model.py:21
↓ 1 callers
Method
dof_to_rot
(self, dof)
general_motion_retargeting/kinematics_model.py:172
↓ 1 callers
Function
draw_frame
( pos, mat, v, size, joint_name=None, orientation_correction=R.from_euler("xyz", [0, 0
general_motion_retargeting/robot_motion_viewer.py:13
↓ 1 callers
Function
euler_to_quat
Convert Euler angles (in degrees) to quaternion(wxyz) in xyz order.
general_motion_retargeting/utils/xsens_vendor/BVHParser.py:48
↓ 1 callers
Function
exp_map_to_angle_axis
(exp_map)
general_motion_retargeting/torch_utils.py:205
↓ 1 callers
Method
format_for_save
将窗口 offsets 格式化为 JSON 保存格式。
general_motion_retargeting/utils/xsens_vendor/bvh_edit/CurveEditor.py:102
↓ 1 callers
Method
freeze_ui
(self)
general_motion_retargeting/utils/xsens_vendor/bvh_edit/CurveEditor.py:219
↓ 1 callers
Function
generate_device_data
(frame_num=0)
general_motion_retargeting/optitrack_vendor/MoCapData.py:1104
↓ 1 callers
Function
generate_force_plate_data
(frame_num=0)
general_motion_retargeting/optitrack_vendor/MoCapData.py:1074
↓ 1 callers
Function
generate_fp_channel_data
( frame_num=0, fp_num=0, channel_num=0, num_frames=1)
general_motion_retargeting/optitrack_vendor/MoCapData.py:1055
↓ 1 callers
Function
generate_label
(label_base="label", label_num=0)
general_motion_retargeting/optitrack_vendor/MoCapData.py:932
↓ 1 callers
Function
generate_labeled_marker_data
(frame_num=0)
general_motion_retargeting/optitrack_vendor/MoCapData.py:1042
↓ 1 callers
Function
generate_marker_set_data
(frame_num=0, marker_set_num=0)
general_motion_retargeting/optitrack_vendor/MoCapData.py:960
↓ 1 callers
Method
generate_mujoco_xml
(self, frame_0=[])
general_motion_retargeting/utils/xsens_vendor/BVHParser.py:517
↓ 1 callers
Function
generate_prefix_data
(frame_num=0)
general_motion_retargeting/optitrack_vendor/MoCapData.py:927
↓ 1 callers
Function
generate_rigid_body_data
(frame_num=0)
general_motion_retargeting/optitrack_vendor/MoCapData.py:1000
↓ 1 callers
Function
generate_skeleton_data
(frame_num=0)
general_motion_retargeting/optitrack_vendor/MoCapData.py:1019
↓ 1 callers
Function
generate_suffix_data
(frame_num=0)
general_motion_retargeting/optitrack_vendor/MoCapData.py:1111
↓ 1 callers
Method
get_application_name
(self)
general_motion_retargeting/optitrack_vendor/NatNetClient.py:2302
↓ 1 callers
Method
get_cal_matrix_as_string
Get force plate calibration matrix as string
general_motion_retargeting/optitrack_vendor/DataDescriptions.py:318
↓ 1 callers
Method
get_channel_data
获取当前选定关节和通道的数据,并应用偏移
general_motion_retargeting/utils/xsens_vendor/bvh_edit/CurveEditor.py:279
↓ 1 callers
Method
get_controller_data
(self)
general_motion_retargeting/xrobot_utils.py:41
↓ 1 callers
Method
get_controller_data
Get controller data for specific frame index
general_motion_retargeting/xrobot_utils.py:629
↓ 1 callers
Method
get_corners_as_string
Get force plate corner positions as a string
general_motion_retargeting/optitrack_vendor/DataDescriptions.py:336
↓ 1 callers
Function
get_data_sub_packet_type
(new_data)
general_motion_retargeting/optitrack_vendor/DataDescriptions.py:116
↓ 1 callers
Method
get_frame
(self)
general_motion_retargeting/optitrack_vendor/NatNetClient.py:2368
↓ 1 callers
Method
get_frame_info
Get information about the current frame. Returns: Dictionary with frame metadata
general_motion_retargeting/utils/xsens_vendor/xsens_to_gmr_adapter.py:330
↓ 1 callers
Method
get_frame_number
(self)
general_motion_retargeting/optitrack_vendor/NatNetClient.py:2385
↓ 1 callers
Function
get_gvhmr_data_offline_fast
Must return a dictionary with the following structure: { "Hips": (position, orientation), "Spine": (position, orientation),
general_motion_retargeting/utils/smpl.py:263
↓ 1 callers
Method
get_headset_pose
(self)
general_motion_retargeting/xrobot_utils.py:86
↓ 1 callers
Method
get_headset_pose
Get headset pose for specific frame index
general_motion_retargeting/xrobot_utils.py:674
↓ 1 callers
Method
get_labeled_marker_count
(self)
general_motion_retargeting/optitrack_vendor/MoCapData.py:601
↓ 1 callers
Function
get_lafan1_set
Extract the same test set as in the article, given the location of the BVH files. :param bvh_path: Path to the dataset BVH files :param
general_motion_retargeting/utils/lafan_vendor/extract.py:169
↓ 1 callers
Method
get_major
(self)
general_motion_retargeting/optitrack_vendor/NatNetClient.py:265
↓ 1 callers
Method
get_marker_count
(self)
general_motion_retargeting/optitrack_vendor/MoCapData.py:493
↓ 1 callers
Method
get_marker_set_count
(self)
general_motion_retargeting/optitrack_vendor/MoCapData.py:206
↓ 1 callers
Method
get_minor
(self)
general_motion_retargeting/optitrack_vendor/NatNetClient.py:268
↓ 1 callers
Method
get_new_data
(self)
general_motion_retargeting/utils/xsens_vendor/bvh_edit/CurveEditor.py:287
↓ 1 callers
Method
get_num_markers
(self)
general_motion_retargeting/optitrack_vendor/DataDescriptions.py:149
↓ 1 callers
Method
get_num_markers
(self)
general_motion_retargeting/optitrack_vendor/DataDescriptions.py:209
↓ 1 callers
Method
get_object_from_list
Determine list name and position of the object
general_motion_retargeting/optitrack_vendor/DataDescriptions.py:638
↓ 1 callers
Method
get_processed_body_data
(self, use_hands=False)
general_motion_retargeting/xrobot_utils.py:138
↓ 1 callers
Method
get_processed_body_data
Get processed body data for specific frame index
general_motion_retargeting/xrobot_utils.py:440
↓ 1 callers
Method
get_raw_body_data
(self)
general_motion_retargeting/xrobot_utils.py:120
↓ 1 callers
Method
get_rigid_body_count
(self)
general_motion_retargeting/optitrack_vendor/MoCapData.py:490
↓ 1 callers
Method
get_skeleton_count
(self)
general_motion_retargeting/optitrack_vendor/MoCapData.py:390
↓ 1 callers
Function
length
Computes vector norm along a tensor axis(axes) :param x: tensor :param axis: axis(axes) along which to compute the norm :param keepd
general_motion_retargeting/utils/lafan_vendor/utils.py:4
↓ 1 callers
Function
load_bvh_file
Must return a dictionary with the following structure: { "Hips": (position, orientation), "Spine": (position, orientation),
general_motion_retargeting/utils/lafan1.py:8
↓ 1 callers
Function
load_gvhmr_pred_file
(gvhmr_pred_file, smplx_body_model_path)
general_motion_retargeting/utils/smpl.py:50
↓ 1 callers
Function
load_optitrack_fbx_motion_file
(motion_file)
scripts/fbx_offline_to_robot.py:12
↓ 1 callers
Function
load_xsens_file
Must return a dictionary with the following structure: { "Hips": (position, orientation), "Spine": (position, orientation),
general_motion_retargeting/utils/xsens.py:35
↓ 1 callers
Function
main
(args)
scripts/optitrack_to_robot.py:7
↓ 1 callers
Function
main
()
scripts/smplx_to_robot_dataset.py:171
↓ 1 callers
Method
offset_human_data_to_ground
find the lowest point of the human data and offset the human data to the ground
general_motion_retargeting/motion_retarget.py:286
↓ 1 callers
Function
offset_to_ground
(retargeter: GMR, motion_data)
scripts/fbx_offline_to_robot.py:17
↓ 1 callers
Method
on_apply_preview
(self)
general_motion_retargeting/utils/xsens_vendor/bvh_edit/CurveEditor.py:246
↓ 1 callers
Method
print_frame_summary
Print a summary of the current frame data. Args: human_frame: Current human frame data
general_motion_retargeting/utils/xsens_vendor/xsens_to_gmr_adapter.py:385
↓ 1 callers
Function
process_directory
(src_folder, tgt_folder, gender='neutral')
scripts/smpl_to_smplx.py:47
↓ 1 callers
Function
quat_between
Quaternion rotations between two 3D-vector arrays :param x: tensor of 3D vectors :param y: tensor of 3D vetcors :return: tensor of q
general_motion_retargeting/utils/lafan_vendor/utils.py:198
↓ 1 callers
Function
quat_conjugate
(a)
general_motion_retargeting/torch_utils.py:141
↓ 1 callers
Function
quat_diff
(q0, q1)
general_motion_retargeting/torch_utils.py:343
↓ 1 callers
Function
quat_fk
Performs Forward Kinematics (FK) on local quaternions and local positions to retrieve global representations :param lrot: tensor of local qu
general_motion_retargeting/utils/xsens_vendor/BVHParser.py:76
↓ 1 callers
Function
quat_fk
Performs Forward Kinematics (FK) on local quaternions and local positions to retrieve global representations :param lrot: tensor of local qu
general_motion_retargeting/utils/lafan_vendor/utils.py:88
↓ 1 callers
Function
quat_from_euler_xyz
(roll, pitch, yaw)
general_motion_retargeting/torch_utils.py:90
↓ 1 callers
Function
quat_ik
Performs Inverse Kinematics (IK) on global quaternions and global positions to retrieve local representations :param grot: tensor of global
general_motion_retargeting/utils/lafan_vendor/utils.py:106
↓ 1 callers
Function
quat_mul
(a, b)
general_motion_retargeting/torch_utils.py:118
↓ 1 callers
Function
quat_mul
Performs quaternion multiplication on arrays of quaternions :param x: tensor of quaternions of shape (..., Nb of joints, 4) :param y: te
general_motion_retargeting/utils/xsens_vendor/BVHParser.py:96
↓ 1 callers
Function
quat_mul_vec
Performs multiplication of an array of 3D vectors by an array of quaternions (rotation). :param q: tensor of quaternions of shape (..., Nb o
general_motion_retargeting/utils/xsens_vendor/BVHParser.py:120
↓ 1 callers
Function
quat_pos
(x)
general_motion_retargeting/torch_utils.py:314
↓ 1 callers
Function
quat_slerp
Performs spherical linear interpolation (SLERP) between x and y, with proportion a :param x: quaternion tensor :param y: quaternion tens
general_motion_retargeting/utils/lafan_vendor/utils.py:165
↓ 1 callers
Function
quat_to_angle_axis
(q)
general_motion_retargeting/torch_utils.py:148
↓ 1 callers
Function
quat_to_axis_angle
(q)
general_motion_retargeting/torch_utils.py:321
↓ 1 callers
Function
quat_to_exp_map
(q)
general_motion_retargeting/torch_utils.py:177
↓ 1 callers
Function
remove_quat_discontinuities
Removing quat discontinuities on the time dimension (removing flips) :param rotations: Array of quaternions of shape (T, J, 4) :return:
general_motion_retargeting/utils/xsens_vendor/BVHParser.py:58
↓ 1 callers
Method
rot_to_dof
(self, rot)
general_motion_retargeting/kinematics_model.py:38
↓ 1 callers
Method
run
(self)
general_motion_retargeting/utils/xsens_vendor/bvh_edit/CurveEditor.py:44
↓ 1 callers
Method
save_as_csv
(self,_csv_file)
general_motion_retargeting/utils/xsens_vendor/mujoco_retargeting_robot_view.py:27
← previous
next →
201–300 of 517, ranked by callers