MCPcopy Create free account

hub / github.com/ZyuonRobotics/humanoid-retarget / functions

Functions386 in github.com/ZyuonRobotics/humanoid-retarget

↓ 25 callersMethodload
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 callersMethodclose
(self)
humanoid_retargeting/aligner.py:240
↓ 8 callersFunctiondispose
()
web_frontend/src/components/Viewer3D/mujoco.ts:701
↓ 8 callersMethodload_cali_qpos
(self)
humanoid_retargeting/aligner.py:175
↓ 7 callersMethodarray_to_string
Convert array to space-separated string with specified precision
humanoid_retargeting/mjcf_generator/retargeting_generator_base.py:140
↓ 7 callersMethodparse_startswith
(self, token)
humanoid_retargeting/mjcf_generator/bvh2mjcf_generator.py:35
↓ 7 callersMethodredraw
* 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 callersMethodrender
* Render immediately (for scenes requiring immediate update)
web_frontend/src/components/Viewer3D/ThreeScene.ts:252
↓ 6 callersMethodfrom_source_file_path
(cls, source_file_path, **kwargs)
humanoid_retargeting/motion_player/player_base.py:43
↓ 6 callersFunctioninitMuJoCo
( xmlString: string, qpos?: number[], meshes?: Record<string, string> )
web_frontend/src/components/Viewer3D/mujoco.ts:327
↓ 6 callersFunctionsetCamera
(config: Partial<CameraConfig>)
web_frontend/src/components/Viewer3D/mujoco.ts:659
↓ 6 callersMethodsetShowSkin
* Update body positions from simulation (called every frame in animation loop)
web_frontend/src/components/Viewer3D/ThreeScene.ts:734
↓ 6 callersFunctionstrip_prefix
Remove any of the *prefixes* from *value* (str/list/dict).
scripts/mocap_retargeting/generate_retarget_params.py:32
↓ 5 callersMethoddispose
* Dispose resources
web_frontend/src/components/Viewer3D/ThreeScene.ts:1022
↓ 5 callersFunctionloadMotionTree
(preserveSelection: boolean = false)
web_frontend/src/components/TopBar/index.tsx:234
↓ 5 callersMethodstop
* Stop rendering loop
web_frontend/src/components/Viewer3D/ThreeScene.ts:990
↓ 5 callersFunctionuseConfigContext
()
web_frontend/src/contexts/ConfigContext.tsx:216
↓ 4 callersMethodapply_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 callersMethodload
(self, source_file_path)
humanoid_retargeting/mjcf_generator/retargeting_generator_base.py:111
↓ 4 callersMethodload
(self, **kwargs)
humanoid_retargeting/motion_player/player_base.py:37
↓ 4 callersMethodload_motion_file
(self, source_file_path)
humanoid_retargeting/motion_player/robot_motion_player.py:32
↓ 4 callersMethodload_mujoco
(self, retarget_config=None, generate_skin=None)
humanoid_retargeting/aligner.py:88
↓ 4 callersFunctionplot2d
(array: np.ndarray, dim_label: list[str] = None, view: bool = True)
humanoid_retargeting/utils/plot.py:4
↓ 4 callersMethodrender
(self)
humanoid_retargeting/aligner.py:232
↓ 4 callersMethodrun_ik
(self, progress_bar=True)
humanoid_retargeting/retargeter.py:159
↓ 4 callersMethodsetHumanVisible
* 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 callersMethodsetRobotVisible
* 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 callersMethodstart
* Start rendering loop
web_frontend/src/components/Viewer3D/ThreeScene.ts:981
↓ 4 callersMethodsync_data
(self, frame_idx)
humanoid_retargeting/motion_player/player_base.py:100
↓ 3 callersMethodclose
(self)
humanoid_retargeting/motion_player/player_base.py:140
↓ 3 callersFunctioneuler2quat
(x: float, y: float, z: float)
humanoid_retargeting/utils/rot.py:4
↓ 3 callersFunctiongetBreadcrumbs
()
web_frontend/src/components/Widgets/FileBrowserWidget/index.tsx:97
↓ 3 callersMethodget_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 callersMethodget_prefix_name
Generate prefixed name for joints/bodies
humanoid_retargeting/mjcf_generator/retargeting_generator_base.py:122
↓ 3 callersMethodget_tracker_offset
(self)
humanoid_retargeting/aligner.py:253
↓ 3 callersFunctioninitMuJoCoModule
()
web_frontend/src/components/Viewer3D/mujoco.ts:154
↓ 3 callersMethodsave_as_npz
(self, res_path, target_framerate=100)
humanoid_retargeting/retargeter.py:262
↓ 3 callersMethodsetTheme
* Set theme and update background and ground colors
web_frontend/src/components/Viewer3D/ThreeScene.ts:1331
↓ 3 callersMethodupdateBodiesFromSimulation
()
web_frontend/src/components/Viewer3D/ThreeScene.ts:887
↓ 3 callersFunctionupdateJointAdjustment
(jointName: string, value: number[])
web_frontend/src/components/Widgets/JointAdjustmentWidget/index.tsx:32
↓ 3 callersFunctionuseConfig
( config: RetargetConfig, onChange: (config: RetargetConfig) => void )
web_frontend/src/hooks/useConfig.ts:4
↓ 2 callersMethod_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 callersFunction_scan_directory
Recursively scan directory for motion files.
web_backend/api/model.py:37
↓ 2 callersFunctionadd_three_axis_editor_callback
Factory that creates either a *ratio* or *rotation* editor section.
scripts/mocap_retargeting/generate_retarget_params.py:94
↓ 2 callersFunctionadd_tracker_callback
(sender, app_data, part)
scripts/mocap_retargeting/generate_retarget_params.py:162
↓ 2 callersFunctionbuild_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 callersFunctionbuild_body_tree
Build tree structure from body list and parent IDs.
web_backend/api/robots.py:17
↓ 2 callersFunctionbuild_test_obj
()
tests/test_utils/test_retarget_params.py:3
↓ 2 callersMethodcalculate_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 callersFunctionchangeLanguage
(lang: string)
web_frontend/src/components/TopBar/index.tsx:442
↓ 2 callersMethodclearScene
* Clear scene
web_frontend/src/components/Viewer3D/ThreeScene.ts:1001
↓ 2 callersMethodcreateScene
* Create scene from MuJoCo model
web_frontend/src/components/Viewer3D/ThreeScene.ts:330
↓ 2 callersFunctionfilter_lowpass2d
(data: np.ndarray, frame_rate: int, cutoff: float = 20, order: int = 2)
humanoid_retargeting/utils/lowpass.py:7
↓ 2 callersFunctionflattenTreeNames
(nodes: BodyTreeNode[] | TreeNodeLocal[])
web_frontend/src/components/Widgets/TrackersWidget/BodyTreeSelectorModal.tsx:27
↓ 2 callersMethodfrom_source_file_path
(cls, source_file_path, **kwargs)
humanoid_retargeting/mjcf_generator/retargeting_generator_base.py:43
↓ 2 callersMethodgetPlayerFrame
* Get current player frame
web_frontend/src/components/Viewer3D/ThreeScene.ts:1115
↓ 2 callersFunctiongetRobotData
(robotName: string)
web_frontend/src/components/Viewer3D/index.tsx:659
↓ 2 callersMethodget_array_ratio
(ratio)
humanoid_retargeting/mjcf_generator/retargeting_generator_base.py:127
↓ 2 callersMethodget_geom_attributes
Get default geometry attributes
humanoid_retargeting/mjcf_generator/retargeting_generator_base.py:59
↓ 2 callersMethodget_global_body_ratio
(self)
humanoid_retargeting/aligner.py:131
↓ 2 callersFunctionget_leg_length
( generator, foot_names, hip_names, foot_offset, hip_offset, body_rotate_dict=Non
humanoid_retargeting/aligner.py:19
↓ 2 callersFunctionhandleUpdatePair
( trackerKey: string, index: number, field: 'human' | 'robot', value: string )
web_frontend/src/components/Widgets/TrackersWidget/index.tsx:35
↓ 2 callersFunctioninitThreeScene
(canvas: HTMLCanvasElement, performanceSettings?: any)
web_frontend/src/components/Viewer3D/mujoco.ts:519
↓ 2 callersMethodinterpolate
(self, target_framerate=100)
humanoid_retargeting/retargeter.py:252
↓ 2 callersMethodlowpass_all_qpos
(self, cutoff=20, order=2)
humanoid_retargeting/motion_player/humanoid_player_base.py:76
↓ 2 callersMethodparse_offset
(self)
humanoid_retargeting/mjcf_generator/bvh2mjcf_generator.py:39
↓ 2 callersMethodplot_ref_baselink_cartesian
(self)
humanoid_retargeting/motion_player/player_base.py:121
↓ 2 callersMethodplot_ref_baselink_euler
(self)
humanoid_retargeting/motion_player/player_base.py:127
↓ 2 callersMethodplot_ref_baselink_quaternion
(self)
humanoid_retargeting/motion_player/player_base.py:124
↓ 2 callersMethodplot_ref_joint_quaternion
(self, joint_idx=0)
humanoid_retargeting/motion_player/player_base.py:131
↓ 2 callersMethodresumePlayer
* Resume player motion animation
web_frontend/src/components/Viewer3D/ThreeScene.ts:1130
↓ 2 callersMethodrotateByQuat
* Rotate a point by a quaternion
web_frontend/src/components/Viewer3D/ThreeScene.ts:874
↓ 2 callersMethodrotvec2quat
(rotvec)
humanoid_retargeting/motion_player/smpl_player.py:27
↓ 2 callersMethodsave
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 callersMethodsave_config
(self, source_file_path)
humanoid_retargeting/motion_player/humanoid_player_base.py:63
↓ 2 callersMethodsave_retarget_config
(self, save_config_name=None)
humanoid_retargeting/aligner.py:244
↓ 2 callersMethodsetPlayerFrame
* Set current frame for player motion playback
web_frontend/src/components/Viewer3D/ThreeScene.ts:1106
↓ 2 callersFunctionsetPlayerMotionData
(data: PlayerMotionData)
web_frontend/src/components/Viewer3D/mujoco.ts:778
↓ 2 callersFunctionsync_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 callersMethodupdateBodiesFromPlayerMotion
* Update body positions from pre-computed player motion data
web_frontend/src/components/Viewer3D/ThreeScene.ts:1151
↓ 2 callersMethodupdateSkinVertices
* Update skin mesh vertices based on bone transforms
web_frontend/src/components/Viewer3D/ThreeScene.ts:771
↓ 2 callersFunctionuseMotionContext
()
web_frontend/src/contexts/MotionContext.tsx:173
↓ 2 callersFunctionusePerformanceContext
()
web_frontend/src/contexts/PerformanceContext.tsx:58
↓ 1 callersFunction_get_robot_mjcf_with_meshes_cached
Cached implementation — robot mesh data is static per robot.
web_backend/api/model.py:393
↓ 1 callersMethod_load
(self, source_file_path)
humanoid_retargeting/mjcf_generator/bvh2mjcf_generator.py:92
↓ 1 callersMethod_load
(self, **kwargs)
humanoid_retargeting/motion_player/player_base.py:64
↓ 1 callersMethod_load
(self, source_file_path)
humanoid_retargeting/motion_player/bvh_player.py:75
↓ 1 callersMethod_validate_arm_joints
(self, arm_joints)
humanoid_retargeting/motion_player/robot_peroid_player.py:41
↓ 1 callersMethod_validate_config_structure
(self, config)
humanoid_retargeting/motion_player/robot_peroid_player.py:17
↓ 1 callersMethod_validate_leg_joints
(self, leg_joints)
humanoid_retargeting/motion_player/robot_peroid_player.py:22
↓ 1 callersFunctionaddJointAdjustment
(jointName: string)
web_frontend/src/components/Widgets/JointAdjustmentWidget/index.tsx:19
↓ 1 callersFunctionassign_skeleton_id
(skeleton: Tuple[str, ...])
scripts/mocap_processing/check_bvh_bodytype_in_folder.py:15
↓ 1 callersMethodbuild_mink_limits
(self)
humanoid_retargeting/retargeter.py:126
↓ 1 callersMethodbuild_mink_tasks
(self)
humanoid_retargeting/retargeter.py:145
↓ 1 callersFunctionbuild_node
(body_id: int)
web_backend/api/robots.py:41
↓ 1 callersMethodbuild_skeleton
(self, parent, joint_idx, prefix=None)
humanoid_retargeting/mjcf_generator/retargeting_generator_base.py:98
↓ 1 callersMethodcenterModel
* Center model so it sits on the ground
web_frontend/src/components/Viewer3D/ThreeScene.ts:616
↓ 1 callersMethodclose
(self)
humanoid_retargeting/retargeter.py:334
↓ 1 callersMethodcreateMeshGeometry
* Create mesh geometry from MuJoCo mesh data
web_frontend/src/components/Viewer3D/ThreeScene.ts:513
↓ 1 callersMethodcreateSkinMeshes
* Create skin meshes from MuJoCo skin data
web_frontend/src/components/Viewer3D/ThreeScene.ts:555
next →1–100 of 386, ranked by callers