MCPcopy Create free account

hub / github.com/LeCAR-Lab/SoFTA / functions

Functions568 in github.com/LeCAR-Lab/SoFTA

↓ 53 callersMethodmean
(self)
humanoidverse/utils/average_meters.py:44
↓ 36 callersMethodupdate_key
(self, key: str, data: Tensor)
humanoidverse/agents/modules/data_utils.py:118
↓ 32 callersFunctiontorch_rand_float
(lower, upper, shape, device)
humanoidverse/utils/torch_utils.py:193
↓ 22 callersFunctionquat_rotate_inverse
(q, v)
humanoidverse/utils/torch_utils.py:72
↓ 20 callersMethodregister_key
(self, key: str, shape=(), dtype=torch.float)
humanoidverse/agents/modules/data_utils.py:64
↓ 18 callersMethodindex
()
humanoidverse/agents/callbacks/analysis_plot_locomotion.py:151
↓ 10 callersFunctionquat_apply
(a, b)
humanoidverse/utils/torch_utils.py:49
↓ 10 callersMethodstep
parameters: actions: (n_samples, action_dim) outputs: obs: (n_samples, obs_dim) rewards: (n_samples,)
humanoidverse/agents/modules/world_models.py:66
↓ 9 callersMethodadd
(self, x)
humanoidverse/utils/average_meters.py:39
↓ 7 callersMethodclear
(self)
humanoidverse/agents/modules/data_utils.py:147
↓ 7 callersMethodfind_rigid_body_indice
(self, body_name)
humanoidverse/simulator/isaacgym/isaacgym.py:421
↓ 7 callersMethodreset_all
Reset all robots
humanoidverse/envs/base_task/base_task.py:79
↓ 7 callersMethodsave
(self, path, infos=None)
humanoidverse/agents/ppo/ppo.py:162
↓ 7 callersMethodupdate
(self, values)
humanoidverse/utils/average_meters.py:13
↓ 6 callersMethodquery_key
(self, key: str)
humanoidverse/agents/modules/data_utils.py:160
↓ 6 callersMethodreset_envs_idx
Reset some environments. Calls self._reset_dofs(env_ids), self._reset_root_states(env_ids), and self._resample_commands(env_ids)
humanoidverse/envs/legged_base_task/legged_robot_base_ma.py:351
↓ 5 callersMethodevaluate
(self, critic_obs, **kwargs)
humanoidverse/agents/modules/ppo_modules.py:104
↓ 5 callersFunctionwrap_to_pi
(angles: torch.Tensor)
isaac_utils/isaac_utils/rotations.py:39
↓ 4 callersMethodact
(self, actor_obs, deterministic=False, **kwargs)
humanoidverse/agents/modules/ppo_modules.py:69
↓ 4 callersMethodactor
(self)
humanoidverse/agents/modules/ppo_modules.py:37
↓ 4 callersMethodbatch_update_data
(self, key: str, data: Tensor)
humanoidverse/agents/modules/data_utils.py:124
↓ 4 callersMethodcalculate_phase_expectation
Calculate the expectation value of I_i(φ). Parameters: phi (float): The given phase time. offset (float): The offset
humanoidverse/envs/locomotion/locomotion_ma.py:340
↓ 4 callersMethodget_actions_log_prob
(self, actions)
humanoidverse/agents/modules/ppo_modules.py:76
↓ 4 callersFunctionquat_unit
(a)
isaac_utils/isaac_utils/rotations.py:13
↓ 4 callersMethodquery
(self, key: str)
humanoidverse/envs/env_utils/history_handler.py:42
↓ 4 callersMethodreset
(self, dones=None)
humanoidverse/agents/modules/ppo_modules.py:46
↓ 3 callersMethod_push_robots
Random pushes the robots. Emulates an impulse by setting a randomized base velocity.
humanoidverse/envs/legged_base_task/legged_robot_base_ma.py:412
↓ 3 callersMethodact_inference
(self, actor_obs)
humanoidverse/agents/modules/ppo_modules.py:79
↓ 3 callersMethodexport
(self, path)
humanoidverse/utils/helpers.py:122
↓ 3 callersMethodincrement_step
(self)
humanoidverse/agents/modules/data_utils.py:115
↓ 3 callersMethodload
(self, ckpt_path)
humanoidverse/agents/ppo/ppo.py:143
↓ 3 callersFunctionnormalize
(x, eps: float = 1e-9)
isaac_utils/isaac_utils/maths.py:7
↓ 3 callersFunctionquat_from_angle_axis
(angle: Tensor, axis: Tensor, w_last: bool)
isaac_utils/isaac_utils/rotations.py:125
↓ 3 callersFunctionquat_rotate
(q: Tensor, v: Tensor, w_last: bool)
isaac_utils/isaac_utils/rotations.py:69
↓ 3 callersMethodrefresh_sim_tensors
(self)
humanoidverse/simulator/isaacgym/isaacgym.py:468
↓ 3 callersMethodset_actor_root_state_tensor
(self, set_env_ids, root_states)
humanoidverse/simulator/isaacgym/isaacgym.py:490
↓ 3 callersMethodset_dof_state_tensor
(self, set_env_ids, dof_states)
humanoidverse/simulator/isaacgym/isaacgym.py:504
↓ 3 callersMethodset_is_evaluating
(self, command=None)
humanoidverse/envs/locomotion/locomotion_ma.py:145
↓ 3 callersMethodsetup
(self)
humanoidverse/agents/ppo/ppo.py:95
↓ 3 callersFunctionto_torch
(x, dtype=torch.float, device='cuda:0', requires_grad=False)
humanoidverse/utils/torch_utils.py:15
↓ 3 callersFunctiontorch_rand_float
(lower, upper, shape, device)
isaac_utils/isaac_utils/maths.py:11
↓ 3 callersFunctiontransform_rotation
Get rotation from transform
isaac_utils/isaac_utils/rotations.py:459
↓ 2 callersMethod__init__
(self, obs_dim_dict, module_config_dict, num_actions,
humanoidverse/agents/modules/ppo_modules.py:11
↓ 2 callersMethod_calc_phase_time
(self)
humanoidverse/envs/locomotion/locomotion_ma.py:90
↓ 2 callersMethod_create_actor_state
(self)
humanoidverse/agents/ppo/ppo.py:598
↓ 2 callersMethod_create_eval_callbacks
(self)
humanoidverse/agents/ppo/ppo.py:601
↓ 2 callersMethod_get_inference_policy
(self, device=None)
humanoidverse/agents/ppo/ppo.py:631
↓ 2 callersMethod_post_eval_env_step
(self, actor_state)
humanoidverse/agents/ppo/ppo.py:626
↓ 2 callersMethod_post_evaluate_policy
(self)
humanoidverse/agents/ppo/ppo.py:615
↓ 2 callersMethod_pre_eval_env_step
(self, actor_state: dict)
humanoidverse/agents/ppo/ppo.py:619
↓ 2 callersMethod_pre_eval_env_step
(self, actor_state: dict)
humanoidverse/agents/ppo_ma/ppo_ma.py:601
↓ 2 callersMethod_pre_evaluate_policy
(self, reset_env=True)
humanoidverse/agents/ppo/ppo.py:606
↓ 2 callersMethod_refresh_sim_tensors
(self)
humanoidverse/envs/base_task/base_task.py:75
↓ 2 callersMethod_resample_commands
(self, env_ids)
humanoidverse/envs/locomotion/locomotion_ma.py:131
↓ 2 callersMethod_reset_dofs
Resets DOF position and velocities of selected environmments Positions are randomly selected within 0.5:1.5 x default positions. Velo
humanoidverse/envs/legged_base_task/legged_robot_base_ma.py:763
↓ 2 callersMethod_reset_robot_states_callback
(self, env_ids, target_states=None)
humanoidverse/envs/legged_base_task/legged_robot_base_ma.py:379
↓ 2 callersMethod_reset_root_states
Resets ROOT states position and velocities of selected environmments if target_root_states is not None, reset to target_root_states
humanoidverse/envs/legged_base_task/legged_robot_base_ma.py:786
↓ 2 callersMethodadd_terrain_to_map
(self, terrain, row, col)
humanoidverse/envs/env_utils/terrain.py:96
↓ 2 callersMethodapply_torques_at_dof
(self, torques)
humanoidverse/simulator/isaacgym/isaacgym.py:487
↓ 2 callersFunctioncalc_heading
(q)
isaac_utils/isaac_utils/rotations.py:241
↓ 2 callersFunctioncopysign
(a, b)
isaac_utils/isaac_utils/maths.py:16
↓ 2 callersMethodcritic_evaluation
(self, critic_obs, key)
humanoidverse/agents/ppo_ma/ppo_ma.py:182
↓ 2 callersFunctionget_euler_xyz_in_tensor
(q)
isaac_utils/isaac_utils/rotations.py:333
↓ 2 callersMethodlog_states
(self, dict)
humanoidverse/agents/callbacks/analysis_plot_locomotion.py:129
↓ 2 callersMethodmake_terrain
(self, terrain_type, difficulty)
humanoidverse/envs/env_utils/terrain.py:84
↓ 2 callersMethodmean_and_clear
(self)
humanoidverse/utils/average_meters.py:56
↓ 2 callersMethodmini_batch_generator
(self, num_mini_batches, num_epochs=8)
humanoidverse/agents/modules/data_utils.py:164
↓ 2 callersFunctionnormalize
(x, eps: float = 1e-9)
humanoidverse/utils/torch_utils.py:44
↓ 2 callersMethodon_pre_eval_env_step
(self, actor_state)
humanoidverse/agents/callbacks/base_callback.py:14
↓ 2 callersFunctionpre_process_config
Pre-process the config for PPO training
humanoidverse/utils/helpers.py:29
↓ 2 callersFunctionquat_identity
Construct 3D identity rotation given shape
isaac_utils/isaac_utils/rotations.py:427
↓ 2 callersFunctionquat_mul
(a, b, w_last: bool)
isaac_utils/isaac_utils/rotations.py:379
↓ 2 callersFunctionquat_normalize
Construct 3D rotation from quaternion (the quaternion needs not to be normalized).
isaac_utils/isaac_utils/rotations.py:371
↓ 2 callersFunctiontransform_translation
Get translation from transform
isaac_utils/isaac_utils/rotations.py:464
↓ 1 callersMethod__init__
model: The original PyTorch model. input_keys: List of input names as keys for the input dictionary.
humanoidverse/utils/inference_helpers.py:20
↓ 1 callersMethod__init__
(self)
humanoidverse/agents/modules/data_utils.py:24
↓ 1 callersMethod__init__
(self, config, env, n_samples:Optional[int]=100,
humanoidverse/agents/modules/world_models.py:30
↓ 1 callersMethod__init__
(self, dt)
humanoidverse/agents/callbacks/analysis_plot_locomotion.py:109
↓ 1 callersMethod_actor_critic_rollout_step
(self, obs_dict)
humanoidverse/agents/ppo/ppo.py:220
↓ 1 callersMethod_apply_force_in_physics_step
(self)
humanoidverse/envs/legged_base_task/legged_robot_base_ma.py:224
↓ 1 callersMethod_build_each_env
(self, env_id, env_ptr)
humanoidverse/simulator/isaacgym/isaacgym.py:232
↓ 1 callersMethod_build_mlp_layer
(self, layer_config)
humanoidverse/agents/modules/modules.py:48
↓ 1 callersMethod_build_network_layer
(self, layer_config)
humanoidverse/agents/modules/modules.py:42
↓ 1 callersMethod_calculate_input_dim
(self)
humanoidverse/agents/modules/modules.py:16
↓ 1 callersMethod_calculate_output_dim
(self)
humanoidverse/agents/modules/modules.py:32
↓ 1 callersMethod_check_termination
Check if environments need to be reset
humanoidverse/envs/legged_base_task/legged_robot_base_ma.py:298
↓ 1 callersMethod_compute_observations
Computes observations
humanoidverse/envs/legged_base_task/legged_robot_base_ma.py:522
↓ 1 callersMethod_compute_ppo_loss
(self, policy_state_dict)
humanoidverse/agents/ppo/ppo.py:375
↓ 1 callersMethod_compute_ppo_loss
(self, policy_state_dict, key)
humanoidverse/agents/ppo_ma/ppo_ma.py:380
↓ 1 callersMethod_compute_returns
Compute the returns and advantages for the given policy state. This function calculates the returns and advantages for each step in the
humanoidverse/agents/ppo/ppo.py:298
↓ 1 callersMethod_compute_returns
Compute the returns and advantages for the given policy state. This function calculates the returns and advantages for each step in the
humanoidverse/agents/ppo_ma/ppo_ma.py:298
↓ 1 callersMethod_compute_reward
Compute rewards Calls each reward function which had a non-zero scale (processed in self._prepare_reward_function()) adds eac
humanoidverse/envs/legged_base_task/legged_robot_base_ma.py:486
↓ 1 callersMethod_compute_torques
Compute torques from actions. Actions can be interpreted as position or velocity targets given to a PD controller, or directly as scaled
humanoidverse/envs/locomotion/locomotion_stand_ma_nouse.py:82
↓ 1 callersMethod_compute_torques
Compute torques from actions. Actions can be interpreted as position or velocity targets given to a PD controller, or directly as scaled
humanoidverse/envs/legged_base_task/legged_robot_base_ma.py:542
↓ 1 callersMethod_create_envs
Creates environments: 1. loads the robot URDF/MJCF asset, 2. For each environment 2.1 creates the environme
humanoidverse/envs/base_task/base_task.py:141
↓ 1 callersMethod_create_ground_plane
Adds a ground plane to the simulation, sets friction and restitution based on the cfg.
humanoidverse/simulator/isaacgym/isaacgym.py:101
↓ 1 callersMethod_create_heightfield
Adds a heightfield terrain to the simulation, sets parameters based on the cfg.
humanoidverse/simulator/isaacgym/isaacgym.py:113
↓ 1 callersMethod_create_trimesh
Adds a triangle mesh terrain to the simulation, sets parameters based on the cfg.
humanoidverse/simulator/isaacgym/isaacgym.py:132
↓ 1 callersMethod_domain_rand_config
(self)
humanoidverse/envs/legged_base_task/legged_robot_base_ma.py:88
↓ 1 callersMethod_draw_debug_vis
Draws visualizations for dubugging (slows down simulation a lot). Default behaviour: draws height measurement points
humanoidverse/envs/legged_base_task/legged_robot_base_ma.py:575
next →1–100 of 568, ranked by callers