MCPcopy Create free account

hub / github.com/mujocolab/mjlab / functions

Functions2,812 in github.com/mujocolab/mjlab

Methodcleanup
Remove the HTML element from the GUI.
src/mjlab/viewer/viser/reward_bar_panel.py:73
Methodclear
Clear all debug visualizations.
src/mjlab/viewer/debug_visualizer.py:203
Methodclear
(self)
src/mjlab/viewer/debug_visualizer.py:268
Methodclear_debug_all
(self)
tests/test_viser_update_policy.py:27
Methodclear_histories
Clear all term histories.
src/mjlab/viewer/viser/term_plotter.py:220
Methodclear_histories
Clear all running-mean buffers and reset display.
src/mjlab/viewer/viser/reward_bar_panel.py:67
Methodclear_state
(self, env_ids: torch.Tensor | slice | None = None)
src/mjlab/entity/data.py:216
Methodclose
(self)
src/mjlab/viewer/offscreen_renderer.py:234
Methodclose
(self)
src/mjlab/viewer/base.py:112
Methodclose
Close viewer and cleanup.
src/mjlab/viewer/native/viewer.py:437
Methodclose
Close the viewer and cleanup resources.
src/mjlab/viewer/viser/viewer.py:534
Methodclose
(self)
tests/test_viewer_tick.py:29
Functioncombine_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
Methodcommand
(self)
src/mjlab/managers/command_manager.py:96
Methodcommand
(self)
src/mjlab/tasks/velocity/mdp/velocity_command.py:58
Methodcommand
(self)
src/mjlab/tasks/manipulation/mdp/commands.py:37
Methodcommand
(self)
src/mjlab/tasks/manipulation/mdp/commands.py:158
Methodcommand
(self)
src/mjlab/tasks/tracking/mdp/commands.py:126
Methodcommand_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
Functioncommands_vel
( env: ManagerBasedRlEnv, env_ids: torch.Tensor, command_name: str, velocity_stages: list[VelocityStag
src/mjlab/tasks/velocity/mdp/curriculums.py:83
Methodcompute
(self, env_ids: torch.Tensor | None = None)
src/mjlab/managers/curriculum_manager.py:154
Methodcompute
(self, dt: float)
src/mjlab/managers/command_manager.py:249
Methodcompute
(self, dt: float)
src/mjlab/managers/command_manager.py:323
Methodcompute
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
Methodcompute
(self, cmd: ActuatorCmd)
src/mjlab/actuator/xml_actuator.py:118
Methodcompute
(self, cmd: ActuatorCmd)
src/mjlab/actuator/builtin_actuator.py:93
Methodcompute
(self, cmd: ActuatorCmd)
src/mjlab/actuator/builtin_actuator.py:189
Methodcompute
(self, cmd: ActuatorCmd)
src/mjlab/actuator/builtin_actuator.py:240
Methodcompute
(self, cmd: ActuatorCmd)
src/mjlab/actuator/builtin_actuator.py:477
Methodcompute
(self, cmd: ActuatorCmd)
src/mjlab/actuator/builtin_actuator.py:541
Methodcompute
(self, cmd: ActuatorCmd)
src/mjlab/actuator/builtin_actuator.py:622
Methodcompute
(self, cmd: ActuatorCmd)
src/mjlab/actuator/dc_actuator.py:135
Methodcompute
(self, cmd: ActuatorCmd)
src/mjlab/actuator/pd_actuator.py:95
Methodcompute
(self, dt: float)
src/mjlab/tasks/velocity/mdp/velocity_command.py:200
Methodcompute_first_air
Returns [B, P] bool: True for primaries that took off within the last dt seconds.
src/mjlab/sensor/contact_sensor.py:389
Methodcompute_substep
(self)
src/mjlab/managers/metrics_manager.py:221
Methodcompute_success
(self)
src/mjlab/tasks/manipulation/mdp/commands.py:54
Methodcompute_success
(self)
src/mjlab/tasks/manipulation/mdp/commands.py:184
Methodconfigure_env_origins
Configure the origins of the environments based on the terrain.
src/mjlab/terrains/terrain_entity.py:184
Methodconfigure_environment_map
(self, **_kwargs)
tests/test_variants.py:1303
Functionconfigure_test_environment
Configure test environment settings automatically for all tests.
tests/conftest.py:17
Functionconstant_network_file
Create a network that returns constant value regardless of input.
tests/test_learned_actuator.py:69
Functionconstant_reward
(env)
tests/test_rewards.py:277
Functionconvert_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
Functionconvert_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
Functioncounter
(env, env_ids)
tests/test_events.py:540
Functioncounting_compute
()
tests/test_sensor_caching.py:167
Methodcreate_debug_vis_gui
( self, server: viser.ViserServer, on_change: Callable[[], None] | None = None, )
src/mjlab/managers/command_manager.py:308
Functioncreate_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
Functioncreate_fixed_articulated_entity
Create a fixed-base articulated entity (e.g., robot arm).
tests/test_entity.py:128
Functioncreate_fixed_base_entity
Create a simple fixed-base entity.
tests/test_entity.py:116
Methodcreate_gui
Let each command term create its GUI controls.
src/mjlab/managers/command_manager.py:174
Methodcreate_gui
( self, server: viser.ViserServer, get_env_idx: Callable[[], int], on_change: Callable[[], Non
src/mjlab/managers/command_manager.py:293
Methodcreate_gui
Create velocity joystick sliders in the Viser viewer.
src/mjlab/tasks/velocity/mdp/velocity_command.py:142
Methodcreate_gui
Create motion scrubber controls in the Viser viewer.
src/mjlab/tasks/tracking/mdp/commands.py:509
Functioncreate_pendulum_spec
()
scripts/demos/body_impulse.py:42
Functioncreate_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
Functioncreate_scanner_spec
()
scripts/demos/raycast_sensor.py:49
Methodctrl_ids
Local indices of control inputs within the entity.
src/mjlab/actuator/actuator.py:194
Methodcurrent_lags
Current lag per environment. Shape: (batch_size,).
src/mjlab/utils/buffers/delay_buffer.py:176
Methodcurrent_length
Per-batch count of valid frames. Shape: (batch_size,).
src/mjlab/utils/buffers/circular_buffer.py:152
Methodcustom_value
Custom property that uses config field.
tests/test_entity.py:608
Methoddata
(self)
src/mjlab/sim/sim.py:373
Methoddata
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
Methoddata
Raycast data with per-frame terrain clearance heights.
src/mjlab/sensor/terrain_height_sensor.py:53
Methoddata
(self)
src/mjlab/entity/entity.py:409
Methoddebug_vis
Delegate debug visualization to class-based event terms.
src/mjlab/managers/event_manager.py:334
Methoddebug_vis
Delegate debug visualization to class-based reward terms.
src/mjlab/managers/reward_manager.py:135
Methoddebug_vis
(self, visualizer: "DebugVisualizer")
src/mjlab/managers/command_manager.py:170
Methoddebug_vis
(self, visualizer: "DebugVisualizer")
src/mjlab/managers/command_manager.py:290
Methoddebug_vis
Visualize sensor data for debugging. Base implementation does nothing. Override in subclasses that support debug visualization. Args:
src/mjlab/sensor/sensor.py:153
Methoddebug_vis
(self, visualizer: DebugVisualizer)
src/mjlab/sensor/raycast_sensor.py:604
Methoddebug_vis
(self, visualizer: DebugVisualizer)
src/mjlab/tasks/velocity/mdp/rewards.py:115
Functiondecorator
(func: F)
src/mjlab/managers/event_manager.py:91
Methoddefault_model_fields
Default values for expanded model fields, used in domain randomization.
src/mjlab/sim/sim.py:381
Functiondefault_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
Functiondevice
Test device fixture.
tests/test_action_manager.py:13
Functiondevice
()
tests/test_builtin_dcmotor_actuator.py:44
Functiondevice
()
tests/test_learned_actuator.py:48
Functiondevice
()
tests/test_dc_actuator.py:16
Functiondevice
()
tests/test_projected_gravity_sensor.py:74
Functiondevice
()
tests/test_camera_sensor.py:17
Functiondevice
Test device fixture.
tests/test_circular_buffer.py:11
Functiondevice
()
tests/test_differential_ik_action.py:77
Functiondevice
()
tests/test_foot_height_sensor.py:66
Functiondevice
Test device fixture.
tests/test_rewards.py:41
Functiondevice
Test device fixture.
tests/test_sim_data.py:20
Functiondevice
()
tests/test_recorder_manager.py:459
Functiondevice
Test device fixture.
tests/test_observation_noise.py:21
Functiondevice
Test device fixture.
tests/test_sim.py:13
Functiondevice
()
tests/test_builtin_pd_actuator.py:35
Functiondevice
Test device fixture.
tests/test_builtin_sensor.py:19
Functiondevice
Test device fixture.
tests/test_entity_data.py:48
Functiondevice
()
tests/test_actuator.py:24
Functiondevice
Test device fixture.
tests/test_scene.py:23
Functiondevice
()
tests/test_encoder_bias.py:93
Functiondevice
()
tests/test_rl_exporter.py:124
Functiondevice
()
tests/test_auto_reset.py:12
Functiondevice
()
tests/test_domain_randomization.py:59
Functiondevice
()
tests/test_events.py:55
← previousnext →1,301–1,400 of 2,812, ranked by callers