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
Method
cleanup
Remove the HTML element from the GUI.
src/mjlab/viewer/viser/reward_bar_panel.py:73
Method
clear
Clear all debug visualizations.
src/mjlab/viewer/debug_visualizer.py:203
Method
clear
(self)
src/mjlab/viewer/debug_visualizer.py:268
Method
clear_debug_all
(self)
tests/test_viser_update_policy.py:27
Method
clear_histories
Clear all term histories.
src/mjlab/viewer/viser/term_plotter.py:220
Method
clear_histories
Clear all running-mean buffers and reset display.
src/mjlab/viewer/viser/reward_bar_panel.py:67
Method
clear_state
(self, env_ids: torch.Tensor | slice | None = None)
src/mjlab/entity/data.py:216
Method
close
(self)
src/mjlab/viewer/offscreen_renderer.py:234
Method
close
(self)
src/mjlab/viewer/base.py:112
Method
close
Close viewer and cleanup.
src/mjlab/viewer/native/viewer.py:437
Method
close
Close the viewer and cleanup resources.
src/mjlab/viewer/viser/viewer.py:534
Method
close
(self)
tests/test_viewer_tick.py:29
Function
combine_frame_transforms
r"""Combine transformations between two reference frames into a stationary frame. It performs the following transformation operation: :math:`T_{0
src/mjlab/utils/lab_api/math.py:760
Method
command
(self)
src/mjlab/managers/command_manager.py:96
Method
command
(self)
src/mjlab/tasks/velocity/mdp/velocity_command.py:58
Method
command
(self)
src/mjlab/tasks/manipulation/mdp/commands.py:37
Method
command
(self)
src/mjlab/tasks/manipulation/mdp/commands.py:158
Method
command
(self)
src/mjlab/tasks/tracking/mdp/commands.py:126
Method
command_field
The resolved command field (detected or explicit), not the raw config value. Set during ``edit_spec``. Use ``self.cfg.command_field`` to access t
src/mjlab/actuator/xml_actuator.py:60
Function
commands_vel
( env: ManagerBasedRlEnv, env_ids: torch.Tensor, command_name: str, velocity_stages: list[VelocityStag
src/mjlab/tasks/velocity/mdp/curriculums.py:83
Method
compute
(self, env_ids: torch.Tensor | None = None)
src/mjlab/managers/curriculum_manager.py:154
Method
compute
(self, dt: float)
src/mjlab/managers/command_manager.py:249
Method
compute
(self, dt: float)
src/mjlab/managers/command_manager.py:323
Method
compute
Compute actuator torques using the learned MLP model. Args: cmd: High-level actuator command containing targets and current state. Ret
src/mjlab/actuator/learned_actuator.py:145
Method
compute
(self, cmd: ActuatorCmd)
src/mjlab/actuator/xml_actuator.py:118
Method
compute
(self, cmd: ActuatorCmd)
src/mjlab/actuator/builtin_actuator.py:93
Method
compute
(self, cmd: ActuatorCmd)
src/mjlab/actuator/builtin_actuator.py:189
Method
compute
(self, cmd: ActuatorCmd)
src/mjlab/actuator/builtin_actuator.py:240
Method
compute
(self, cmd: ActuatorCmd)
src/mjlab/actuator/builtin_actuator.py:477
Method
compute
(self, cmd: ActuatorCmd)
src/mjlab/actuator/builtin_actuator.py:541
Method
compute
(self, cmd: ActuatorCmd)
src/mjlab/actuator/builtin_actuator.py:622
Method
compute
(self, cmd: ActuatorCmd)
src/mjlab/actuator/dc_actuator.py:135
Method
compute
(self, cmd: ActuatorCmd)
src/mjlab/actuator/pd_actuator.py:95
Method
compute
(self, dt: float)
src/mjlab/tasks/velocity/mdp/velocity_command.py:200
Method
compute_first_air
Returns [B, P] bool: True for primaries that took off within the last dt seconds.
src/mjlab/sensor/contact_sensor.py:389
Method
compute_substep
(self)
src/mjlab/managers/metrics_manager.py:221
Method
compute_success
(self)
src/mjlab/tasks/manipulation/mdp/commands.py:54
Method
compute_success
(self)
src/mjlab/tasks/manipulation/mdp/commands.py:184
Method
configure_env_origins
Configure the origins of the environments based on the terrain.
src/mjlab/terrains/terrain_entity.py:184
Method
configure_environment_map
(self, **_kwargs)
tests/test_variants.py:1303
Function
configure_test_environment
Configure test environment settings automatically for all tests.
tests/conftest.py:17
Function
constant_network_file
Create a network that returns constant value regardless of input.
tests/test_learned_actuator.py:69
Function
constant_reward
(env)
tests/test_rewards.py:277
Function
convert_camera_frame_orientation_convention
r"""Converts a quaternion representing a rotation from one convention to another. In USD, the camera follows the ``"opengl"`` convention. Thus, i
src/mjlab/utils/lab_api/math.py:1477
Function
convert_quat
Converts quaternion from one convention to another. The convention to convert TO is specified as an optional argument. If to == 'xyzw', then
src/mjlab/utils/lab_api/math.py:201
Function
counter
(env, env_ids)
tests/test_events.py:540
Function
counting_compute
()
tests/test_sensor_caching.py:167
Method
create_debug_vis_gui
( self, server: viser.ViserServer, on_change: Callable[[], None] | None = None, )
src/mjlab/managers/command_manager.py:308
Function
create_entity_from_fixture
Create entity from fixture file. Args: fixture_name: Name of the fixture file (without .xml extension). actuator_cfg: Optional actuator con
tests/conftest.py:72
Function
create_fixed_articulated_entity
Create a fixed-base articulated entity (e.g., robot arm).
tests/test_entity.py:128
Function
create_fixed_base_entity
Create a simple fixed-base entity.
tests/test_entity.py:116
Method
create_gui
Let each command term create its GUI controls.
src/mjlab/managers/command_manager.py:174
Method
create_gui
( self, server: viser.ViserServer, get_env_idx: Callable[[], int], on_change: Callable[[], Non
src/mjlab/managers/command_manager.py:293
Method
create_gui
Create velocity joystick sliders in the Viser viewer.
src/mjlab/tasks/velocity/mdp/velocity_command.py:142
Method
create_gui
Create motion scrubber controls in the Viser viewer.
src/mjlab/tasks/tracking/mdp/commands.py:509
Function
create_pendulum_spec
()
scripts/demos/body_impulse.py:42
Function
create_rotation_matrix_from_view
Compute the rotation matrix from world to view coordinates. This function takes a vector ''eyes'' which specifies the location of the camera
src/mjlab/utils/lab_api/math.py:1560
Function
create_scanner_spec
()
scripts/demos/raycast_sensor.py:49
Method
ctrl_ids
Local indices of control inputs within the entity.
src/mjlab/actuator/actuator.py:194
Method
current_lags
Current lag per environment. Shape: (batch_size,).
src/mjlab/utils/buffers/delay_buffer.py:176
Method
current_length
Per-batch count of valid frames. Shape: (batch_size,).
src/mjlab/utils/buffers/circular_buffer.py:152
Method
custom_value
Custom property that uses config field.
tests/test_entity.py:608
Method
data
(self)
src/mjlab/sim/sim.py:373
Method
data
Get the current sensor data, using cached value if available. This property returns the sensor's current data in its specific type. The data
src/mjlab/sensor/sensor.py:96
Method
data
Raycast data with per-frame terrain clearance heights.
src/mjlab/sensor/terrain_height_sensor.py:53
Method
data
(self)
src/mjlab/entity/entity.py:409
Method
debug_vis
Delegate debug visualization to class-based event terms.
src/mjlab/managers/event_manager.py:334
Method
debug_vis
Delegate debug visualization to class-based reward terms.
src/mjlab/managers/reward_manager.py:135
Method
debug_vis
(self, visualizer: "DebugVisualizer")
src/mjlab/managers/command_manager.py:170
Method
debug_vis
(self, visualizer: "DebugVisualizer")
src/mjlab/managers/command_manager.py:290
Method
debug_vis
Visualize sensor data for debugging. Base implementation does nothing. Override in subclasses that support debug visualization. Args:
src/mjlab/sensor/sensor.py:153
Method
debug_vis
(self, visualizer: DebugVisualizer)
src/mjlab/sensor/raycast_sensor.py:604
Method
debug_vis
(self, visualizer: DebugVisualizer)
src/mjlab/tasks/velocity/mdp/rewards.py:115
Function
decorator
(func: F)
src/mjlab/managers/event_manager.py:91
Method
default_model_fields
Default values for expanded model fields, used in domain randomization.
src/mjlab/sim/sim.py:381
Function
default_orientation
Returns identity rotation transform. Args: num: The number of rotations to sample. device: Device to create tensor on. Retur
src/mjlab/utils/lab_api/math.py:1282
Function
device
Test device fixture.
tests/test_action_manager.py:13
Function
device
()
tests/test_builtin_dcmotor_actuator.py:44
Function
device
()
tests/test_learned_actuator.py:48
Function
device
()
tests/test_dc_actuator.py:16
Function
device
()
tests/test_projected_gravity_sensor.py:74
Function
device
()
tests/test_camera_sensor.py:17
Function
device
Test device fixture.
tests/test_circular_buffer.py:11
Function
device
()
tests/test_differential_ik_action.py:77
Function
device
()
tests/test_foot_height_sensor.py:66
Function
device
Test device fixture.
tests/test_rewards.py:41
Function
device
Test device fixture.
tests/test_sim_data.py:20
Function
device
()
tests/test_recorder_manager.py:459
Function
device
Test device fixture.
tests/test_observation_noise.py:21
Function
device
Test device fixture.
tests/test_sim.py:13
Function
device
()
tests/test_builtin_pd_actuator.py:35
Function
device
Test device fixture.
tests/test_builtin_sensor.py:19
Function
device
Test device fixture.
tests/test_entity_data.py:48
Function
device
()
tests/test_actuator.py:24
Function
device
Test device fixture.
tests/test_scene.py:23
Function
device
()
tests/test_encoder_bias.py:93
Function
device
()
tests/test_rl_exporter.py:124
Function
device
()
tests/test_auto_reset.py:12
Function
device
()
tests/test_domain_randomization.py:59
Function
device
()
tests/test_events.py:55
← previous
next →
1,301–1,400 of 2,812, ranked by callers