MCPcopy Create free account

hub / github.com/amazon-far/ResMimic / functions

Functions982 in github.com/amazon-far/ResMimic

↓ 2 callersFunctiontransform_inverse
Inverse transformation
pose/pose/poselib/poselib/core/rotation3d.py:331
↓ 2 callersMethodupdate
(self, frame_index=None, reset_trail=False, skeleton_motion=None)
pose/pose/poselib/poselib/visualization/skeleton_plotter_tasks.py:158
↓ 2 callersFunctionupdate_cfg_from_args
(env_cfg, cfg_train, args)
legged_gym/legged_gym/gym_utils/helpers.py:172
↓ 2 callersMethodweighted_traj_idx_sample
Get traj idx via weighted sampling.
rsl_rl/rsl_rl/datasets/motion_loader.py:165
↓ 1 callersFunctionQuaternionFromAxisAngle
Returns a quaternion that generates the given axis-angle rotation. Returns the quaternion: sin(angle/2) * axis + cos(angle/2). Args: axis: A
rsl_rl/rsl_rl/datasets/pose3d.py:107
↓ 1 callersFunctionVector3RandomUnit
Returns a random 3D vector with unit length. Generates a 3D vector selected uniformly from the unit sphere. Returns: A normalized 3D vector
rsl_rl/rsl_rl/datasets/pose3d.py:66
↓ 1 callersMethod__init__
(self, num_prop, num_actions, actor_hidden_dims, activatio
rsl_rl/rsl_rl/modules/actor_critic.py:42
↓ 1 callersMethod__init__
(self, num_observations, num_actions, actor_hidden_dims, h
rsl_rl/rsl_rl/modules/dagger_actor.py:84
↓ 1 callersMethod__init__
(self, input_size, type='lstm', num_layers=1, hidden_size=256)
rsl_rl/rsl_rl/modules/actor_critic_recurrent.py:94
↓ 1 callersMethod__init__
(self, insize, epsilon=1e-05, per_channel=False, norm_only=False)
rsl_rl/rsl_rl/utils/running_mean_std.py:8
↓ 1 callersMethod__init__
(self)
rsl_rl/rsl_rl/storage/rollout_storage.py:38
↓ 1 callersMethod__init__
(self, name, real=None)
pose/pose/utils/motion_lib_hoi.py:14
↓ 1 callersMethod__init__
(self, motion_file, device, motion_decompose=False, motion_smooth=True,
pose/pose/utils/motion_lib_pkl.py:37
↓ 1 callersMethod__init__
( self, task_name: str, dots: np.ndarray, color: str = "blue", marker_
pose/pose/poselib/poselib/visualization/simple_plotter_tasks.py:111
↓ 1 callersMethod__init__
(self, task: "BasePlotterTask")
pose/pose/poselib/poselib/visualization/plt_plotter.py:53
↓ 1 callersMethod__init__
( self, task_name: str, skeleton_state, joints_color: str = "red", lin
pose/pose/poselib/poselib/visualization/skeleton_plotter_tasks.py:44
↓ 1 callersMethod__init__
:param node_names: a list of names for each tree node :type node_names: List[str] :param parent_indices: an int32-typed tenso
pose/pose/poselib/poselib/skeleton/skeleton3d.py:98
↓ 1 callersMethod_apply_curriculum_masking
Apply curriculum masking to future motion observations.
legged_gym/legged_gym/envs/g1/g1_mimic_future.py:208
↓ 1 callersMethod_build_future_obs_from_data
Build future motion observations from unified motion data.
legged_gym/legged_gym/envs/g1/g1_mimic_future.py:176
↓ 1 callersMethod_build_params
(self, shape, device, init_mean, init_std)
rsl_rl/rsl_rl/utils/normalizer.py:99
↓ 1 callersMethod_calc_frame_blend
(self, motion_ids, times)
pose/pose/utils/motion_lib_pkl.py:310
↓ 1 callersMethod_calc_std
(self, mean, mean_sq)
rsl_rl/rsl_rl/utils/normalizer.py:87
↓ 1 callersMethod_compute_angular_velocity
(r, time_delta: float, guassian_filter=True)
pose/pose/poselib/poselib/skeleton/skeleton3d.py:1267
↓ 1 callersMethod_compute_motion_dof_vels
(self, motion)
pose/pose/utils/motion_lib.py:464
↓ 1 callersMethod_compute_so3_derivative
Computes the derivative of a sequence of SO3 rotations using central differences. Args: rotations: Quaternion rotations w
pose/pose/utils/motion_lib_pkl.py:232
↓ 1 callersMethod_compute_velocity
(p, time_delta, guassian_filter=True)
pose/pose/poselib/poselib/skeleton/skeleton3d.py:1257
↓ 1 callersMethod_create_envs
Creates environments: 1. loads the robot URDF/MJCF asset, 2. For each environment 2.1 creates the environme
legged_gym/legged_gym/envs/base/legged_robot.py:825
↓ 1 callersMethod_create_ground_plane
Adds a ground plane to the simulation, sets friction and restitution based on the cfg.
legged_gym/legged_gym/envs/base/legged_robot.py:750
↓ 1 callersMethod_create_heightfield
Adds a heightfield terrain to the simulation, sets parameters based on the cfg.
legged_gym/legged_gym/envs/base/legged_robot.py:761
↓ 1 callersMethod_create_impl
(self, task_list: List[BasePlotterTask])
pose/pose/poselib/poselib/visualization/core.py:98
↓ 1 callersMethod_create_trimesh
Adds a triangle mesh terrain to the simulation, sets parameters based on the cfg. Very slow when horizontal_scale is small
legged_gym/legged_gym/envs/base/legged_robot.py:780
↓ 1 callersMethod_fetch_motion_files
(self, motion_file)
pose/pose/utils/motion_lib.py:414
↓ 1 callersMethod_fetch_motion_files
(self, motion_file: str)
pose/pose/utils/motion_lib_pkl.py:288
↓ 1 callersFunction_gaussian_logprob
(residual)
rsl_rl/rsl_rl/utils/math.py:23
↓ 1 callersFunction_gaussian_residual
(eps, log_std)
rsl_rl/rsl_rl/utils/math.py:18
↓ 1 callersMethod_get_body_indices
(self)
legged_gym/legged_gym/envs/g1/g1_mimic_distill.py:79
↓ 1 callersMethod_get_body_indices
Store indices of different bodies of the robot
legged_gym/legged_gym/envs/base/legged_robot.py:957
↓ 1 callersMethod_get_heights
Samples heights of the terrain at required points around each robot. The points are offset by the base's position and rotated by the base
legged_gym/legged_gym/envs/base/legged_robot.py:1054
↓ 1 callersMethod_get_max_motion_len
(self)
legged_gym/legged_gym/envs/base/humanoid_mimic.py:73
↓ 1 callersMethod_get_mimic_obs
(self)
legged_gym/legged_gym/envs/g1/g1_mimic_distill.py:122
↓ 1 callersMethod_get_mimic_obs
(self)
legged_gym/legged_gym/envs/base/humanoid_mimic.py:472
↓ 1 callersMethod_get_motion_masking_prob
Calculate current motion state masking probability
legged_gym/legged_gym/envs/g1/g1_mimic_future.py:329
↓ 1 callersMethod_get_noise_scale_vec
Sets a vector used to scale the noise added to the observations. [NOTE]: Must be adapted when changing the observations structure
legged_gym/legged_gym/envs/base/legged_robot.py:596
↓ 1 callersMethod_get_num_bodies
(self)
pose/pose/utils/motion_lib.py:459
↓ 1 callersMethod_get_path
(self)
pose/pose/utils/logger.py:67
↓ 1 callersMethod_get_unified_motion_data
Get unified motion data for both privileged and future frames in a single sampling call. Returns processed motion data that can be used by bot
legged_gym/legged_gym/envs/g1/g1_mimic_future.py:98
↓ 1 callersMethod_init_buffers
(self)
legged_gym/legged_gym/envs/base/humanoid_char.py:58
↓ 1 callersMethod_init_buffers
Initialize torch tensors which will contain simulation states and processed quantities
legged_gym/legged_gym/envs/base/legged_robot.py:624
↓ 1 callersMethod_init_height_points
Returns points at which the height measurments are sampled (in base frame) Returns: [torch.Tensor]: Tensor of shape (num_envs, s
legged_gym/legged_gym/envs/base/legged_robot.py:1028
↓ 1 callersMethod_init_motion_buffers
(self)
legged_gym/legged_gym/envs/base/humanoid_mimic.py:97
↓ 1 callersMethod_lerp_reward
(self, disc_r, task_r)
rsl_rl/rsl_rl/modules/amp_discriminator.py:70
↓ 1 callersMethod_load_motions
(self)
legged_gym/legged_gym/envs/base/humanoid_mimic.py:90
↓ 1 callersMethod_load_motions
(self, motion_file)
pose/pose/utils/motion_lib_pkl.py:58
↓ 1 callersMethod_load_object_asset
(self)
legged_gym/legged_gym/envs/g1/g1_hoi.py:170
↓ 1 callersMethod_local_rotation_to_dof
(self, local_rot)
pose/pose/utils/motion_lib.py:481
↓ 1 callersMethod_local_rotation_to_dof_vel
(self, local_rot0, local_rot1, dt)
pose/pose/utils/motion_lib.py:514
↓ 1 callersMethod_parse_cfg
(self, cfg)
legged_gym/legged_gym/envs/base/humanoid_char.py:295
↓ 1 callersMethod_parse_cfg
(self, cfg)
legged_gym/legged_gym/envs/base/legged_robot.py:979
↓ 1 callersMethod_percentile
(self, x)
rsl_rl/rsl_rl/utils/scale.py:23
↓ 1 callersMethod_post_physics_step_callback
Callback called before computing terminations, rewards, and observations Default behaviour: Compute ang vel command based on target and h
legged_gym/legged_gym/envs/g1/g1_hoi.py:409
↓ 1 callersMethod_post_physics_step_callback
Callback called before computing terminations, rewards, and observations Default behaviour: Compute ang vel command based on target and h
legged_gym/legged_gym/envs/base/humanoid_char.py:268
↓ 1 callersMethod_post_physics_step_callback
Callback called before computing terminations, rewards, and observations Default behaviour: Compute ang vel command based on target and h
legged_gym/legged_gym/envs/base/legged_robot.py:454
↓ 1 callersMethod_process_object_rigid_body_props
(self, props, env_id)
legged_gym/legged_gym/envs/g1/g1_hoi.py:816
↓ 1 callersMethod_process_object_rigid_shape_props
Callback allowing to store/change/randomize the rigid shape properties of each environment. Called During environment creation.
legged_gym/legged_gym/envs/g1/g1_hoi.py:788
↓ 1 callersMethod_reset_dofs
(self, env_ids, dof_pos, dof_vel)
legged_gym/legged_gym/envs/base/humanoid_char.py:196
↓ 1 callersMethod_reset_ref_motion
(self, env_ids, motion_ids=None)
legged_gym/legged_gym/envs/base/humanoid_mimic.py:125
↓ 1 callersMethod_reset_root_states
Resets ROOT states position and velocities of selected environmments Sets base position based on the curriculum Selects rando
legged_gym/legged_gym/envs/base/humanoid_mimic.py:173
↓ 1 callersMethod_save_hidden_states
(self, hidden_states)
rsl_rl/rsl_rl/storage/rollout_storage.py:104
↓ 1 callersMethod_set_aspect_equal_2d
(self, zero_centered=True)
pose/pose/poselib/poselib/visualization/plt_plotter.py:199
↓ 1 callersMethod_set_aspect_equal_3d
(self)
pose/pose/poselib/poselib/visualization/plt_plotter.py:398
↓ 1 callersMethod_set_lim
(self)
pose/pose/poselib/poselib/visualization/plt_plotter.py:109
↓ 1 callersMethod_set_lim
(self)
pose/pose/poselib/poselib/visualization/plt_plotter.py:297
↓ 1 callersMethod_set_path
(self, path)
pose/pose/utils/logger.py:64
↓ 1 callersFunction_squash
(pi)
rsl_rl/rsl_rl/utils/math.py:36
↓ 1 callersMethod_update
(self, lines, dots)
pose/pose/poselib/poselib/visualization/skeleton_plotter_tasks.py:86
↓ 1 callersMethod_update
(self, vel_lines, avel_lines)
pose/pose/poselib/poselib/visualization/skeleton_plotter_tasks.py:193
↓ 1 callersMethod_update_impl
(self, task_list: List[BasePlotterTask])
pose/pose/poselib/poselib/visualization/core.py:95
↓ 1 callersMethod_update_mean_var_count_from_moments
(self, mean, var, count, batch_mean, batch_var, batch_count)
rsl_rl/rsl_rl/utils/running_mean_std.py:32
↓ 1 callersMethod_update_motion_difficulty
Update the difficulty of motions for adaptive curriculum learning. This function adjusts the difficulty of each motion based
legged_gym/legged_gym/envs/base/humanoid_mimic.py:272
↓ 1 callersMethod_update_ref_motion
(self)
legged_gym/legged_gym/envs/g1/g1_hoi.py:65
↓ 1 callersMethod_update_ref_motion
(self)
legged_gym/legged_gym/envs/base/humanoid_mimic.py:158
↓ 1 callersMethod_update_terrain_curriculum
Implements the game-inspired curriculum. Args: env_ids (List[int]): ids of environments being reset
legged_gym/legged_gym/envs/base/legged_robot.py:588
↓ 1 callersMethodact
(self, obs, critic_obs, amp_obs)
rsl_rl/rsl_rl/algorithms/ppo_amp.py:119
↓ 1 callersFunctionangle_axis_to_exp_map
(angle, axis)
pose/pose/utils/torch_utils.py:82
↓ 1 callersMethodblend_frame_pose
Linearly interpolate between two frames, including orientation. Args: frame0: First frame to be blended corresponds to (blend = 0
rsl_rl/rsl_rl/datasets/motion_loader.py:278
↓ 1 callersFunctioncalc_heading
Returns the heading of a rotation q, specified as a quaternion. The heading represents the rotational component of q along the vertical axis (z a
rsl_rl/rsl_rl/datasets/motion_util.py:66
↓ 1 callersMethodcheck_termination
(self)
legged_gym/legged_gym/envs/g1/g1_hoi.py:679
↓ 1 callersMethodcheck_termination
(self)
legged_gym/legged_gym/envs/base/humanoid_char.py:309
↓ 1 callersMethodcheck_termination
Check if environments need to be reset
legged_gym/legged_gym/envs/base/legged_robot.py:209
↓ 1 callersMethodcompute_grad_pen
(self, expert_state, expert_next_state,
rsl_rl/rsl_rl/modules/amp_discriminator.py:37
↓ 1 callersMethodcompute_observations
Override to include future motion observations while maintaining compatibility.
legged_gym/legged_gym/envs/g1/g1_hoi.py:543
↓ 1 callersMethodcompute_observations
(self)
legged_gym/legged_gym/envs/base/humanoid_char.py:353
↓ 1 callersMethodcompute_observations
Computes observations
legged_gym/legged_gym/envs/base/legged_robot.py:292
↓ 1 callersMethodcompute_returns
(self, last_critic_obs)
rsl_rl/rsl_rl/algorithms/ppo.py:140
↓ 1 callersMethodcompute_reward
(self)
legged_gym/legged_gym/envs/base/humanoid_char.py:487
↓ 1 callersFunctionconfigure_gym
(gym, config)
pose/pose/utils/gym_util.py:51
↓ 1 callersFunctionconv
Basic convolutional encoder for TD-MPC2 with raw image observations. 4 layers of convolution with ReLU activations, followed by a linear layer.
rsl_rl/rsl_rl/utils/layers.py:125
↓ 1 callersFunctionconvert_heightfield_to_trimesh
Convert a heightfield array to a triangle mesh represented by vertices and triangles. Optionally, corrects vertical surfaces above the provid
legged_gym/legged_gym/gym_utils/terrain.py:951
↓ 1 callersFunctionconvert_heightfield_to_trimesh_delatin
(height_field_raw, horizontal_scale, vertical_scale, max_error=0.01)
legged_gym/legged_gym/gym_utils/terrain.py:944
↓ 1 callersFunctionconvert_to_jit
Convert g1_stu_future student policy to TorchScript.
legged_gym/legged_gym/scripts/save_jit_stu_future.py:94
← previousnext →201–300 of 982, ranked by callers