Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZyuonRobotics/humanoid-retarget
/ functions
Functions
386 in github.com/ZyuonRobotics/humanoid-retarget
⨍
Functions
386
◇
Types & classes
86
↳
Endpoints
38
↓ 25 callers
Method
load
Load a config from file. Returns None if not found. Args: robot_name: Robot name (e.g., "DumBot13-21dof") generator_t
humanoid_retargeting/utils/retarget_config.py:46
↓ 8 callers
Method
close
(self)
humanoid_retargeting/aligner.py:240
↓ 8 callers
Function
dispose
()
web_frontend/src/components/Viewer3D/mujoco.ts:701
↓ 8 callers
Method
load_cali_qpos
(self)
humanoid_retargeting/aligner.py:175
↓ 7 callers
Method
array_to_string
Convert array to space-separated string with specified precision
humanoid_retargeting/mjcf_generator/retargeting_generator_base.py:140
↓ 7 callers
Method
parse_startswith
(self, token)
humanoid_retargeting/mjcf_generator/bvh2mjcf_generator.py:35
↓ 7 callers
Method
redraw
* Mark scene as needing re-render (on-demand rendering) * Also updates body positions from simulation or player motion before rendering
web_frontend/src/components/Viewer3D/ThreeScene.ts:239
↓ 7 callers
Method
render
* Render immediately (for scenes requiring immediate update)
web_frontend/src/components/Viewer3D/ThreeScene.ts:252
↓ 6 callers
Method
from_source_file_path
(cls, source_file_path, **kwargs)
humanoid_retargeting/motion_player/player_base.py:43
↓ 6 callers
Function
initMuJoCo
( xmlString: string, qpos?: number[], meshes?: Record<string, string> )
web_frontend/src/components/Viewer3D/mujoco.ts:327
↓ 6 callers
Function
setCamera
(config: Partial<CameraConfig>)
web_frontend/src/components/Viewer3D/mujoco.ts:659
↓ 6 callers
Method
setShowSkin
* Update body positions from simulation (called every frame in animation loop)
web_frontend/src/components/Viewer3D/ThreeScene.ts:734
↓ 6 callers
Function
strip_prefix
Remove any of the *prefixes* from *value* (str/list/dict).
scripts/mocap_retargeting/generate_retarget_params.py:32
↓ 5 callers
Method
dispose
* Dispose resources
web_frontend/src/components/Viewer3D/ThreeScene.ts:1022
↓ 5 callers
Function
loadMotionTree
(preserveSelection: boolean = false)
web_frontend/src/components/TopBar/index.tsx:234
↓ 5 callers
Method
stop
* Stop rendering loop
web_frontend/src/components/Viewer3D/ThreeScene.ts:990
↓ 5 callers
Function
useConfigContext
()
web_frontend/src/contexts/ConfigContext.tsx:216
↓ 4 callers
Method
apply_adjustments
Apply adjustments from human_config to reference qpos. This includes: 1. Height adjustment for root position (can be a scalar
humanoid_retargeting/motion_player/humanoid_player_base.py:268
↓ 4 callers
Method
load
(self, source_file_path)
humanoid_retargeting/mjcf_generator/retargeting_generator_base.py:111
↓ 4 callers
Method
load
(self, **kwargs)
humanoid_retargeting/motion_player/player_base.py:37
↓ 4 callers
Method
load_motion_file
(self, source_file_path)
humanoid_retargeting/motion_player/robot_motion_player.py:32
↓ 4 callers
Method
load_mujoco
(self, retarget_config=None, generate_skin=None)
humanoid_retargeting/aligner.py:88
↓ 4 callers
Function
plot2d
(array: np.ndarray, dim_label: list[str] = None, view: bool = True)
humanoid_retargeting/utils/plot.py:4
↓ 4 callers
Method
render
(self)
humanoid_retargeting/aligner.py:232
↓ 4 callers
Method
run_ik
(self, progress_bar=True)
humanoid_retargeting/retargeter.py:159
↓ 4 callers
Method
setHumanVisible
* Set visibility for human bodies (bodies with 'human_' prefix or all non-world bodies in human-only mode)
web_frontend/src/components/Viewer3D/ThreeScene.ts:1273
↓ 4 callers
Method
setRobotVisible
* Set visibility for robot bodies (bodies with 'robot_' prefix or all non-world bodies in robot-only mode)
web_frontend/src/components/Viewer3D/ThreeScene.ts:1210
↓ 4 callers
Method
start
* Start rendering loop
web_frontend/src/components/Viewer3D/ThreeScene.ts:981
↓ 4 callers
Method
sync_data
(self, frame_idx)
humanoid_retargeting/motion_player/player_base.py:100
↓ 3 callers
Method
close
(self)
humanoid_retargeting/motion_player/player_base.py:140
↓ 3 callers
Function
euler2quat
(x: float, y: float, z: float)
humanoid_retargeting/utils/rot.py:4
↓ 3 callers
Function
getBreadcrumbs
()
web_frontend/src/components/Widgets/FileBrowserWidget/index.tsx:97
↓ 3 callers
Method
get_all_frame_body_transforms
Pre-compute all body transforms for combined human-robot model. Returns: dict: Contains 'xpos' (frame_num, nbody, 3) and 'xquat'
humanoid_retargeting/retargeter.py:301
↓ 3 callers
Method
get_prefix_name
Generate prefixed name for joints/bodies
humanoid_retargeting/mjcf_generator/retargeting_generator_base.py:122
↓ 3 callers
Method
get_tracker_offset
(self)
humanoid_retargeting/aligner.py:253
↓ 3 callers
Function
initMuJoCoModule
()
web_frontend/src/components/Viewer3D/mujoco.ts:154
↓ 3 callers
Method
save_as_npz
(self, res_path, target_framerate=100)
humanoid_retargeting/retargeter.py:262
↓ 3 callers
Method
setTheme
* Set theme and update background and ground colors
web_frontend/src/components/Viewer3D/ThreeScene.ts:1331
↓ 3 callers
Method
updateBodiesFromSimulation
()
web_frontend/src/components/Viewer3D/ThreeScene.ts:887
↓ 3 callers
Function
updateJointAdjustment
(jointName: string, value: number[])
web_frontend/src/components/Widgets/JointAdjustmentWidget/index.tsx:32
↓ 3 callers
Function
useConfig
( config: RetargetConfig, onChange: (config: RetargetConfig) => void )
web_frontend/src/hooks/useConfig.ts:4
↓ 2 callers
Method
_get_config_path
Get the path to a config file. Args: robot_name: Robot name generator_type: Generator type config_name: C
humanoid_retargeting/utils/retarget_config.py:101
↓ 2 callers
Function
_scan_directory
Recursively scan directory for motion files.
web_backend/api/model.py:37
↓ 2 callers
Function
add_three_axis_editor_callback
Factory that creates either a *ratio* or *rotation* editor section.
scripts/mocap_retargeting/generate_retarget_params.py:94
↓ 2 callers
Function
add_tracker_callback
(sender, app_data, part)
scripts/mocap_retargeting/generate_retarget_params.py:162
↓ 2 callers
Function
build_body_tree
Recursively build tree structure from joint names and parent indices. Args: joint_names: List of joint names joint_parents: List
humanoid_retargeting/mjcf_generator/body_tree.py:7
↓ 2 callers
Function
build_body_tree
Build tree structure from body list and parent IDs.
web_backend/api/robots.py:17
↓ 2 callers
Function
build_test_obj
()
tests/test_utils/test_retarget_params.py:3
↓ 2 callers
Method
calculate_height_adjustment
Calculate root height adjustment to ensure feet contact ground when meeting multiple criteria. The height adjustment is calculated an
humanoid_retargeting/motion_player/humanoid_player_base.py:91
↓ 2 callers
Function
changeLanguage
(lang: string)
web_frontend/src/components/TopBar/index.tsx:442
↓ 2 callers
Method
clearScene
* Clear scene
web_frontend/src/components/Viewer3D/ThreeScene.ts:1001
↓ 2 callers
Method
createScene
* Create scene from MuJoCo model
web_frontend/src/components/Viewer3D/ThreeScene.ts:330
↓ 2 callers
Function
filter_lowpass2d
(data: np.ndarray, frame_rate: int, cutoff: float = 20, order: int = 2)
humanoid_retargeting/utils/lowpass.py:7
↓ 2 callers
Function
flattenTreeNames
(nodes: BodyTreeNode[] | TreeNodeLocal[])
web_frontend/src/components/Widgets/TrackersWidget/BodyTreeSelectorModal.tsx:27
↓ 2 callers
Method
from_source_file_path
(cls, source_file_path, **kwargs)
humanoid_retargeting/mjcf_generator/retargeting_generator_base.py:43
↓ 2 callers
Method
getPlayerFrame
* Get current player frame
web_frontend/src/components/Viewer3D/ThreeScene.ts:1115
↓ 2 callers
Function
getRobotData
(robotName: string)
web_frontend/src/components/Viewer3D/index.tsx:659
↓ 2 callers
Method
get_array_ratio
(ratio)
humanoid_retargeting/mjcf_generator/retargeting_generator_base.py:127
↓ 2 callers
Method
get_geom_attributes
Get default geometry attributes
humanoid_retargeting/mjcf_generator/retargeting_generator_base.py:59
↓ 2 callers
Method
get_global_body_ratio
(self)
humanoid_retargeting/aligner.py:131
↓ 2 callers
Function
get_leg_length
( generator, foot_names, hip_names, foot_offset, hip_offset, body_rotate_dict=Non
humanoid_retargeting/aligner.py:19
↓ 2 callers
Function
handleUpdatePair
( trackerKey: string, index: number, field: 'human' | 'robot', value: string )
web_frontend/src/components/Widgets/TrackersWidget/index.tsx:35
↓ 2 callers
Function
initThreeScene
(canvas: HTMLCanvasElement, performanceSettings?: any)
web_frontend/src/components/Viewer3D/mujoco.ts:519
↓ 2 callers
Method
interpolate
(self, target_framerate=100)
humanoid_retargeting/retargeter.py:252
↓ 2 callers
Method
lowpass_all_qpos
(self, cutoff=20, order=2)
humanoid_retargeting/motion_player/humanoid_player_base.py:76
↓ 2 callers
Method
parse_offset
(self)
humanoid_retargeting/mjcf_generator/bvh2mjcf_generator.py:39
↓ 2 callers
Method
plot_ref_baselink_cartesian
(self)
humanoid_retargeting/motion_player/player_base.py:121
↓ 2 callers
Method
plot_ref_baselink_euler
(self)
humanoid_retargeting/motion_player/player_base.py:127
↓ 2 callers
Method
plot_ref_baselink_quaternion
(self)
humanoid_retargeting/motion_player/player_base.py:124
↓ 2 callers
Method
plot_ref_joint_quaternion
(self, joint_idx=0)
humanoid_retargeting/motion_player/player_base.py:131
↓ 2 callers
Method
resumePlayer
* Resume player motion animation
web_frontend/src/components/Viewer3D/ThreeScene.ts:1130
↓ 2 callers
Method
rotateByQuat
* Rotate a point by a quaternion
web_frontend/src/components/Viewer3D/ThreeScene.ts:874
↓ 2 callers
Method
rotvec2quat
(rotvec)
humanoid_retargeting/motion_player/smpl_player.py:27
↓ 2 callers
Method
save
Save config to file. Args: robot_name: Robot name (e.g., "DumBot13-21dof") generator_type: Generator type ("smpl" or
humanoid_retargeting/utils/retarget_config.py:62
↓ 2 callers
Method
save_config
(self, source_file_path)
humanoid_retargeting/motion_player/humanoid_player_base.py:63
↓ 2 callers
Method
save_retarget_config
(self, save_config_name=None)
humanoid_retargeting/aligner.py:244
↓ 2 callers
Method
setPlayerFrame
* Set current frame for player motion playback
web_frontend/src/components/Viewer3D/ThreeScene.ts:1106
↓ 2 callers
Function
setPlayerMotionData
(data: PlayerMotionData)
web_frontend/src/components/Viewer3D/mujoco.ts:778
↓ 2 callers
Function
sync_body_editors_from_dict
Synchronizes the body_ratio_dict or body_rotate_dict GUI with the values in retarget_config. Will clear the existing GUI and rebuild the comb
scripts/mocap_retargeting/generate_retarget_params.py:269
↓ 2 callers
Method
updateBodiesFromPlayerMotion
* Update body positions from pre-computed player motion data
web_frontend/src/components/Viewer3D/ThreeScene.ts:1151
↓ 2 callers
Method
updateSkinVertices
* Update skin mesh vertices based on bone transforms
web_frontend/src/components/Viewer3D/ThreeScene.ts:771
↓ 2 callers
Function
useMotionContext
()
web_frontend/src/contexts/MotionContext.tsx:173
↓ 2 callers
Function
usePerformanceContext
()
web_frontend/src/contexts/PerformanceContext.tsx:58
↓ 1 callers
Function
_get_robot_mjcf_with_meshes_cached
Cached implementation — robot mesh data is static per robot.
web_backend/api/model.py:393
↓ 1 callers
Method
_load
(self, source_file_path)
humanoid_retargeting/mjcf_generator/bvh2mjcf_generator.py:92
↓ 1 callers
Method
_load
(self, **kwargs)
humanoid_retargeting/motion_player/player_base.py:64
↓ 1 callers
Method
_load
(self, source_file_path)
humanoid_retargeting/motion_player/bvh_player.py:75
↓ 1 callers
Method
_validate_arm_joints
(self, arm_joints)
humanoid_retargeting/motion_player/robot_peroid_player.py:41
↓ 1 callers
Method
_validate_config_structure
(self, config)
humanoid_retargeting/motion_player/robot_peroid_player.py:17
↓ 1 callers
Method
_validate_leg_joints
(self, leg_joints)
humanoid_retargeting/motion_player/robot_peroid_player.py:22
↓ 1 callers
Function
addJointAdjustment
(jointName: string)
web_frontend/src/components/Widgets/JointAdjustmentWidget/index.tsx:19
↓ 1 callers
Function
assign_skeleton_id
(skeleton: Tuple[str, ...])
scripts/mocap_processing/check_bvh_bodytype_in_folder.py:15
↓ 1 callers
Method
build_mink_limits
(self)
humanoid_retargeting/retargeter.py:126
↓ 1 callers
Method
build_mink_tasks
(self)
humanoid_retargeting/retargeter.py:145
↓ 1 callers
Function
build_node
(body_id: int)
web_backend/api/robots.py:41
↓ 1 callers
Method
build_skeleton
(self, parent, joint_idx, prefix=None)
humanoid_retargeting/mjcf_generator/retargeting_generator_base.py:98
↓ 1 callers
Method
centerModel
* Center model so it sits on the ground
web_frontend/src/components/Viewer3D/ThreeScene.ts:616
↓ 1 callers
Method
close
(self)
humanoid_retargeting/retargeter.py:334
↓ 1 callers
Method
createMeshGeometry
* Create mesh geometry from MuJoCo mesh data
web_frontend/src/components/Viewer3D/ThreeScene.ts:513
↓ 1 callers
Method
createSkinMeshes
* Create skin meshes from MuJoCo skin data
web_frontend/src/components/Viewer3D/ThreeScene.ts:555
next →
1–100 of 386, ranked by callers