Skip to content

simulo.VisualMarkerBase

Base class for all visual markers.

Visual markers are non-physical visualization elements that can be added to scenes and updated dynamically during simulation.

Attributes:

  • name — Unique identifier for the marker
  • num_instances — Number of marker instances (for multi-env support)
  • _backend_handle — Internal handle to backend visualization object
simulo.VisualMarkerBase(name: str, num_instances: int = 1, _backend_handle: Any = None)
VisualMarkerBase.set_pose(position: Any, quaternion: Optional[Any] = None) -> None

Update marker pose(s).

Args:

  • position — Position(s) as (3,) or (num_instances, 3) tensor/array
  • quaternion — Optional quaternion(s) as (4,) or (num_instances, 4) in wxyz format. If None, uses identity rotation.
VisualMarkerBase.set_visibility(visible: bool) -> None

Show or hide the marker.

Args:

  • visible — True to show, False to hide