Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PKU-MARL/HARL
/ functions
Functions
1,457 in github.com/PKU-MARL/HARL
⨍
Functions
1,457
◇
Types & classes
185
↓ 1 callers
Function
NEU2LLA
Convert from NEU Coordinate System to Geodetic Coordinate System. Args: n, e, u (float): target relative position w.r.t. North, East, Dow
harl/envs/lag/JSBSim/utils/utils.py:43
↓ 1 callers
Method
__init__
(self, agent_id)
harl/envs/lag/JSBSim/model/baseline.py:64
↓ 1 callers
Method
__init__
(self, agent_id)
harl/envs/lag/JSBSim/test/test_baseline_use_env.py:73
↓ 1 callers
Method
__init__
(self, agent_id)
harl/envs/lag/JSBSim/test/test_baseline_use_obs.py:64
↓ 1 callers
Method
__init__
(self, args, obs_shape)
harl/models/base/cnn.py:71
↓ 1 callers
Method
__init__
(self, args, obs_shape)
harl/models/base/mlp.py:47
↓ 1 callers
Method
__init__
( self, num_inputs, num_outputs, initialization_method="orthogonal_", gain=0.01 )
harl/models/base/distributions.py:40
↓ 1 callers
Method
_action
(self, action)
harl/envs/mamujoco/multiagent_mujoco/mujoco_multi.py:23
↓ 1 callers
Function
_adjacent
(lst, kagents=False)
harl/envs/mamujoco/multiagent_mujoco/obsk.py:70
↓ 1 callers
Method
_create_envs
Create multiple parallel isaacgym environments Args: num_envs (int): The total number of environment spacin
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_switch.py:357
↓ 1 callers
Method
_create_envs
(self, num_envs, spacing, num_per_row)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_bottle_cap.py:389
↓ 1 callers
Method
_create_envs
Create multiple parallel isaacgym environments Args: num_envs (int): The total number of environment spacin
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_close_inward.py:368
↓ 1 callers
Method
_create_envs
Create multiple parallel isaacgym environments Args: num_envs (int): The total number of environment spacin
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_close_outward.py:370
↓ 1 callers
Method
_create_envs
Create multiple parallel isaacgym environments Args: num_envs (int): The total number of environment spacin
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_catch_over2underarm.py:338
↓ 1 callers
Method
_create_envs
Create multiple parallel isaacgym environments Args: num_envs (int): The total number of environment spacin
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_two_catch_underarm.py:341
↓ 1 callers
Method
_create_envs
Create multiple parallel isaacgym environments Args: num_envs (int): The total number of environment spacin
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_block_stack.py:361
↓ 1 callers
Method
_create_envs
Create multiple parallel isaacgym environments Args: num_envs (int): The total number of environment spacin
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_scissors.py:358
↓ 1 callers
Method
_create_envs
(self, num_envs, spacing, num_per_row)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/allegro_hand_over.py:252
↓ 1 callers
Method
_create_envs
(self, num_envs, spacing, num_per_row)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/allegro_hand_catch_underarm.py:256
↓ 1 callers
Method
_create_envs
(self, num_envs, spacing, num_per_row)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_push_block.py:357
↓ 1 callers
Method
_create_envs
Create multiple parallel isaacgym environments Args: num_envs (int): The total number of environment spacin
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_kettle.py:360
↓ 1 callers
Method
_create_envs
Create multiple parallel isaacgym environments Args: num_envs (int): The total number of environment spacin
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_catch_abreast.py:342
↓ 1 callers
Method
_create_envs
Create multiple parallel isaacgym environments Args: num_envs (int): The total number of environment spacin
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_re_orientation.py:333
↓ 1 callers
Method
_create_envs
Create multiple parallel isaacgym environments Args: num_envs (int): The total number of environment spacin
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_swing_cup.py:367
↓ 1 callers
Method
_create_envs
Create multiple parallel isaacgym environments Args: num_envs (int): The total number of environment spacin
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_grasp_and_place.py:356
↓ 1 callers
Method
_create_envs
Create multiple parallel isaacgym environments Args: num_envs (int): The total number of environment spacin
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_open_outward.py:369
↓ 1 callers
Method
_create_envs
Create multiple parallel isaacgym environments Args: num_envs (int): The total number of environment spacin
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_pen.py:359
↓ 1 callers
Method
_create_envs
Create multiple parallel isaacgym environments Args: num_envs (int): The total number of environment spacin
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_over.py:334
↓ 1 callers
Method
_create_envs
Create multiple parallel isaacgym environments Args: num_envs (int): The total number of environment spacin
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_lift_underarm.py:352
↓ 1 callers
Method
_create_envs
Create multiple parallel isaacgym environments Args: num_envs (int): The total number of environment spacin
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_open_inward.py:369
↓ 1 callers
Method
_create_envs
(self, num_envs, spacing, num_per_row)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_point_cloud.py:300
↓ 1 callers
Method
_create_envs
Create multiple parallel isaacgym environments Args: num_envs (int): The total number of environment spacin
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_catch_underarm.py:357
↓ 1 callers
Method
_create_envs
(self, num_envs, spacing, num_per_row)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_meta/shadow_hand_meta_mt1.py:285
↓ 1 callers
Method
_create_envs
(self, num_envs, spacing, num_per_row)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_meta/shadow_hand_meta_mt4.py:307
↓ 1 callers
Method
_create_envs
(self, num_envs, spacing, num_per_row)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_meta/shadow_hand_meta_ml1.py:286
↓ 1 callers
Method
_create_ground_plane
Adds ground plane to simulation
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_switch.py:348
↓ 1 callers
Method
_create_ground_plane
(self)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_bottle_cap.py:384
↓ 1 callers
Method
_create_ground_plane
Adds ground plane to simulation
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_close_inward.py:359
↓ 1 callers
Method
_create_ground_plane
Adds ground plane to simulation
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_close_outward.py:361
↓ 1 callers
Method
_create_ground_plane
Adds ground plane to simulation
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_catch_over2underarm.py:330
↓ 1 callers
Method
_create_ground_plane
Adds ground plane to simulation
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_two_catch_underarm.py:333
↓ 1 callers
Method
_create_ground_plane
Adds ground plane to simulation
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_block_stack.py:352
↓ 1 callers
Method
_create_ground_plane
Adds ground plane to simulation
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_scissors.py:349
↓ 1 callers
Method
_create_ground_plane
(self)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/allegro_hand_over.py:247
↓ 1 callers
Method
_create_ground_plane
(self)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/allegro_hand_catch_underarm.py:251
↓ 1 callers
Method
_create_ground_plane
Adds ground plane to simulation
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_push_block.py:349
↓ 1 callers
Method
_create_ground_plane
Adds ground plane to simulation
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_kettle.py:352
↓ 1 callers
Method
_create_ground_plane
Adds ground plane to simulation
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_catch_abreast.py:334
↓ 1 callers
Method
_create_ground_plane
Adds ground plane to simulation
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_re_orientation.py:325
↓ 1 callers
Method
_create_ground_plane
Adds ground plane to simulation
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_swing_cup.py:359
↓ 1 callers
Method
_create_ground_plane
Adds ground plane to simulation
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_grasp_and_place.py:348
↓ 1 callers
Method
_create_ground_plane
Adds ground plane to simulation
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_open_outward.py:361
↓ 1 callers
Method
_create_ground_plane
Adds ground plane to simulation
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_pen.py:351
↓ 1 callers
Method
_create_ground_plane
Adds ground plane to simulation
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_over.py:326
↓ 1 callers
Method
_create_ground_plane
Adds ground plane to simulation
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_lift_underarm.py:344
↓ 1 callers
Method
_create_ground_plane
Adds ground plane to simulation
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_open_inward.py:360
↓ 1 callers
Method
_create_ground_plane
(self)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_point_cloud.py:295
↓ 1 callers
Method
_create_ground_plane
Adds ground plane to simulation
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_catch_underarm.py:348
↓ 1 callers
Method
_create_ground_plane
(self)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_meta/shadow_hand_meta_mt1.py:280
↓ 1 callers
Method
_create_ground_plane
(self)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_meta/shadow_hand_meta_mt4.py:302
↓ 1 callers
Method
_create_ground_plane
(self)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_meta/shadow_hand_meta_ml1.py:281
↓ 1 callers
Method
_generate_asset
(self, n_segs, asset_path)
harl/envs/mamujoco/multiagent_mujoco/manyagent_ant.py:37
↓ 1 callers
Method
_generate_asset
(self, n_segs, asset_path)
harl/envs/mamujoco/multiagent_mujoco/manyagent_swimmer.py:37
↓ 1 callers
Method
_guidance
Guidance law, proportional navigation
harl/envs/lag/JSBSim/core/simulatior.py:481
↓ 1 callers
Method
_init_ally_unit_types
Initialise ally unit types. Should be called once from the init_units function.
harl/envs/smac/StarCraft2_Env.py:2364
↓ 1 callers
Method
_judge_overload
(self, sim)
harl/envs/lag/JSBSim/termination_conditions/overload.py:37
↓ 1 callers
Method
_kill_all_units
Kill all units on the map.
harl/envs/smac/StarCraft2_Env.py:2255
↓ 1 callers
Function
_kl_normal_normal
KL divergence between two normal distributions. adapted from https://pytorch.org/docs/stable/_modules/torch/distributions/kl.html#kl_divergence
harl/utils/trpo_util.py:54
↓ 1 callers
Method
_restart
Restart the environment by killing all units on the map. There is a trigger in the SC2Map file, which restarts the episode when there
harl/envs/smac/StarCraft2_Env.py:507
↓ 1 callers
Method
_state_trans
State transition function
harl/envs/lag/JSBSim/core/simulatior.py:503
↓ 1 callers
Method
add_jsbsim_props
Add to Catalog lag properties from jbsbsim_props Args: jsbsim_props (list): list of 'name_jsbsim (access)' of lag properties
harl/envs/lag/JSBSim/core/catalog.py:546
↓ 1 callers
Method
after_update
Do the necessary data operations after an update. After an update, copy the data at the last step to the first position of the buffer.
harl/runners/on_policy_base_runner.py:490
↓ 1 callers
Function
build_obs
Given a k_dict from get_joints_at_kdist, extract observation vector. :param k_dict: k_dict :param qpos: qpos numpy array :param qvel: qve
harl/envs/mamujoco/multiagent_mujoco/obsk.py:97
↓ 1 callers
Method
cal_value_loss
Calculate value function loss. Args: values: (torch.Tensor) value function predictions. value_preds_batch: (torch.Tens
harl/algorithms/critics/v_critic.py:75
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_switch.py:2008
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_bottle_cap.py:2233
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_close_inward.py:2059
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_close_outward.py:2058
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_catch_over2underarm.py:1800
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_two_catch_underarm.py:2001
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_block_stack.py:2068
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_scissors.py:2043
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_push_block.py:2023
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_kettle.py:2131
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_catch_abreast.py:1974
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_re_orientation.py:1837
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_swing_cup.py:2028
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_grasp_and_place.py:2019
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_open_outward.py:2050
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_pen.py:2043
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_over.py:1678
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_lift_underarm.py:2144
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_door_open_inward.py:2053
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_point_cloud.py:1399
↓ 1 callers
Method
camera_visulization
(self, is_depth_image=False)
harl/envs/dexhands/DexterousHands/bidexhands/tasks/shadow_hand_catch_underarm.py:1833
↓ 1 callers
Method
clear_defalut_condition
(self)
harl/envs/lag/JSBSim/core/simulatior.py:193
↓ 1 callers
Method
close
(self)
harl/envs/lag/lag_env.py:53
↓ 1 callers
Method
close
(self)
harl/envs/lag/JSBSim/core/render_tacview.py:81
↓ 1 callers
Method
close_extras
Clean up the extra resources, beyond what's in this base class. Only runs when not self.closed.
harl/envs/env_wrappers.py:110
↓ 1 callers
Method
collect
Collect actions and values from actors and critics. Args: step: step in the episode. Returns: values, actions,
harl/runners/on_policy_base_runner.py:286
← previous
next →
301–400 of 1,457, ranked by callers