Skip to content

Refactors teleop device factory to follow config class style - #3897

Merged
kellyguo11 merged 3 commits into
isaac-sim:mainfrom
rwiltz:rwiltz/refactor_device_retageter_base
Nov 13, 2025
Merged

kellyguo11 merged 3 commits into
isaac-sim:mainfrom
rwiltz:rwiltz/refactor_device_retageter_base

Conversation

@rwiltz

@rwiltz rwiltz commented Oct 30, 2025

Copy link
Copy Markdown
Contributor

Description

Refactors the teleop factory to shift declaration of teleop devices and retargeters out of the factory and into themselves.

Fixes # (issue)

Type of change

  • New feature (non-breaking change which adds functionality)

Screenshots

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-mimic Related to Isaac Mimic team isaac-lab Related to Isaac Lab team labels Oct 30, 2025
@rwiltz
rwiltz force-pushed the rwiltz/refactor_device_retageter_base branch from c361749 to 6ec4f94 Compare October 30, 2025 18:35

@greptile-apps greptile-apps Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Greptile Overview

Greptile Summary

Refactors the teleop device factory to use a self-declaring config pattern, eliminating hardcoded DEVICE_MAP and RETARGETER_MAP dictionaries from the factory.

Key changes:

  • Added device_type field to DeviceCfg base class and retargeter_type field to RetargeterCfg base class
  • Each device and retargeter config class now declares its own implementation type (e.g., Se2KeyboardCfg.device_type = Se2Keyboard)
  • Factory now reads these fields via getattr() instead of looking up in hardcoded maps
  • Config classes moved after their implementations to enable forward references without circular imports
  • Documentation updated to reflect new registration pattern

Benefits:

  • More maintainable - new devices/retargeters self-register without modifying factory code
  • Better encapsulation - each module owns its config-to-implementation binding
  • Follows dependency inversion principle - factory depends on abstractions, not concrete mappings

Test issue found:

  • test_create_teleop_device_unsupported_config expects old error message that no longer matches new implementation

Confidence Score: 4/5

  • Safe to merge after fixing the test error message expectation
  • The refactoring is well-structured and follows good design patterns. All device and retargeter implementations were correctly updated with the self-declaring pattern. However, one test needs updating to match the new error message format, preventing a score of 5.
  • source/isaaclab/test/devices/test_device_constructors.py - test expects wrong error message (line 460)

Important Files Changed

File Analysis

Filename Score Overview
source/isaaclab/isaaclab/devices/teleop_device_factory.py 5/5 Refactored to use self-declaring device_type and retargeter_type from configs, eliminating hardcoded mappings
source/isaaclab/isaaclab/devices/device_base.py 5/5 Added device_type field to DeviceCfg and teleoperation_active_default field with documentation comments
source/isaaclab/isaaclab/devices/retargeter_base.py 5/5 Added retargeter_type field to RetargeterCfg for self-declaring retargeter implementations
docs/source/how-to/cloudxr_teleoperation.rst 5/5 Updated documentation to reflect new self-declaring config pattern instead of manual RETARGETER_MAP registration

Sequence Diagram

sequenceDiagram
    participant User
    participant Factory as create_teleop_device()
    participant DeviceCfg
    participant Device as DeviceBase
    participant RetargeterCfg
    participant Retargeter as RetargeterBase
    
    User->>Factory: create_teleop_device(name, devices_cfg)
    Factory->>DeviceCfg: Get cfg from devices_cfg[name]
    Factory->>DeviceCfg: Read device_type attribute
    DeviceCfg-->>Factory: Return device class constructor
    
    alt Has retargeters configured
        loop For each retargeter_cfg
            Factory->>RetargeterCfg: Read retargeter_type attribute
            RetargeterCfg-->>Factory: Return retargeter class constructor
            Factory->>Retargeter: Instantiate retargeter(cfg)
            Retargeter-->>Factory: Return retargeter instance
        end
    end
    
    Factory->>Device: Instantiate device(cfg, retargeters)
    Device-->>Factory: Return device instance
    
    Factory->>Device: Register callbacks (if provided)
    Factory-->>User: Return configured device
    
    Note over DeviceCfg,RetargeterCfg: Self-declaring pattern:<br/>Each config class sets its own<br/>device_type/retargeter_type field
Loading

Additional Comments (1)

  1. source/isaaclab/test/devices/test_device_constructors.py, line 460 (link)

    syntax: test will fail - expected error message changed from "Unsupported device configuration type" to "does not declare device_type"

22 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

@rwiltz
rwiltz requested a review from peterd-NV October 30, 2025 18:45
@rwiltz
rwiltz force-pushed the rwiltz/refactor_device_retageter_base branch 2 times, most recently from 59f5691 to b5fc0c7 Compare October 30, 2025 18:58

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Greptile Overview

Greptile Summary

This PR refactors the teleoperation device factory to use a self-referential pattern where config classes declare their associated implementation classes, eliminating centralized mapping dictionaries.

Key changes:

  • Removed DEVICE_MAP and RETARGETER_MAP from factory - these hardcoded dictionaries required factory updates for each new device/retargeter
  • Added device_type field to DeviceCfg and retargeter_type field to RetargeterCfg base classes
  • Each device/retargeter config now sets its own type attribute (e.g., Se3KeyboardCfg.device_type = Se3Keyboard)
  • Factory now uses getattr() to dynamically resolve constructors from config instances
  • Moved config class definitions after implementation classes to enable forward references
  • Updated documentation showing new registration pattern
  • Deleted stub dex_retargeter.py file that was incomplete
  • All tests updated and passing

Benefits:

  • Better encapsulation - devices/retargeters self-register rather than requiring factory updates
  • Easier extensibility - new devices/retargeters don't need factory modifications
  • Follows dependency inversion principle - factory depends on abstractions, not concrete mappings

Confidence Score: 5/5

  • This PR is safe to merge - it's a clean architectural refactoring with comprehensive test coverage
  • The refactoring is well-executed with consistent application across all device and retargeter implementations. Tests verify the new pattern works correctly, documentation is updated, and the change is backward-compatible in behavior while improving maintainability. The pattern is simple and eliminates a common source of errors (forgetting to update factory mappings).
  • No files require special attention - all changes follow the same consistent pattern

Important Files Changed

File Analysis

Filename Score Overview
source/isaaclab/isaaclab/devices/teleop_device_factory.py 5/5 Removed hardcoded DEVICE_MAP and RETARGETER_MAP dictionaries; factory now uses device_type and retargeter_type attributes from config classes for dynamic resolution
source/isaaclab/isaaclab/devices/device_base.py 5/5 Added device_type and teleoperation_active_default fields to DeviceCfg for self-referential device construction
source/isaaclab/isaaclab/devices/retargeter_base.py 5/5 Added retargeter_type field to RetargeterCfg for self-referential retargeter construction
source/isaaclab/isaaclab/devices/keyboard/se3_keyboard.py 5/5 Moved Se3KeyboardCfg after class definition and set device_type = Se3Keyboard
source/isaaclab/isaaclab/devices/openxr/retargeters/manipulator/se3_abs_retargeter.py 5/5 Moved Se3AbsRetargeterCfg after class definition and set retargeter_type = Se3AbsRetargeter
source/isaaclab/test/devices/test_device_constructors.py 5/5 Tests updated to verify factory creates devices correctly using new self-referential config pattern

Sequence Diagram

sequenceDiagram
    participant User
    participant Factory as create_teleop_device()
    participant DeviceCfg
    participant Device as DeviceBase subclass
    participant RetargeterCfg
    participant Retargeter as RetargeterBase subclass
    
    User->>Factory: create_teleop_device(device_name, devices_cfg)
    Factory->>DeviceCfg: Get device_cfg by name
    Factory->>DeviceCfg: Read device_type attribute
    Note over DeviceCfg: device_type = Se3Keyboard<br/>(set in device module)
    
    alt Has retargeters configured
        Factory->>DeviceCfg: Get retargeters list
        loop For each retargeter_cfg
            Factory->>RetargeterCfg: Read retargeter_type attribute
            Note over RetargeterCfg: retargeter_type = Se3AbsRetargeter<br/>(set in retargeter module)
            Factory->>Retargeter: Construct retargeter(cfg)
            Retargeter-->>Factory: Retargeter instance
        end
    end
    
    Factory->>Device: Construct device(cfg, retargeters)
    Device-->>Factory: Device instance
    Factory->>Device: add_callback() for each callback
    Factory-->>User: Configured device instance
Loading

23 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@rwiltz

rwiltz commented Oct 30, 2025

Copy link
Copy Markdown
Contributor Author

@greptileai

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Greptile Overview

Greptile Summary

This PR successfully refactors the teleop device factory to use a self-referential pattern where device and retargeter configurations declare their own types, eliminating the need for centralized mapping dictionaries.

Key Changes:

  • Added device_type field to DeviceCfg and retargeter_type field to RetargeterCfg base classes
  • Removed DEVICE_MAP and RETARGETER_MAP dictionaries from the factory (eliminated ~50 lines of hardcoded mappings)
  • Updated factory to introspect config objects for their type references using getattr()
  • All device and retargeter modules now set their type reference in their config classes (e.g., device_type: type[DeviceBase] = Se3Keyboard)
  • Standardized code organization by moving config classes to bottom of files after class definitions
  • Added __future__ annotations imports to support forward references in type hints
  • Updated tests to validate new factory behavior with proper error messages
  • Deleted unused stub file dex_retargeter.py

Benefits:

  • Better encapsulation - each module declares its own type
  • Easier extensibility - new devices/retargeters don't require factory modifications
  • Reduced coupling between factory and device implementations
  • More maintainable codebase with clearer ownership

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The refactoring is well-executed with consistent patterns across all 20+ files. Tests have been updated to validate the new behavior, the changes are purely structural without altering runtime behavior, and the PR follows best practices with proper documentation updates and changelog entries.
  • No files require special attention

Important Files Changed

File Analysis

Filename Score Overview
source/isaaclab/isaaclab/devices/teleop_device_factory.py 5/5 Refactored factory to use self-referential device_type and retargeter_type attributes from configs instead of hardcoded maps. Removed DEVICE_MAP and RETARGETER_MAP dictionaries.
source/isaaclab/isaaclab/devices/device_base.py 5/5 Added device_type field to DeviceCfg to enable self-referential device construction. Also added teleoperation_active_default field.
source/isaaclab/isaaclab/devices/retargeter_base.py 5/5 Added retargeter_type field to RetargeterCfg to enable self-referential retargeter construction.
source/isaaclab/isaaclab/devices/keyboard/se3_keyboard.py 5/5 Moved config class to bottom of file and set device_type = Se3Keyboard. Added future annotations import.
source/isaaclab/isaaclab/devices/openxr/retargeters/manipulator/se3_abs_retargeter.py 5/5 Moved config class to bottom of file and set retargeter_type = Se3AbsRetargeter. Added future annotations import.
source/isaaclab/test/devices/test_device_constructors.py 5/5 Updated tests to match new factory behavior with device_type validation. Improved test assertions and type annotations.

Sequence Diagram

sequenceDiagram
    participant User
    participant Factory as create_teleop_device
    participant DeviceCfg
    participant RetargeterCfg
    participant Device as DeviceBase subclass
    participant Retargeter as RetargeterBase subclass

    User->>Factory: create_teleop_device(device_name, devices_cfg)
    Factory->>DeviceCfg: getattr(device_cfg, "device_type")
    DeviceCfg-->>Factory: Return device class reference
    Factory->>Factory: Validate device_type is DeviceBase subclass
    
    alt Has retargeters configured
        loop For each retargeter_cfg
            Factory->>RetargeterCfg: getattr(retargeter_cfg, "retargeter_type")
            RetargeterCfg-->>Factory: Return retargeter class reference
            Factory->>Factory: Validate retargeter_type is RetargeterBase subclass
            Factory->>Retargeter: retargeter_constructor(retargeter_cfg)
            Retargeter-->>Factory: Return retargeter instance
        end
    end
    
    Factory->>Factory: Build constructor kwargs (cfg + retargeters if supported)
    Factory->>Device: device_constructor(**params)
    Device-->>Factory: Return device instance
    
    loop For each callback
        Factory->>Device: add_callback(key, callback)
    end
    
    Factory-->>User: Return configured device
Loading

23 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@hougantc-nvda

Copy link
Copy Markdown
Contributor

LGTM

@rwiltz
rwiltz force-pushed the rwiltz/refactor_device_retageter_base branch from b5fc0c7 to 14811d2 Compare October 30, 2025 19:22

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Greptile Overview

Greptile Summary

This PR refactors the teleop device factory to use a self-registration pattern instead of centralized mapping dictionaries. Each device and retargeter configuration class now declares its own device_type or retargeter_type field, eliminating the need for DEVICE_MAP and RETARGETER_MAP in the factory.

Key Changes:

  • Removed hardcoded DEVICE_MAP and RETARGETER_MAP from factory (eliminated ~50 lines of imports/mappings)
  • Added device_type: type[DeviceBase] | None = None to DeviceCfg base class
  • Added retargeter_type: type[RetargeterBase] | None = None to RetargeterCfg base class
  • All 8 device config classes now set their device_type field (Se2/Se3Keyboard, Se2/Se3Gamepad, Se2/Se3SpaceMouse, OpenXRDevice, ManusVive)
  • All 7 retargeter config classes now set their retargeter_type field
  • Moved config class definitions after implementation classes in all files (required for forward reference resolution)
  • Added from __future__ import annotations to 16 files to support forward references in type hints
  • Factory now uses getattr(cfg, "device_type") and validates it's a proper DeviceBase/RetargeterBase subclass
  • Comprehensive test coverage added with error case validation
  • Documentation updated to show new registration pattern

Benefits:

  • Better encapsulation - each device/retargeter declares itself
  • Eliminates central bottleneck for adding new devices
  • Reduces import dependencies in factory module
  • More discoverable - config and implementation are co-located

Potential Impact:

  • This is a breaking change for any external code that directly accessed DEVICE_MAP or RETARGETER_MAP
  • Custom devices/retargeters must now set the device_type/retargeter_type field instead of modifying the factory maps

Confidence Score: 5/5

  • This PR is safe to merge - well-architected refactoring with excellent test coverage
  • The refactoring is systematic and complete across all devices/retargeters, with comprehensive test coverage including error cases. The pattern is consistent, uses proper type validation, and maintains backward compatibility for end users (only internal factory implementation changed).
  • No files require special attention

Important Files Changed

File Analysis

Filename Score Overview
source/isaaclab/isaaclab/devices/teleop_device_factory.py 5/5 Refactored factory to use device_type and retargeter_type from configs instead of hardcoded maps - eliminates 50+ lines of import/mapping code
source/isaaclab/isaaclab/devices/device_base.py 5/5 Added device_type field to DeviceCfg for self-registration pattern, plus teleoperation_active_default field
source/isaaclab/isaaclab/devices/retargeter_base.py 5/5 Added retargeter_type field to RetargeterCfg for self-registration pattern
source/isaaclab/test/devices/test_device_constructors.py 5/5 Added comprehensive tests for factory pattern with devices, retargeters, and callbacks - tests error cases for missing device_type

Sequence Diagram

sequenceDiagram
    participant User
    participant Factory as create_teleop_device()
    participant DeviceCfg
    participant Device as DeviceBase subclass
    participant RetargeterCfg
    participant Retargeter as RetargeterBase subclass
    
    User->>Factory: create_teleop_device("device_name", devices_cfg)
    Factory->>DeviceCfg: getattr(cfg, "device_type")
    DeviceCfg-->>Factory: Return device class (e.g., Se3Keyboard)
    Factory->>Factory: Validate is DeviceBase subclass
    
    alt Has retargeters
        loop For each retargeter_cfg
            Factory->>RetargeterCfg: getattr(cfg, "retargeter_type")
            RetargeterCfg-->>Factory: Return retargeter class
            Factory->>Factory: Validate is RetargeterBase subclass
            Factory->>Retargeter: Instantiate retargeter_class(cfg)
            Retargeter-->>Factory: Return retargeter instance
        end
    end
    
    Factory->>Factory: Build constructor params
    Factory->>Device: device_type(cfg=cfg, retargeters=retargeters)
    Device-->>Factory: Return device instance
    
    Factory->>Device: Register callbacks
    Factory-->>User: Return configured device
Loading

23 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@peterd-NV peterd-NV left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for the refactor

@rwiltz
rwiltz force-pushed the rwiltz/refactor_device_retageter_base branch from 14811d2 to 17966c3 Compare November 10, 2025 22:18
@greptile-apps

greptile-apps Bot commented Nov 10, 2025 •

Copy link
Copy Markdown
Contributor

Greptile Overview

Greptile Summary

Refactors the teleop device factory from a manual mapping-based approach to a config-class style where each device and retargeter configuration declares its implementation class directly via class_type and retargeter_type fields.

Key Changes:

  • Added class_type field to DeviceCfg and retargeter_type field to RetargeterCfg base classes
  • Removed manual DEVICE_MAP and RETARGETER_MAP dictionaries from factory
  • Updated factory to read class types directly from configuration objects
  • Moved config class definitions to appear after their implementation classes in all device/retargeter modules (following standard Python pattern where class must be defined before being referenced)
  • Added from __future__ import annotations imports to enable forward references in type hints
  • Removed unimplemented DexRetargeter stub class
  • Updated documentation to reflect new registration pattern
  • All tests pass with the new pattern

Confidence Score: 5/5

  • This PR is safe to merge - it's a clean refactoring with no breaking changes to the public API
  • The refactoring is well-executed with consistent patterns applied across all 24 files. The factory logic is simplified and more maintainable. All tests pass, documentation is updated, and the public API remains unchanged. The pattern follows Python best practices.
  • No files require special attention

Important Files Changed

File Analysis

Filename Score Overview
source/isaaclab/isaaclab/devices/device_base.py 5/5 Adds class_type field to DeviceCfg to enable self-registration pattern for device classes
source/isaaclab/isaaclab/devices/retargeter_base.py 5/5 Adds retargeter_type field to RetargeterCfg for self-registration pattern
source/isaaclab/isaaclab/devices/teleop_device_factory.py 5/5 Simplified factory to use config-based class registration instead of manual mapping dictionaries
source/isaaclab/isaaclab/devices/keyboard/se3_keyboard.py 5/5 Moves config class after implementation and adds class_type = Se3Keyboard for factory registration
source/isaaclab/isaaclab/devices/openxr/retargeters/manipulator/se3_abs_retargeter.py 5/5 Moves config after implementation and adds retargeter_type = Se3AbsRetargeter for factory registration
source/isaaclab/test/devices/test_device_constructors.py 5/5 All factory tests pass with new config-based registration pattern

Sequence Diagram

sequenceDiagram
    participant User
    participant Factory as create_teleop_device()
    participant DeviceCfg
    participant RetargeterCfg
    participant Device as DeviceBase subclass
    participant Retargeter as RetargeterBase subclass

    Note over User,Factory: Old Pattern (Manual Mapping)
    User->>Factory: create_teleop_device(name, cfg)
    Factory->>Factory: Lookup device class in DEVICE_MAP
    Factory->>Factory: Lookup retargeter class in RETARGETER_MAP
    Factory->>Device: Instantiate device
    Factory->>Retargeter: Instantiate retargeters

    Note over User,Factory: New Pattern (Config-Based Registration)
    User->>Factory: create_teleop_device(name, cfg)
    Factory->>DeviceCfg: Read class_type field
    DeviceCfg-->>Factory: Return Se3Keyboard class
    loop For each retargeter config
        Factory->>RetargeterCfg: Read retargeter_type field
        RetargeterCfg-->>Factory: Return Se3AbsRetargeter class
        Factory->>Retargeter: Instantiate retargeter
    end
    Factory->>Device: Instantiate device with retargeters
    Device-->>Factory: Return initialized device
    Factory-->>User: Return device
Loading

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

23 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@rwiltz

rwiltz commented Nov 10, 2025

Copy link
Copy Markdown
Contributor Author

@kellyguo11 Can we merge this?

@ooctipus ooctipus left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the change in this direction, nice refactor work, two comments:

  1. is devices_cfg below still needed? Given you can directly create the target cfg in desired tele-operation entry point, like
from isaaclab.devices import Se3Gamepad, Se3GamepadCfg, Se3Keyboard, Se3KeyboardCfg, Se3SpaceMouse, Se3SpaceMouseCfg

if you do below combination, then above import can be removed, or just be type hint, rather than direct usage

from isaaclab.devices.teleop_device_factory import create_teleop_device

@dataclass
class DevicesCfg:
    """Configuration for all supported teleoperation devices."""
    devices: dict[str, DeviceCfg] = field(default_factory=dict)
  1. other parts of isaaclab also uses this style, but instead of calling device_type, we call class_type, I recommend be consistent of class_type naming, but up to do you if want to be consistent, or you feel device_type is clearer.

@kellyguo11 kellyguo11 changed the title Refactor teleop factory Refactors teleop device factory to follow config class style Nov 13, 2025
@rwiltz
rwiltz force-pushed the rwiltz/refactor_device_retageter_base branch from 17966c3 to db2deef Compare November 13, 2025 17:00
@rwiltz
rwiltz force-pushed the rwiltz/refactor_device_retageter_base branch from db2deef to 15ca8b3 Compare November 13, 2025 17:03

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

23 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@rwiltz

rwiltz commented Nov 13, 2025

Copy link
Copy Markdown
Contributor Author

I like the change in this direction, nice refactor work, two comments:

  1. is devices_cfg below still needed? Given you can directly create the target cfg in desired tele-operation entry point, like
from isaaclab.devices import Se3Gamepad, Se3GamepadCfg, Se3Keyboard, Se3KeyboardCfg, Se3SpaceMouse, Se3SpaceMouseCfg

if you do below combination, then above import can be removed, or just be type hint, rather than direct usage

from isaaclab.devices.teleop_device_factory import create_teleop_device

@dataclass
class DevicesCfg:
    """Configuration for all supported teleoperation devices."""
    devices: dict[str, DeviceCfg] = field(default_factory=dict)
  1. other parts of isaaclab also uses this style, but instead of calling device_type, we call class_type, I recommend be consistent of class_type naming, but up to do you if want to be consistent, or you feel device_type is clearer.

For 1. we import these in the record_demos and teleop_se3_agent scripts since we manually create these teleop devices to support older env cfgs without explicit teleop devices defined.

For 2. I will update the code to match Isaac Lab device_type to class_type

@rwiltz

rwiltz commented Nov 13, 2025

Copy link
Copy Markdown
Contributor Author

@ooctipus PTAL, thank you!

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

24 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@ooctipus ooctipus left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@kellyguo11
kellyguo11 merged commit ad441d9 into isaac-sim:main Nov 13, 2025

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

24 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

koghalai123 pushed a commit to koghalai123/IsaacLab that referenced this pull request Dec 7, 2025
…im#3897)

# Description

Refactors the teleop factory to shift declaration of teleop devices and
retargeters out of the factory and into themselves.

Fixes # (issue)

## Type of change

- New feature (non-breaking change which adds functionality)

## Screenshots

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Signed-off-by: Kelly Guo <[email protected]>
Co-authored-by: Kelly Guo <[email protected]>
Edify0991 pushed a commit to Edify0991/IsaacLab that referenced this pull request Jan 14, 2026
…im#3897)

# Description

Refactors the teleop factory to shift declaration of teleop devices and
retargeters out of the factory and into themselves.

Fixes # (issue)

## Type of change

- New feature (non-breaking change which adds functionality)

## Screenshots

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Signed-off-by: Kelly Guo <[email protected]>
Co-authored-by: Kelly Guo <[email protected]>
csj-275 pushed a commit to csj-275/IsaacLab that referenced this pull request Jul 8, 2026
…im#3897)

# Description

Refactors the teleop factory to shift declaration of teleop devices and
retargeters out of the factory and into themselves.

Fixes # (issue)

## Type of change

- New feature (non-breaking change which adds functionality)

## Screenshots

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Signed-off-by: Kelly Guo <[email protected]>
Co-authored-by: Kelly Guo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team isaac-mimic Related to Isaac Mimic team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants