isaaclab_fovi.assets#
Assets for physical gaze: a pan-tilt camera mount, with one or two cameras.
Classes
Spawns the pan-tilt mount with |
Functions
|
Build the pan-tilt mount at |
Data
Configuration parameters for an articulation. |
|
The offset pose of the sensor's frame from the sensor's parent frame. |
|
Built-in immutable sequence. |
|
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:
SpawnerCfgSpawns the pan-tilt mount with
spawn_pan_tilt().Attributes:
Whether the spawned asset should be visible.
List of semantic tags to add to the spawned asset.
Whether to copy the asset from the source prim or inherit it.
Path where the prototype is spawned.
- 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), wheretypeis the type of the tag anddatais 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.
- 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.