isaaclab_fovi.assets#

Assets for physical gaze: a pan-tilt camera mount, with one or two cameras.

Classes

PanTiltCfg

Spawns the pan-tilt mount with spawn_pan_tilt().

Functions

spawn_pan_tilt(prim_path, cfg[, ...])

Build the pan-tilt mount at prim_path: three links, fixed to the world at its base.

Data

PAN_TILT_CFG

Configuration parameters for an articulation.

PAN_TILT_CAMERA_OFFSET

The offset pose of the sensor's frame from the sensor's parent frame.

PAN_TILT_STEREO_OFFSETS

Built-in immutable sequence.

PAN_TILT_STEREO_BASELINE

Convert a string or number to a floating-point number, if possible.

Pan-tilt mount#

isaaclab_fovi.assets.PAN_TILT_CFG#

Configuration parameters for an articulation.

isaaclab_fovi.assets.PAN_TILT_CAMERA_OFFSET#

The offset pose of the sensor’s frame from the sensor’s parent frame.

isaaclab_fovi.assets.PAN_TILT_STEREO_OFFSETS#

Built-in immutable sequence.

If no argument is given, the constructor returns an empty tuple. If iterable is specified the tuple is initialized from iterable’s items.

If the argument is a tuple, the return value is the same object.

isaaclab_fovi.assets.PAN_TILT_STEREO_BASELINE = 0.065#

Convert a string or number to a floating-point number, if possible.

class isaaclab_fovi.assets.PanTiltCfg[source]#

Bases: SpawnerCfg

Spawns the pan-tilt mount with spawn_pan_tilt().

Attributes:

visible

Whether the spawned asset should be visible.

semantic_tags

List of semantic tags to add to the spawned asset.

copy_from_source

Whether to copy the asset from the source prim or inherit it.

spawn_path

Path where the prototype is spawned.

visible: bool#

Whether the spawned asset should be visible. Defaults to True.

semantic_tags: list[tuple[str, str]] | None#

List of semantic tags to add to the spawned asset. Defaults to None, which means no semantic tags will be added.

The semantic tags follow the Replicator Semantic tagging system. Each tag is a tuple of the form (type, data), where type is the type of the tag and data is the semantic label associated with the tag. For example, to annotate a spawned asset in the class avocado, the semantic tag would be [("class", "avocado")].

You can specify multiple semantic tags by passing in a list of tags. For example, to annotate a spawned asset in the class avocado and the color green, the semantic tags would be [("class", "avocado"), ("color", "green")].

See also

For more information on the semantics filter, see the documentation for the semantics schema editor.

copy_from_source: bool#

Whether to copy the asset from the source prim or inherit it. Defaults to True.

This parameter is currently not consumed: clone() always copies the source prim spec to the cloned prims.

spawn_path: str | None#

Path where the prototype is spawned. Defaults to None.

isaaclab_fovi.assets.spawn_pan_tilt(prim_path: str, cfg: PanTiltCfg, translation: tuple[float, float, float] | None = None, orientation: tuple[float, float, float, float] | None = None, **kwargs) → Usd.Prim[source]#

Build the pan-tilt mount at prim_path: three links, fixed to the world at its base.

Parameters:
  • prim_path – The prim path or expression to spawn the mount at.

  • cfg – The spawner configuration.

  • translation – The mount’s translation from its parent prim. Defaults to None, which leaves it at the origin.

  • orientation – The mount’s orientation (x, y, z, w) relative to its parent prim. Defaults to None, which leaves it unrotated.

Returns:

The mount’s root prim.