Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LeCAR-Lab/SoFTA
/ functions
Functions
568 in github.com/LeCAR-Lab/SoFTA
⨍
Functions
568
◇
Types & classes
38
↳
Endpoints
1
↓ 53 callers
Method
mean
(self)
humanoidverse/utils/average_meters.py:44
↓ 36 callers
Method
update_key
(self, key: str, data: Tensor)
humanoidverse/agents/modules/data_utils.py:118
↓ 32 callers
Function
torch_rand_float
(lower, upper, shape, device)
humanoidverse/utils/torch_utils.py:193
↓ 22 callers
Function
quat_rotate_inverse
(q, v)
humanoidverse/utils/torch_utils.py:72
↓ 20 callers
Method
register_key
(self, key: str, shape=(), dtype=torch.float)
humanoidverse/agents/modules/data_utils.py:64
↓ 18 callers
Method
index
()
humanoidverse/agents/callbacks/analysis_plot_locomotion.py:151
↓ 10 callers
Function
quat_apply
(a, b)
humanoidverse/utils/torch_utils.py:49
↓ 10 callers
Method
step
parameters: actions: (n_samples, action_dim) outputs: obs: (n_samples, obs_dim) rewards: (n_samples,)
humanoidverse/agents/modules/world_models.py:66
↓ 9 callers
Method
add
(self, x)
humanoidverse/utils/average_meters.py:39
↓ 7 callers
Method
clear
(self)
humanoidverse/agents/modules/data_utils.py:147
↓ 7 callers
Method
find_rigid_body_indice
(self, body_name)
humanoidverse/simulator/isaacgym/isaacgym.py:421
↓ 7 callers
Method
reset_all
Reset all robots
humanoidverse/envs/base_task/base_task.py:79
↓ 7 callers
Method
save
(self, path, infos=None)
humanoidverse/agents/ppo/ppo.py:162
↓ 7 callers
Method
update
(self, values)
humanoidverse/utils/average_meters.py:13
↓ 6 callers
Method
query_key
(self, key: str)
humanoidverse/agents/modules/data_utils.py:160
↓ 6 callers
Method
reset_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 callers
Method
evaluate
(self, critic_obs, **kwargs)
humanoidverse/agents/modules/ppo_modules.py:104
↓ 5 callers
Function
wrap_to_pi
(angles: torch.Tensor)
isaac_utils/isaac_utils/rotations.py:39
↓ 4 callers
Method
act
(self, actor_obs, deterministic=False, **kwargs)
humanoidverse/agents/modules/ppo_modules.py:69
↓ 4 callers
Method
actor
(self)
humanoidverse/agents/modules/ppo_modules.py:37
↓ 4 callers
Method
batch_update_data
(self, key: str, data: Tensor)
humanoidverse/agents/modules/data_utils.py:124
↓ 4 callers
Method
calculate_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 callers
Method
get_actions_log_prob
(self, actions)
humanoidverse/agents/modules/ppo_modules.py:76
↓ 4 callers
Function
quat_unit
(a)
isaac_utils/isaac_utils/rotations.py:13
↓ 4 callers
Method
query
(self, key: str)
humanoidverse/envs/env_utils/history_handler.py:42
↓ 4 callers
Method
reset
(self, dones=None)
humanoidverse/agents/modules/ppo_modules.py:46
↓ 3 callers
Method
_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 callers
Method
act_inference
(self, actor_obs)
humanoidverse/agents/modules/ppo_modules.py:79
↓ 3 callers
Method
export
(self, path)
humanoidverse/utils/helpers.py:122
↓ 3 callers
Method
increment_step
(self)
humanoidverse/agents/modules/data_utils.py:115
↓ 3 callers
Method
load
(self, ckpt_path)
humanoidverse/agents/ppo/ppo.py:143
↓ 3 callers
Function
normalize
(x, eps: float = 1e-9)
isaac_utils/isaac_utils/maths.py:7
↓ 3 callers
Function
quat_from_angle_axis
(angle: Tensor, axis: Tensor, w_last: bool)
isaac_utils/isaac_utils/rotations.py:125
↓ 3 callers
Function
quat_rotate
(q: Tensor, v: Tensor, w_last: bool)
isaac_utils/isaac_utils/rotations.py:69
↓ 3 callers
Method
refresh_sim_tensors
(self)
humanoidverse/simulator/isaacgym/isaacgym.py:468
↓ 3 callers
Method
set_actor_root_state_tensor
(self, set_env_ids, root_states)
humanoidverse/simulator/isaacgym/isaacgym.py:490
↓ 3 callers
Method
set_dof_state_tensor
(self, set_env_ids, dof_states)
humanoidverse/simulator/isaacgym/isaacgym.py:504
↓ 3 callers
Method
set_is_evaluating
(self, command=None)
humanoidverse/envs/locomotion/locomotion_ma.py:145
↓ 3 callers
Method
setup
(self)
humanoidverse/agents/ppo/ppo.py:95
↓ 3 callers
Function
to_torch
(x, dtype=torch.float, device='cuda:0', requires_grad=False)
humanoidverse/utils/torch_utils.py:15
↓ 3 callers
Function
torch_rand_float
(lower, upper, shape, device)
isaac_utils/isaac_utils/maths.py:11
↓ 3 callers
Function
transform_rotation
Get rotation from transform
isaac_utils/isaac_utils/rotations.py:459
↓ 2 callers
Method
__init__
(self, obs_dim_dict, module_config_dict, num_actions,
humanoidverse/agents/modules/ppo_modules.py:11
↓ 2 callers
Method
_calc_phase_time
(self)
humanoidverse/envs/locomotion/locomotion_ma.py:90
↓ 2 callers
Method
_create_actor_state
(self)
humanoidverse/agents/ppo/ppo.py:598
↓ 2 callers
Method
_create_eval_callbacks
(self)
humanoidverse/agents/ppo/ppo.py:601
↓ 2 callers
Method
_get_inference_policy
(self, device=None)
humanoidverse/agents/ppo/ppo.py:631
↓ 2 callers
Method
_post_eval_env_step
(self, actor_state)
humanoidverse/agents/ppo/ppo.py:626
↓ 2 callers
Method
_post_evaluate_policy
(self)
humanoidverse/agents/ppo/ppo.py:615
↓ 2 callers
Method
_pre_eval_env_step
(self, actor_state: dict)
humanoidverse/agents/ppo/ppo.py:619
↓ 2 callers
Method
_pre_eval_env_step
(self, actor_state: dict)
humanoidverse/agents/ppo_ma/ppo_ma.py:601
↓ 2 callers
Method
_pre_evaluate_policy
(self, reset_env=True)
humanoidverse/agents/ppo/ppo.py:606
↓ 2 callers
Method
_refresh_sim_tensors
(self)
humanoidverse/envs/base_task/base_task.py:75
↓ 2 callers
Method
_resample_commands
(self, env_ids)
humanoidverse/envs/locomotion/locomotion_ma.py:131
↓ 2 callers
Method
_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 callers
Method
_reset_robot_states_callback
(self, env_ids, target_states=None)
humanoidverse/envs/legged_base_task/legged_robot_base_ma.py:379
↓ 2 callers
Method
_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 callers
Method
add_terrain_to_map
(self, terrain, row, col)
humanoidverse/envs/env_utils/terrain.py:96
↓ 2 callers
Method
apply_torques_at_dof
(self, torques)
humanoidverse/simulator/isaacgym/isaacgym.py:487
↓ 2 callers
Function
calc_heading
(q)
isaac_utils/isaac_utils/rotations.py:241
↓ 2 callers
Function
copysign
(a, b)
isaac_utils/isaac_utils/maths.py:16
↓ 2 callers
Method
critic_evaluation
(self, critic_obs, key)
humanoidverse/agents/ppo_ma/ppo_ma.py:182
↓ 2 callers
Function
get_euler_xyz_in_tensor
(q)
isaac_utils/isaac_utils/rotations.py:333
↓ 2 callers
Method
log_states
(self, dict)
humanoidverse/agents/callbacks/analysis_plot_locomotion.py:129
↓ 2 callers
Method
make_terrain
(self, terrain_type, difficulty)
humanoidverse/envs/env_utils/terrain.py:84
↓ 2 callers
Method
mean_and_clear
(self)
humanoidverse/utils/average_meters.py:56
↓ 2 callers
Method
mini_batch_generator
(self, num_mini_batches, num_epochs=8)
humanoidverse/agents/modules/data_utils.py:164
↓ 2 callers
Function
normalize
(x, eps: float = 1e-9)
humanoidverse/utils/torch_utils.py:44
↓ 2 callers
Method
on_pre_eval_env_step
(self, actor_state)
humanoidverse/agents/callbacks/base_callback.py:14
↓ 2 callers
Function
pre_process_config
Pre-process the config for PPO training
humanoidverse/utils/helpers.py:29
↓ 2 callers
Function
quat_identity
Construct 3D identity rotation given shape
isaac_utils/isaac_utils/rotations.py:427
↓ 2 callers
Function
quat_mul
(a, b, w_last: bool)
isaac_utils/isaac_utils/rotations.py:379
↓ 2 callers
Function
quat_normalize
Construct 3D rotation from quaternion (the quaternion needs not to be normalized).
isaac_utils/isaac_utils/rotations.py:371
↓ 2 callers
Function
transform_translation
Get translation from transform
isaac_utils/isaac_utils/rotations.py:464
↓ 1 callers
Method
__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 callers
Method
__init__
(self)
humanoidverse/agents/modules/data_utils.py:24
↓ 1 callers
Method
__init__
(self, config, env, n_samples:Optional[int]=100,
humanoidverse/agents/modules/world_models.py:30
↓ 1 callers
Method
__init__
(self, dt)
humanoidverse/agents/callbacks/analysis_plot_locomotion.py:109
↓ 1 callers
Method
_actor_critic_rollout_step
(self, obs_dict)
humanoidverse/agents/ppo/ppo.py:220
↓ 1 callers
Method
_apply_force_in_physics_step
(self)
humanoidverse/envs/legged_base_task/legged_robot_base_ma.py:224
↓ 1 callers
Method
_build_each_env
(self, env_id, env_ptr)
humanoidverse/simulator/isaacgym/isaacgym.py:232
↓ 1 callers
Method
_build_mlp_layer
(self, layer_config)
humanoidverse/agents/modules/modules.py:48
↓ 1 callers
Method
_build_network_layer
(self, layer_config)
humanoidverse/agents/modules/modules.py:42
↓ 1 callers
Method
_calculate_input_dim
(self)
humanoidverse/agents/modules/modules.py:16
↓ 1 callers
Method
_calculate_output_dim
(self)
humanoidverse/agents/modules/modules.py:32
↓ 1 callers
Method
_check_termination
Check if environments need to be reset
humanoidverse/envs/legged_base_task/legged_robot_base_ma.py:298
↓ 1 callers
Method
_compute_observations
Computes observations
humanoidverse/envs/legged_base_task/legged_robot_base_ma.py:522
↓ 1 callers
Method
_compute_ppo_loss
(self, policy_state_dict)
humanoidverse/agents/ppo/ppo.py:375
↓ 1 callers
Method
_compute_ppo_loss
(self, policy_state_dict, key)
humanoidverse/agents/ppo_ma/ppo_ma.py:380
↓ 1 callers
Method
_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 callers
Method
_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 callers
Method
_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 callers
Method
_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 callers
Method
_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 callers
Method
_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 callers
Method
_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 callers
Method
_create_heightfield
Adds a heightfield terrain to the simulation, sets parameters based on the cfg.
humanoidverse/simulator/isaacgym/isaacgym.py:113
↓ 1 callers
Method
_create_trimesh
Adds a triangle mesh terrain to the simulation, sets parameters based on the cfg.
humanoidverse/simulator/isaacgym/isaacgym.py:132
↓ 1 callers
Method
_domain_rand_config
(self)
humanoidverse/envs/legged_base_task/legged_robot_base_ma.py:88
↓ 1 callers
Method
_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