Vuer

vuer.schemas.physics_components

MuJoCoProvider

python
class MuJoCoProvider(SceneElement)

Source

Inherited members

python
tag = 'MuJoCoProvider'

MuJoCo

python
class MuJoCo(SceneElement)

Source

python
src: str
python
workDir: str = None
python
assets: List[str] = []
python
speed: float = 1.0
python
pause: bool = False
python
fps: int = 60
python
timeout: float = 0.0
python
threshold: float = 0.001
python
keyFrames: List[str] = []
python
visibile: List[int] = None

Inherited members

python
tag = 'MuJoCo'
python
selfProvide = True
python
useLights = True
python
useMocap = True
python
gizmoScale = 0.3
python
unpauseOnDrag = False
python
dragForceScale = 1.0
python
showDragArrow = True
python
showDragForceText = True

HandActuator

python
class HandActuator(SceneElement)

Source

Inherited members

python
tag = 'HandActuator'
python
ctrlId = -1
python
offset = 0.01
python
low = 0.01
python
high = 1.0
python
cond = 'right-squeeze'
python
value = 'right:thumb-tip,right:index-finger-tip'
python
scale = 1.0

MotionControllerActuator

python
class MotionControllerActuator(SceneElement)

Source

MotionControllerActuator component for actuating the MuJoCo simulation based on motion controller inputs.

:param ctrlId: The control ID in the MuJoCo simulation to actuate. :type ctrlId: int :param low: The minimum value for actuation. :type low: float :param high: The maximum value for actuation. :type high: float :param cond: The condition for actuation, e.g., 'right-trigger'. :type cond: str :param scale: The scaling factor applied to the input value for actuation. :type scale: float

python
ctrlId: int = -1
python
low: float = 0.0
python
high: float = 1.0
python
cond: str = 'right-trigger'
python
scale: float = 1.0

Inherited members

python
tag = 'MotionControllerActuator'

MjCameraView

python
class MjCameraView(SceneElement)

Source

MjCameraView for rendering from arbitrary camera poses.

:param fov: The vertical field of view of the camera. Defaults to 50. :type fov: float, optional :param width: The width of the camera image. Defaults to 320. :type width: int, optional :param height: The height of the camera image. Defaults to 240. :type height: int, optional :param key: The key of the camera view. Defaults to "ego". :type key: str, optional :param position: The position of the camera. Defaults to [0, 0, 0]. :type position: List[float], optional :param rotation: The rotation of the camera. Defaults to [0, 0, 0] :type rotation: List[float], optional :param fps: The frames per second of the camera. Defaults to 30. :type fps: int, optional :param near: The near field of the camera. Defaults to 0.1. :type near: float, optional :param far: The far field of the camera. Defaults to 20. :type far: float, optional :param downsample: The downsample rate. Defaults to 1. :type downsample: int, optional :param distanceToCamera: The distance to the camera. Defaults to 2. :type distanceToCamera: float, optional :param movable: Whether the camera can be moved by the user. Defaults to True. :type movable: bool, optional :param showCameraFrustum: Whether to show the camera frustum in the scene. Defaults to True. :type showCameraFrustum: bool, optional

Inherited members

python
tag = 'MjCameraView'
python
movable = True
python
showCameraFrustum = True

Public imports

These symbols are available from this module. Their definitions are documented in the linked modules.

  • SceneElementvuer.schemas.scene_components.SceneElement