Repository navigation
Fixes type name for tendon properties in from_files config - #3941
Merged
Merged
Conversation
Tendon imports in from_files_cfg had a typo that prevented importing. This is resolved in this commit. Signed-off-by: Kyle Morgenstein <[email protected]>
KyleM73
requested review from
Mayankm96,
jtigue-bdai and
ooctipus
as code owners
November 4, 2025 17:57
Contributor
There was a problem hiding this comment.
Greptile Overview
Greptile Summary
Fixed type annotation typos in FileCfg class for tendon properties. The types FixedTendonsPropertiesCfg and SpatialTendonsPropertiesCfg incorrectly had plural "Tendons" instead of singular "Tendon", preventing these configurations from being imported and used properly.
Key changes:
- Line 42:
FixedTendonsPropertiesCfg→FixedTendonPropertiesCfg - Line 45:
SpatialTendonsPropertiesCfg→SpatialTendonPropertiesCfg
These type annotations now correctly match the actual class names defined in schemas_cfg.py, allowing users to properly configure tendon properties when spawning articulated assets from URDF or USD files.
Confidence Score: 5/5
- This PR is completely safe to merge with zero risk
- The fix corrects a simple typo in type annotations that prevented valid imports. The changes are minimal (only 2 lines), the correct type names were verified against the actual class definitions in schemas_cfg.py, and no similar typos exist elsewhere in the codebase. This is a straightforward bug fix with no logic changes.
- No files require special attention
Important Files Changed
File Analysis
| Filename | Score | Overview |
|---|---|---|
| source/isaaclab/isaaclab/sim/spawners/from_files/from_files_cfg.py | 5/5 | Fixed typos in tendon property type annotations: FixedTendonsPropertiesCfg → FixedTendonPropertiesCfg and SpatialTendonsPropertiesCfg → SpatialTendonPropertiesCfg |
Sequence Diagram
sequenceDiagram
participant User
participant FileCfg
participant from_files
participant schemas
participant USD_Prim
User->>FileCfg: Create config with tendon properties
Note over FileCfg: fixed_tendons_props: FixedTendonPropertiesCfg
Note over FileCfg: spatial_tendons_props: SpatialTendonPropertiesCfg
User->>from_files: spawn_from_usd(prim_path, cfg)
alt cfg.fixed_tendons_props is not None
from_files->>schemas: modify_fixed_tendon_properties(prim_path, cfg.fixed_tendons_props)
schemas->>USD_Prim: Apply fixed tendon properties
end
alt cfg.spatial_tendons_props is not None
from_files->>schemas: modify_spatial_tendon_properties(prim_path, cfg.spatial_tendons_props)
schemas->>USD_Prim: Apply spatial tendon properties
end
from_files-->>User: Return spawned prim
1 file reviewed, no comments
Mayankm96
approved these changes
Nov 20, 2025
Mayankm96
left a comment
Contributor
There was a problem hiding this comment.
Thanks for catching this!
from_files config
kellyguo11
pushed a commit
that referenced
this pull request
Nov 26, 2025
Tendon imports in from_files_cfg had a typo that prevented importing. This is resolved in this commit. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## 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` - [ ] I have made corresponding changes to the documentation - [X] 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 - [X] I have added my name to the `CONTRIBUTORS.md` or my name already exists there Signed-off-by: Kyle Morgenstein <[email protected]>
Edify0991
pushed a commit
to Edify0991/IsaacLab
that referenced
this pull request
Jan 14, 2026
…im#3941) Tendon imports in from_files_cfg had a typo that prevented importing. This is resolved in this commit. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## 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` - [ ] I have made corresponding changes to the documentation - [X] 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 - [X] I have added my name to the `CONTRIBUTORS.md` or my name already exists there Signed-off-by: Kyle Morgenstein <[email protected]>
nitesh-subedi
pushed a commit
to nitesh-subedi/IsaacLab
that referenced
this pull request
Feb 5, 2026
…im#3941) Tendon imports in from_files_cfg had a typo that prevented importing. This is resolved in this commit. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## 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` - [ ] I have made corresponding changes to the documentation - [X] 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 - [X] I have added my name to the `CONTRIBUTORS.md` or my name already exists there Signed-off-by: Kyle Morgenstein <[email protected]>
csj-275
pushed a commit
to csj-275/IsaacLab
that referenced
this pull request
Jul 8, 2026
…im#3941) Tendon imports in from_files_cfg had a typo that prevented importing. This is resolved in this commit. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## 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` - [ ] I have made corresponding changes to the documentation - [X] 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 - [X] I have added my name to the `CONTRIBUTORS.md` or my name already exists there Signed-off-by: Kyle Morgenstein <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tendon imports in from_files_cfg had a typo that prevented importing. This is resolved in this commit.
Type of change
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there