Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
cd9513c
Add viewer gaze and foveation controls for foveated cameras
nblauch Nov 24, 2026
806a5ee
Add physical, hybrid and dual gaze to the gaze action
nblauch Nov 19, 2026
d569921
Address review of the viewer gaze and foveation controls
nblauch Nov 24, 2026
e3d1056
Address review of the physical, hybrid and dual gaze modes
nblauch Nov 24, 2026
03b0d28
Address second review of the viewer gaze and foveation controls
nblauch Nov 24, 2026
b8c47ef
Address second review of the physical, hybrid and dual gaze modes
nblauch Nov 24, 2026
0d2f7da
Label hybrid gaze from its re-aimed gaze and resolve sliced target bo…
nblauch Nov 24, 2026
cd4f34e
Let the gaze teacher aim at world points
nblauch Nov 24, 2026
8150e98
Track gaze mounts on Isaac RTX
nblauch Nov 24, 2026
f6bd99b
Read the camera's pose in the gaze teacher without capturing an image
nblauch Nov 24, 2026
28ef910
Add binocular gaze with version and vergence, and a stereo example
nblauch Nov 20, 2026
e270176
Address review of binocular gaze and the stereo example
nblauch Nov 24, 2026
a5fb082
Let the binocular teacher aim at world points and read poses without …
nblauch Nov 24, 2026
a119576
Run the foveated-camera example on Isaac RTX
nblauch Nov 24, 2026
ad23446
Run binocular gaze and the stereo example on Isaac RTX
nblauch Nov 24, 2026
1a934c6
Merge the viewer gaze and foveation controls into binocular gaze
nblauch Nov 24, 2026
680fde9
List the gaze teacher's fixes under Fixed in the changelog
nblauch Nov 24, 2026
08968a9
List the foveated-camera example's Isaac RTX fix under Fixed
nblauch Nov 24, 2026
44eceea
Show viewer gaze controls for the camera a window shows, without conf…
nblauch Nov 24, 2026
8164e3d
Draw foveated camera controls below the Camera Source selector
nblauch Nov 24, 2026
a602a4a
Drop the header of the foveated-camera example's comparison
nblauch Nov 24, 2026
f8ae4e5
Describe the cortical view and the new control placement in the docs …
nblauch Nov 24, 2026
656523b
Call the camera's image the foveated camera's cortical view
nblauch Nov 24, 2026
9d8f35d
Name the comparison's input image rather than retina
nblauch Nov 24, 2026
f910e64
Merge branch 'main' into feat/isaaclab-fovi-viewer-controls
nblauch Nov 24, 2026
d6236f7
Merge branch 'main' into feat/isaaclab-fovi-viewer-controls
nblauch Nov 24, 2026
e74049a
Merge branch 'main' into feat/isaaclab-fovi-gaze-modes
nblauch Nov 25, 2026
915e1b1
Merge branch 'feat/isaaclab-fovi-viewer-controls' into feat/isaaclab-…
nblauch Nov 25, 2026
c2cf3e2
Merge branch 'feat/isaaclab-fovi-gaze-modes' into feat/isaaclab-fovi-…
nblauch Nov 25, 2026
4e87c9a
Merge remote-tracking branch 'origin/main' into fovi-gaze-modes-on-main
nblauch Nov 30, 2026
87e7cd0
Merge branch 'feat/isaaclab-fovi-gaze-modes' into feat/isaaclab-fovi-…
nblauch Nov 30, 2026
4a6de25
Build the pan-tilt mount in code instead of shipping its USD
nblauch Dec 1, 2026
ef3f5ca
Write rig joint targets with a persistent joint-id array
nblauch Dec 2, 2026
f8ecf81
Add binocular_gaze_angles to aim both eyes without an action term
nblauch Dec 2, 2026
250824d
Fold the stereo example into foveated-camera --stereo
nblauch Dec 2, 2026
0805d6d
Merge branch 'main' into feat/isaaclab-fovi-stereo-vergence
nblauch Dec 2, 2026
eadf801
Mark the stereo eyes with eyeballs and add overlay and gaze controls
nblauch Dec 2, 2026
998d3e8
Merge remote-tracking branch 'fork/feat/isaaclab-fovi-stereo-vergence…
nblauch Dec 2, 2026
be8df74
Give the stereo demo a Galbot G1 head with hybrid gaze
nblauch Dec 2, 2026
4a1d94b
Drop a redundant sensor-mask assignment from the foveated-camera example
nblauch Dec 2, 2026
9c9ac4d
Draw an eyeball at any foveated camera and restore free stereo eyes
nblauch Dec 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/source/api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ The following modules are available in the ``isaaclab_fovi`` extension:
.. autosummary::
:toctree: lab_fovi

assets
mdp
sensors

Expand Down
46 changes: 46 additions & 0 deletions docs/source/api/lab_fovi/isaaclab_fovi.assets.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
isaaclab_fovi.assets
====================

.. automodule:: isaaclab_fovi.assets

.. rubric:: Classes

.. autosummary::

PanTiltCfg

.. rubric:: Functions

.. autosummary::

spawn_pan_tilt

.. rubric:: Data

.. autosummary::

PAN_TILT_CFG
PAN_TILT_CAMERA_OFFSET
PAN_TILT_STEREO_OFFSETS
PAN_TILT_STEREO_BASELINE

Pan-tilt mount
--------------

.. autodata:: PAN_TILT_CFG
:no-value:

.. autodata:: PAN_TILT_CAMERA_OFFSET
:no-value:

.. autodata:: PAN_TILT_STEREO_OFFSETS
:no-value:

.. autodata:: PAN_TILT_STEREO_BASELINE

.. autoclass:: PanTiltCfg
:members:
:show-inheritance:
:exclude-members: __init__, func

.. autofunction:: spawn_pan_tilt
28 changes: 28 additions & 0 deletions docs/source/api/lab_fovi/isaaclab_fovi.mdp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,19 @@ isaaclab_fovi.mdp

GazeAction
GazeActionCfg
GazeRigCfg
BinocularGazeAction
BinocularGazeActionCfg
gaze_teacher_labels
binocular_gaze_teacher_labels

.. rubric:: Functions

.. autosummary::

gaze_state
binocular_gaze_state
binocular_gaze_angles

Actions
-------
Expand All @@ -30,10 +36,32 @@ Actions
:show-inheritance:
:exclude-members: __init__, class_type

.. autoclass:: GazeRigCfg
:members:
:show-inheritance:
:exclude-members: __init__

.. autoclass:: BinocularGazeAction
:members:
:show-inheritance:

.. autoclass:: BinocularGazeActionCfg
:members:
:inherited-members:
:show-inheritance:
:exclude-members: __init__, class_type

.. autofunction:: binocular_gaze_angles

Observations
------------

.. autofunction:: gaze_state

.. autoclass:: gaze_teacher_labels
:show-inheritance:

.. autofunction:: binocular_gaze_state

.. autoclass:: binocular_gaze_teacher_labels
:show-inheritance:
103 changes: 100 additions & 3 deletions docs/source/experimental-features/foveated_camera.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ The Newton viewer shows the camera's image, the foveated camera's cortical view
a window that shows the fisheye on a curved viewing sphere beside that view: the green lens boundary follows the camera
mount, and the blue gaze circle and sampling grid show the retina's coverage. Use WASD or the arrow keys to move the
camera and Q/E to lower or raise it. Drag with the left mouse button, or press I/K and J/L, to steer the gaze. Below
the side panel's Camera Source selector, gaze sliders follow the gaze and set it, and on Newton a foveation slider
steps the CMF constant, through other stops with ``--cmf_a_values 0.2,2,20`` plus the camera's own. H shows or hides
the viewer controls. Pass ``--target power_drill`` to start fixating the drill.
the side panel's Camera Source selector, gaze sliders follow the gaze and set it, a checkbox draws an eyeball at the
camera, turned with its gaze, in the perspective view, and on Newton a foveation slider steps the CMF constant, through
other stops with ``--cmf_a_values 0.2,2,20`` plus the camera's own. H shows or hides the viewer controls. Every
foveated camera has these controls in the Newton viewer; the eyeball is its debug visualization, which
``debug_vis=True`` turns on from the start. Pass ``--target power_drill`` to start fixating the drill.

.. figure:: ../_static/overview/sensors/foveated_camera_overview.jpg
:alt: A retina behind a 180-degree fisheye lens on the viewing sphere, and its rendered images at two fixations.
Expand Down Expand Up @@ -140,3 +142,98 @@ Select ``presets=depth`` for depth images.

For other manager-based tasks, use :class:`~mdp.GazeActionCfg` to move gaze, :func:`~mdp.gaze_state` to
observe it, and :class:`~mdp.gaze_teacher_labels` for optional supervision.

Gaze modes
----------

:attr:`~mdp.GazeActionCfg.mode` sets what the gaze actions turn, two (tilt, pan) actions in every mode but dual gaze:

* ``"software"`` (the default): the retina, relative to the camera's optical axis. The camera itself may move, for
example on a robot's head, with ``mount="tracked"``.
* ``"physical"``: the joints of a rig that carries the camera. Each action steps the joint targets.
* ``"hybrid"``: the retina at once, while the rig turns the camera after it by at most
:attr:`~mdp.GazeRigCfg.max_step_deg` per step. The fixation holds in the world as the head takes over, so the
camera ends up pointing where it looks.
* ``"dual"`` (experimental): four actions that move the rig's joints and then the retina independently.

The rig modes need a :class:`~mdp.GazeRigCfg`, which names the articulation and its pan and tilt joints,
``mount="tracked"``, and a camera without image roll. :data:`~assets.PAN_TILT_CFG` is a two-joint
pan-tilt mount:

.. code-block:: python

from isaaclab.sim import PinholeCameraCfg
from isaaclab_fovi.assets import PAN_TILT_CAMERA_OFFSET, PAN_TILT_CFG
from isaaclab_fovi.mdp import GazeActionCfg, GazeRigCfg
from isaaclab_fovi.sensors import FoveatedCameraCfg

rig = PAN_TILT_CFG
eye = FoveatedCameraCfg(
prim_path="{ENV_REGEX_NS}/PanTilt/base/pan_link/tilt_link/Eye",
offset=PAN_TILT_CAMERA_OFFSET,
spawn=PinholeCameraCfg(),
)
gaze = GazeActionCfg(asset_name="eye", mode="hybrid", mount="tracked", rig=GazeRigCfg(asset_name="rig"))

With a rig, :func:`~mdp.gaze_state` reports the fixation's direction from the rig's zero pose: the head's turn
composed with the software gaze.

.. figure:: ../_static/overview/sensors/foveated_camera_gaze_modes.jpg
:alt: Pan angles over time for the four gaze modes, with the camera's images before, during and after.

Each mode on the pan-tilt mount with Newton's MJWarp solver: the policy pans 4.5° left three times. In hybrid gaze
the fixation jumps at once and holds while the head takes over from the retina.

.. _concepts_sensors_foveated_camera_binocular:

Binocular gaze
--------------

:class:`~mdp.BinocularGazeActionCfg` moves two foveated cameras on one body with three actions: the version, their
shared line of sight (tilt, pan), and the vergence, the angle between their lines of sight. Each eye turns from the
version by half the vergence toward the other, in the plane of the version and the baseline, so with any vergence
above zero the lines of sight meet; at zero they are parallel. The version moves as a single camera's gaze does in
``"software"``, ``"physical"`` or ``"hybrid"`` mode; the vergence always turns the retinas. The eyes need one body
to carry them, parallel optical axes and the same retina. :data:`~assets.PAN_TILT_STEREO_OFFSETS`
places two eyes 6.5 cm apart on the pan-tilt mount:

.. code-block:: python

from isaaclab_fovi.assets import PAN_TILT_STEREO_OFFSETS
from isaaclab_fovi.mdp import BinocularGazeActionCfg

link = "{ENV_REGEX_NS}/PanTilt/base/pan_link/tilt_link"
left_eye = eye.replace(prim_path=f"{link}/LeftEye", offset=PAN_TILT_STEREO_OFFSETS[0])
right_eye = eye.replace(prim_path=f"{link}/RightEye", offset=PAN_TILT_STEREO_OFFSETS[1])
gaze = BinocularGazeActionCfg(
asset_name="left_eye", right_asset_name="right_eye", mode="hybrid", rig=GazeRigCfg(asset_name="rig")
)

:func:`~mdp.binocular_gaze_state` observes the version, the vergence and their velocities, and
:class:`~mdp.binocular_gaze_teacher_labels` labels the actions that fixate a point with both eyes. Without an action
term, :func:`~mdp.binocular_gaze_angles` turns a version and a vergence into each eye's gaze, as the action does.

With ``--stereo``, the ``foveated-camera`` example looks at the scene above through two free eyes, 6.5 cm apart and
each drawn as an eyeball, in software binocular gaze: the teacher's labels move both retinas onto the fixation the
controls set. Its viewer opens on a perspective view that draws each eye's line of sight and the point where they meet,
and a window shows both eyes' cortical views. The side panel's sliders set the version and the vergence, a button
glides the fixation onto the next object, and checkboxes hide or show that overlay and the eyeballs; I/J/K/L, or a drag
in the eyes' window, turn the version, and U/O converge and diverge the eyes. A slider moves the eyes apart, from 2 to
30 cm, which changes their disparity while they keep the fixation. On Newton, a foveation slider steps both eyes' CMF
constant.

With ``--galbot`` as well, the eyes are the two lenses, 6 cm apart, of a Galbot G1 from Nucleus, in hybrid binocular
gaze: the robot's neck turns after the version. Only the neck moves; every other joint holds a standing pose. The lenses
are fixed on the head, so the eyes have no eyeballs and no separation slider:

.. code-block:: bash

uv run --extra fovi isaaclab example foveated-camera --stereo --target banana
uv run --extra fovi isaaclab example foveated-camera --stereo --galbot --target banana

.. figure:: ../_static/overview/sensors/foveated_camera_binocular.jpg
:alt: Left and right eye images at four fixations, with the version, head pan and vergence over time.

Two eyes on the pan-tilt mount in hybrid gaze, stepped by the teacher's labels between four objects. The fixated
object sits in both foveas, the version jumps to each object while the head turns after it, and the vergence
follows the object's distance, from 1° at 3.6 m to 10° at 0.4 m.
Loading