MCPcopy Create free account

hub / github.com/ZhengyiLuo/SMPLSim / functions

Functions1,205 in github.com/ZhengyiLuo/SMPLSim

↓ 3 callersMethodmap_params
(self, params)
smpl_sim/smpllib/smpl_local_robot.py:1912
↓ 3 callersFunctionmeasure_function
(env, func_name, reps=1000, **kwargs)
examples/benchmark.py:87
↓ 3 callersFunctionmy_quat_rotate
(q, v)
smpl_sim/utils/torch_utils.py:275
↓ 3 callersFunctionnormalize_screen_coordinates
(X, w=1920, h=1080)
smpl_sim/smpllib/np_smpl_humanoid_batch.py:41
↓ 3 callersMethodnumpy
(self)
smpl_sim/smpllib/motion_lib_base_torch.py:41
↓ 3 callersFunctionquat_from_angle_axis
Create a 3D rotation from angle and axis of rotation. The rotation is counter-clockwise along the axis. The rotation can be interpreted as
smpl_sim/poselib/core/rotation3d.py:123
↓ 3 callersFunctionquat_from_rotation_matrix
Construct a 3D rotation from a valid 3x3 rotation matrices. Reference can be found here: http://www.cg.info.hiroshima-cu.ac.jp/~miyazaki/
smpl_sim/poselib/core/rotation3d.py:147
↓ 3 callersFunctionquat_identity
Construct 3D identity rotation given shape
smpl_sim/utils/poselib_rotation3d.py:112
↓ 3 callersFunctionquat_mul
quaternion multiplication
smpl_sim/utils/poselib_rotation3d.py:15
↓ 3 callersFunctionquat_mul
quaternion multiplication
smpl_sim/poselib/core/rotation3d.py:15
↓ 3 callersFunctionquat_rotate
(q, v)
smpl_sim/utils/np_transform_utils.py:23
↓ 3 callersFunctionquaternion_about_axis
Return quaternion for rotation about axis. >>> q = quaternion_about_axis(0.123, [1, 0, 0]) >>> numpy.allclose(q, [0.99810947, 0.06146124, 0,
smpl_sim/utils/transformation.py:347
↓ 3 callersFunctionquaternion_raw_multiply
Multiply two quaternions. Usual torch rules for broadcasting apply. Args: a: Quaternions as tensor of shape (..., 4), real part
smpl_sim/utils/pytorch3d_transforms.py:436
↓ 3 callersFunctionquaternion_raw_multiply
Multiply two quaternions. Usual torch rules for broadcasting apply. Args: a: Quaternions as tensor of shape (..., 4), real part
smpl_sim/utils/rotation_conversions.py:357
↓ 3 callersFunctionremove_base_rot
(quat)
smpl_sim/envs/nv/humanoid.py:2523
↓ 3 callersMethodretarget_to
Retarget the skeleton state to a target skeleton tree. This is a naive retarget implementation with rough approximations. The functi
smpl_sim/poselib/skeleton/skeleton3d.py:717
↓ 3 callersFunctionrotation_from_quaternion
(quaternion, separate=False)
smpl_sim/utils/transformation.py:362
↓ 3 callersMethodshow
(self)
smpl_sim/poselib/visualization/plt_plotter.py:58
↓ 3 callersMethodto_dict
(self)
smpl_sim/poselib/skeleton/skeleton3d.py:141
↓ 3 callersFunctiontransform_mul
Combine two transformation together
smpl_sim/poselib/core/rotation3d.py:318
↓ 3 callersMethodupdate_value
update critic
smpl_sim/agents/agent_pg.py:20
↓ 2 callersMethod_action_to_pd_targets
(self, action)
smpl_sim/envs/nv/humanoid.py:2207
↓ 2 callersFunction_angle_from_tan
Extract the first or third Euler angle from the two members of the matrix which are positive constant times its sine and cosine. Args:
smpl_sim/utils/pytorch3d_transforms.py:290
↓ 2 callersFunction_angle_from_tan
Extract the first or third Euler angle from the two members of the matrix which are positive constant times its sine and cosine. Args:
smpl_sim/utils/rotation_conversions.py:211
↓ 2 callersMethod_apply_keyboard_event
(self, evt)
smpl_sim/envs/nv/base_task.py:464
↓ 2 callersFunction_check_longest_curve
(curve, max_curve_key_count)
smpl_sim/poselib/skeleton/backend/fbx/fbx_py27_backend.py:235
↓ 2 callersMethod_compute_observations
(self, env_ids=None)
smpl_sim/envs/nv/humanoid.py:1848
↓ 2 callersMethod_create_smpl_humanoid_xml
( self, num_humanoids, smpl_robot, queue, pid, out_dir: str )
smpl_sim/envs/nv/humanoid.py:1197
↓ 2 callersMethod_draw
(self)
smpl_sim/poselib/visualization/plt_plotter.py:199
↓ 2 callersMethod_draw
(self)
smpl_sim/poselib/visualization/plt_plotter.py:397
↓ 2 callersMethod_get_lines_and_dots
Get all the lines and dots needed to draw the skeleton state
smpl_sim/poselib/visualization/skeleton_plotter_tasks.py:47
↓ 2 callersMethod_get_pairwise_average_translation
(self)
smpl_sim/poselib/skeleton/skeleton3d.py:643
↓ 2 callersMethod_get_vel_and_avel
Get all the velocity and angular velocity lines
smpl_sim/poselib/visualization/skeleton_plotter_tasks.py:160
↓ 2 callersFunction_index_from_letter
(letter: str)
smpl_sim/utils/pytorch3d_transforms.py:321
↓ 2 callersFunction_index_from_letter
(letter: str)
smpl_sim/utils/rotation_conversions.py:242
↓ 2 callersMethod_init_lim
(self)
smpl_sim/poselib/visualization/plt_plotter.py:75
↓ 2 callersMethod_init_lim
(self)
smpl_sim/poselib/visualization/plt_plotter.py:259
↓ 2 callersMethod_init_walker_random_fall
(self)
smpl_sim/envs/smplenv.py:316
↓ 2 callersMethod_lines_extract_xy_impl
(index, lines_task)
smpl_sim/poselib/visualization/plt_plotter.py:99
↓ 2 callersMethod_lines_extract_xyz_impl
(index, lines_task)
smpl_sim/poselib/visualization/plt_plotter.py:290
↓ 2 callersMethod_max
(self, x, y)
smpl_sim/poselib/visualization/plt_plotter.py:68
↓ 2 callersMethod_min
(self, x, y)
smpl_sim/poselib/visualization/plt_plotter.py:61
↓ 2 callersMethod_refresh_sim_tensors
(self)
smpl_sim/envs/nv/humanoid.py:1837
↓ 2 callersMethod_remapped_to
(self, joint_mapping: Dict[str, str], target_skeleton_tree: SkeletonTree)
smpl_sim/poselib/skeleton/skeleton3d.py:696
↓ 2 callersMethod_reset_envs
(self, env_ids)
smpl_sim/envs/nv/humanoid.py:1057
↓ 2 callersFunction_sqrt_positive_part
Returns torch.sqrt(torch.max(0, x)) but with a zero subgradient where x is 0.
smpl_sim/utils/pytorch3d_transforms.py:128
↓ 2 callersMethod_trail_extract_xy_impl
(index, trail_task)
smpl_sim/poselib/visualization/plt_plotter.py:103
↓ 2 callersMethod_trail_extract_xyz_impl
(index, trail_task)
smpl_sim/poselib/visualization/plt_plotter.py:294
↓ 2 callersMethodadd_vel_sensors
(self, bone, sensor_node, sensor_type = "framelinvel")
smpl_sim/smpllib/skeleton_local.py:427
↓ 2 callersMethodadd_vel_sensors
(self, bone, sensor_node, sensor_type = "framelinvel")
smpl_sim/smpllib/skeleton_mesh_local.py:371
↓ 2 callersFunctionagt_color
(aidx)
smpl_sim/utils/draw_utils.py:17
↓ 2 callersFunctionarcball_map_to_sphere
Return unit sphere coordinates from window coordinates.
smpl_sim/utils/transformation.py:1750
↓ 2 callersFunctionbatch_to
(dst, *args)
smpl_sim/learning/learning_utils.py:89
↓ 2 callersFunctioncalc_heading
(q)
smpl_sim/utils/torch_utils.py:430
↓ 2 callersFunctioncalc_heading
(q)
smpl_sim/utils/np_transform_utils.py:34
↓ 2 callersMethodchange_char_color
(self)
smpl_sim/envs/nv/humanoid.py:1017
↓ 2 callersMethodclip_policy_grad
(self)
smpl_sim/agents/agent_ppo.py:85
↓ 2 callersMethodclose
(self)
smpl_sim/envs/nv/gymwrapper.py:37
↓ 2 callersMethodcompute_proprioception
(self)
smpl_sim/envs/humanoid_env.py:388
↓ 2 callersFunctioncompute_rotation_matrix_from_ortho6d
(ortho6d)
smpl_sim/utils/torch_geometry_transforms.py:554
↓ 2 callersFunctioncompute_rotation_matrix_from_ortho6d
(ortho6d)
smpl_sim/utils/transform_utils.py:23
↓ 2 callersMethodcompute_torque
(self, ctrl)
smpl_sim/envs/humanoid_env.py:407
↓ 2 callersMethodconstruct_tree
(self, template_fname=files('smpl_sim').joinpath('data/assets/mjcf/humanoid_template_local.xml'),
smpl_sim/smpllib/skeleton_local.py:371
↓ 2 callersMethodconstruct_tree
( self, template_fname=files('smpl_sim').joinpath('data/assets/mjcf/humanoid_template_
smpl_sim/smpllib/skeleton_mesh_local.py:308
↓ 2 callersMethodcontrol
(self, action, mj_model, mj_data)
smpl_sim/envs/controllers.py:224
↓ 2 callersMethodcreate
Create more task primitives from a task for the plotter
smpl_sim/poselib/visualization/core.py:64
↓ 2 callersMethodcreate_mj_model
(self, beta: torch.tensor, gender: str)
smpl_sim/envs/smplenv.py:211
↓ 2 callersFunctioncross_product
( u, v)
smpl_sim/utils/torch_geometry_transforms.py:574
↓ 2 callersFunctioncross_product
(u, v)
smpl_sim/utils/transform_utils.py:64
↓ 2 callersMethoddemap_params
(self, params)
smpl_sim/smpllib/smpl_local_robot.py:1881
↓ 2 callersFunctiondof_to_obs
(pose, dof_obs_size, dof_offsets)
smpl_sim/envs/nv/humanoid.py:2277
↓ 2 callersMethoddraw_task
(self)
smpl_sim/envs/humanoid_task.py:35
↓ 2 callersFunctioneuclidean_to_rotation_matrix
Get the rotation matrix on the top-left corner of a Euclidean transformation matrix
smpl_sim/utils/poselib_rotation3d.py:431
↓ 2 callersFunctioneuclidean_to_rotation_matrix
Get the rotation matrix on the top-left corner of a Euclidean transformation matrix
smpl_sim/poselib/core/rotation3d.py:431
↓ 2 callersFunctioneuclidean_to_transform
Construct a transform from a Euclidean transformation matrix
smpl_sim/poselib/core/rotation3d.py:466
↓ 2 callersFunctioneuclidean_translation
Get the translation vector located at the last column of the matrix
smpl_sim/utils/poselib_rotation3d.py:446
↓ 2 callersFunctioneuclidean_translation
Get the translation vector located at the last column of the matrix
smpl_sim/poselib/core/rotation3d.py:446
↓ 2 callersFunctionexponential_smoothing
(a, x, x_prev)
smpl_sim/utils/one_euor_filter.py:9
↓ 2 callersMethodfk_batch
(self, pose, trans, convert_to_mat=True, count_offset=True, return_full = False)
smpl_sim/smpllib/torch_smpl_humanoid_batch.py:118
↓ 2 callersMethodforward_kinematics_batch
Perform forward kinematics using the given trajectory and local rotations. Arguments (where B = batch size, J = number of joints):
smpl_sim/smpllib/np_smpl_humanoid_batch.py:367
↓ 2 callersMethodfrom_skeleton_state
Construct a skeleton motion from a skeleton state. The velocities are estimated using second order guassian filter along the last axi
smpl_sim/poselib/skeleton/skeleton3d.py:1000
↓ 2 callersFunctionget_args
(benchmark=False)
smpl_sim/envs/nv/utils/config.py:207
↓ 2 callersFunctionget_attr_val_from_sample
Retrieves param value for the given prop and attr from the sample.
smpl_sim/envs/nv/base_task.py:986
↓ 2 callersMethodget_body_jacp_by_name
(self, name, jacp=None, jacr=None)
smpl_sim/envs/humanoid_env.py:518
↓ 2 callersFunctionget_body_qposaddr
(model)
smpl_sim/utils/mujoco_utils.py:6
↓ 2 callersFunctionget_body_qveladdr
(model)
smpl_sim/utils/mujoco_utils.py:28
↓ 2 callersMethodget_full_state_weights
(self)
smpl_sim/agents/agent_humanoid.py:123
↓ 2 callersMethodget_mesh_offsets
(self, zero_pose=None, betas=torch.zeros(1, 10), flatfoot=False)
smpl_sim/smpllib/smpl_parser.py:180
↓ 2 callersMethodget_obs_size
(self)
smpl_sim/envs/humanoid_env.py:375
↓ 2 callersMethodget_obs_size
(self)
smpl_sim/envs/nv/humanoid.py:960
↓ 2 callersFunctionget_optimizer
(net, lr, weight_decay, optimizer_type = "adam", **kwargs)
smpl_sim/learning/learning_utils.py:188
↓ 2 callersFunctionget_root_matrix
(poses)
smpl_sim/smpllib/smpl_eval.py:235
↓ 2 callersMethodget_root_pos
(self)
smpl_sim/envs/humanoid_env.py:553
↓ 2 callersMethodinit
(self)
smpl_sim/smpllib/smpl_local_robot.py:949
↓ 2 callersMethodjpos_new_2_smpl
(self, jpos)
smpl_sim/smpllib/smpl_mujoco_new.py:324
↓ 2 callersMethodkeep_nodes_by_names
(self, node_names: List[str], pairwise_translation=None)
smpl_sim/poselib/skeleton/skeleton3d.py:248
↓ 2 callersFunctionload_cfg
(args)
smpl_sim/envs/nv/utils/config.py:87
↓ 2 callersMethodload_from_offsets
( self, offsets, parents, scale, jrange, hull_dict, ex
smpl_sim/smpllib/skeleton_local.py:292
↓ 2 callersMethodlog_prob
(self, value)
smpl_sim/learning/distributions.py:43
↓ 2 callersFunctionmake_env_mj
(cfg_str, num_envs)
examples/benchmark.py:68
← previousnext →101–200 of 1,205, ranked by callers