Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mujocolab/mjlab
/ functions
Functions
2,812 in github.com/mujocolab/mjlab
⨍
Functions
2,812
◇
Types & classes
316
↳
Endpoints
15
Function
device
Test device fixture.
tests/test_sensor_caching.py:18
Function
device
Test device fixture.
tests/test_observation_history.py:17
Function
device
()
tests/test_builtin_group.py:19
Function
device
Test device fixture.
tests/test_delay_buffer.py:11
Function
device
Test device fixture.
tests/test_observation_delay.py:17
Function
device
()
tests/test_xml_actuator.py:40
Function
device
()
tests/test_actuator_builtin_group.py:43
Function
device
Test device fixture.
tests/test_entity.py:111
Function
device
Test device fixture.
tests/test_contact_sensor.py:72
Function
device
()
tests/test_actions.py:27
Function
device
()
tests/test_pd_actuator.py:16
Function
device
()
tests/test_delayed_actuator.py:19
Function
device
()
tests/test_raycast_sensor.py:24
Function
device
()
tests/test_lab_api_math.py:11
Function
device
()
tests/test_manager_config_immutability.py:27
Function
device
Test device fixture.
tests/test_observation_nan_handling.py:17
Function
device
()
tests/test_runner.py:33
Method
device
(self)
src/mjlab/utils/buffers/circular_buffer.py:144
Method
device
(self)
src/mjlab/viewer/base.py:101
Method
device
(self)
src/mjlab/managers/manager_base.py:75
Method
device
(self)
src/mjlab/managers/manager_base.py:109
Method
device
Device for computation.
src/mjlab/envs/manager_based_rl_env.py:271
Function
dict_state_func
(env, env_ids)
tests/test_curriculum_manager.py:26
Function
discrete_obstacles
( **overrides: Any, )
src/mjlab/terrains/config.py:123
Method
domain_randomization_fields
(self)
src/mjlab/managers/event_manager.py:203
Method
dones
(self)
src/mjlab/managers/termination_manager.py:75
Method
edit_spec
(self, spec: mujoco.MjSpec)
src/mjlab/utils/spec_config.py:57
Method
edit_spec
(self, spec: mujoco.MjSpec, target_names: list[str])
src/mjlab/actuator/xml_actuator.py:69
Method
edit_spec
(self, spec: mujoco.MjSpec, target_names: list[str])
src/mjlab/actuator/builtin_actuator.py:77
Method
edit_spec
(self, spec: mujoco.MjSpec, target_names: list[str])
src/mjlab/actuator/builtin_actuator.py:153
Method
edit_spec
(self, spec: mujoco.MjSpec, target_names: list[str])
src/mjlab/actuator/builtin_actuator.py:225
Method
edit_spec
(self, spec: mujoco.MjSpec, target_names: list[str])
src/mjlab/actuator/builtin_actuator.py:428
Method
edit_spec
(self, spec: mujoco.MjSpec, target_names: list[str])
src/mjlab/actuator/builtin_actuator.py:526
Method
edit_spec
(self, spec: mujoco.MjSpec, target_names: list[str])
src/mjlab/actuator/builtin_actuator.py:600
Method
edit_spec
Edit the MjSpec to add actuators. This is called during entity construction, before the model is compiled. Args: spec: The entity's Mj
src/mjlab/actuator/actuator.py:206
Method
edit_spec
(self, spec: mujoco.MjSpec, target_names: list[str])
src/mjlab/actuator/pd_actuator.py:56
Method
edit_spec
Expand patterns and add MuJoCo sensors (one per primary x field pair).
src/mjlab/sensor/contact_sensor.py:256
Method
edit_spec
( self, scene_spec: mujoco.MjSpec, entities: dict[str, Entity], )
src/mjlab/sensor/camera_sensor.py:155
Method
edit_spec
(self, scene_spec: mujoco.MjSpec, entities: dict[str, Entity])
src/mjlab/sensor/builtin_sensor.py:298
Method
edit_spec
( self, scene_spec: mujoco.MjSpec, entities: dict[str, Entity], )
src/mjlab/sensor/raycast_sensor.py:473
Function
ee_to_object_distance
Distance vector from end effector to object in base frame.
src/mjlab/tasks/manipulation/mdp/observations.py:23
Function
ee_velocity
EE linear velocity in EE frame.
src/mjlab/tasks/manipulation/mdp/observations.py:61
Function
effort_limits
Randomize actuator effort limits. Args: env: The environment. env_ids: Environment IDs to randomize. If None, randomizes all. effort_li
src/mjlab/envs/mdp/dr/actuator.py:192
Function
encoder_bias
Randomize encoder bias to simulate joint encoder calibration errors.
src/mjlab/envs/mdp/dr/joint.py:209
Method
entities
(self)
src/mjlab/scene/scene.py:116
Function
entity_with_site_xml
Entity XML with a site for tendon attachment.
tests/test_scene.py:88
Function
env
(device)
tests/test_domain_randomization.py:88
Function
env
(device)
tests/test_runner.py:38
Method
env_origins
(self)
src/mjlab/scene/scene.py:104
Method
env_spacing
(self)
src/mjlab/scene/scene.py:112
Method
episode_length_buf
(self)
src/mjlab/rl/vecenv_wrapper.py:54
Function
euler_xyz_from_quat
Convert rotations given as quaternions to Euler angles in radians. Note: The euler angles are assumed in XYZ extrinsic convention. A
src/mjlab/utils/lab_api/math.py:437
Method
expanded_fields
Names of model fields that have been expanded for per-env DR.
src/mjlab/sim/sim.py:386
Function
fake_entity
()
tests/test_scene_entity_config.py:63
Function
fake_scene
(fake_entity: _FakeEntity)
tests/test_scene_entity_config.py:75
Function
falling_box_xml
XML for a box that can fall onto a ground plane.
tests/conftest.py:194
Function
feet_air_time
Reward feet air time.
src/mjlab/tasks/velocity/mdp/rewards.py:209
Function
feet_clearance
Penalize deviation from target clearance height, weighted by foot velocity.
src/mjlab/tasks/velocity/mdp/rewards.py:241
Function
feet_slip
Penalize foot sliding (xy velocity while in contact).
src/mjlab/tasks/velocity/mdp/rewards.py:326
Function
fetch_available_local
()
src/mjlab/scripts/play.py:227
Function
fetch_available_wandb
()
src/mjlab/scripts/play.py:253
Method
find_actuators
( self, name_keys: str | Sequence[str], actuator_subset: Sequence[str] | None = None, preserve
src/mjlab/entity/entity.py:619
Method
find_cameras
( self, name_keys: str | Sequence[str], camera_subset: Sequence[str] | None = None, preserve_o
src/mjlab/entity/entity.py:579
Method
find_lights
( self, name_keys: str | Sequence[str], light_subset: Sequence[str] | None = None, preserve_or
src/mjlab/entity/entity.py:589
Method
find_materials
( self, name_keys: str | Sequence[str], material_subset: Sequence[str] | None = None, preserve
src/mjlab/entity/entity.py:599
Method
find_pairs
( self, name_keys: str | Sequence[str], pair_subset: Sequence[str] | None = None, preserve_ord
src/mjlab/entity/entity.py:609
Function
fixed_base_articulated_xml
Load fixed base articulated robot XML fixture.
tests/conftest.py:159
Function
fixed_base_box_xml
Load fixed base box XML fixture.
tests/conftest.py:147
Function
fixed_base_entity
(fixtures_dir, device)
tests/test_actions.py:48
Function
fixtures_dir
Path to test fixtures directory.
tests/conftest.py:34
Function
fixtures_dir
()
tests/test_actions.py:32
Function
flat_orientation_l2
Penalize non-flat base orientation.
src/mjlab/envs/mdp/rewards.py:153
Method
flat_patch_radii
(self)
src/mjlab/terrains/terrain_entity.py:179
Method
flat_patches
(self)
src/mjlab/terrains/terrain_entity.py:175
Function
flat_velocity_task_ids
Get all flat terrain velocity task IDs.
tests/test_velocity_task.py:36
Function
floating_base_articulated_xml
Load floating base articulated robot XML fixture.
tests/conftest.py:165
Function
floating_base_box_xml
Load floating base box XML fixture.
tests/conftest.py:153
Function
floating_base_entity
(device)
tests/test_actions.py:59
Function
floating_box_cfg
Entity config for a floating box with initial position.
tests/test_scene.py:438
Function
floating_sphere_cfg
Entity config for a floating sphere with initial position.
tests/test_scene.py:457
Function
foot_air_time
(env: ManagerBasedRlEnv, sensor_name: str)
src/mjlab/tasks/velocity/mdp/observations.py:27
Function
foot_contact
(env: ManagerBasedRlEnv, sensor_name: str)
src/mjlab/tasks/velocity/mdp/observations.py:35
Function
foot_contact_forces
(env: ManagerBasedRlEnv, sensor_name: str)
src/mjlab/tasks/velocity/mdp/observations.py:42
Method
forward
Compute spatial soft-argmax. Args: x: Feature maps of shape ``(B, C, H, W)``. Returns: Keypoint coordinates of shape ``(B, C
src/mjlab/rl/spatial_softmax.py:42
Method
forward
(self, x: torch.Tensor)
src/mjlab/rl/spatial_softmax.py:114
Method
forward
(self, x)
tests/test_learned_actuator.py:73
Method
forward
(self, x)
tests/test_learned_actuator.py:93
Method
from_rgb
Create RGBA from RGB with specified alpha.
src/mjlab/utils/color.py:34
Method
function
( self, difficulty: float, spec: mujoco.MjSpec, rng: np.random.Generator )
src/mjlab/terrains/heightfield_terrains.py:233
Method
function
( self, difficulty: float, spec: mujoco.MjSpec, rng: np.random.Generator )
src/mjlab/terrains/heightfield_terrains.py:410
Method
function
( self, difficulty: float, spec: mujoco.MjSpec, rng: np.random.Generator )
src/mjlab/terrains/heightfield_terrains.py:567
Method
function
( self, difficulty: float, spec: mujoco.MjSpec, rng: np.random.Generator )
src/mjlab/terrains/heightfield_terrains.py:714
Method
function
( self, difficulty: float, spec: mujoco.MjSpec, rng: np.random.Generator )
src/mjlab/terrains/primitive_terrains.py:42
Method
function
( self, difficulty: float, spec: mujoco.MjSpec, rng: np.random.Generator )
src/mjlab/terrains/primitive_terrains.py:70
Method
function
( self, difficulty: float, spec: mujoco.MjSpec, rng: np.random.Generator )
src/mjlab/terrains/primitive_terrains.py:247
Method
function
( self, difficulty: float, spec: mujoco.MjSpec, rng: np.random.Generator )
src/mjlab/terrains/primitive_terrains.py:443
Method
function
( self, difficulty: float, spec: mujoco.MjSpec, rng: np.random.Generator )
src/mjlab/terrains/primitive_terrains.py:736
Method
function
( self, difficulty: float, spec: mujoco.MjSpec, rng: np.random.Generator )
src/mjlab/terrains/primitive_terrains.py:845
Method
function
( self, difficulty: float, spec: mujoco.MjSpec, rng: np.random.Generator )
src/mjlab/terrains/primitive_terrains.py:1018
Method
function
( self, difficulty: float, spec: mujoco.MjSpec, rng: np.random.Generator )
src/mjlab/terrains/primitive_terrains.py:1180
← previous
next →
1,401–1,500 of 2,812, ranked by callers