unilab.base.backend.motrix.scene

Functions

add_motrix_tracking_frame_sensors(world, *, ...)

Add Motrix-native frame sensors matching the legacy tracking sensor contract.

materialize_motrix_hfield_attached_scene(*, ...)

Build a MotrixSim model with generated hfield terrain and attached robot.

materialize_motrix_scene(*, model_file[, ...])

Build a MotrixSim model through MSD scene composition.

unilab.base.backend.motrix.scene.add_motrix_tracking_frame_sensors(world, *, base_name)[source]

Add Motrix-native frame sensors matching the legacy tracking sensor contract.

Parameters:
  • world (World)

  • base_name (str)

Return type:

None

unilab.base.backend.motrix.scene.materialize_motrix_scene(*, model_file, fragment_files=(), add_body_sensors=False, base_name='base')[source]

Build a MotrixSim model through MSD scene composition.

Parameters:
Return type:

SceneModel

unilab.base.backend.motrix.scene.materialize_motrix_hfield_attached_scene(*, model_file, terrain_cfg, fragment_files=(), hfield_name='terrain_hfield', geom_name='floor', add_body_sensors=False, base_name='base', return_surface_sampler=False)[source]

Build a MotrixSim model with generated hfield terrain and attached robot.

Parameters:
Return type:

tuple[SceneModel, ndarray] | tuple[SceneModel, ndarray, object]