-
Notifications
You must be signed in to change notification settings - Fork 932
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expands functionality of FrameTransformer to allow multi-body transforms #858
Expands functionality of FrameTransformer to allow multi-body transforms #858
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just would be good to warn that only Rigid Body Prims are eligible.
source/extensions/omni.isaac.lab/omni/isaac/lab/sensors/frame_transformer/frame_transformer.py
Show resolved
Hide resolved
source/extensions/omni.isaac.lab/omni/isaac/lab/sensors/frame_transformer/frame_transformer.py
Outdated
Show resolved
Hide resolved
source/extensions/omni.isaac.lab/test/sensors/test_frame_transformer.py
Outdated
Show resolved
Hide resolved
source/extensions/omni.isaac.lab/omni/isaac/lab/sensors/frame_transformer/frame_transformer.py
Show resolved
Hide resolved
I added a very simple test that queries frame offset to the source prim. I thought this was the initial question about the frame transformer bug. The issue persists. Could you take a look? |
source/extensions/omni.isaac.lab/test/sensors/test_frame_transformer.py
Outdated
Show resolved
Hide resolved
* Also updated docs
source/extensions/omni.isaac.lab/omni/isaac/lab/sensors/frame_transformer/frame_transformer.py
Outdated
Show resolved
Hide resolved
source/extensions/omni.isaac.lab/omni/isaac/lab/sensors/frame_transformer/frame_transformer.py
Outdated
Show resolved
Hide resolved
source/extensions/omni.isaac.lab/omni/isaac/lab/sensors/frame_transformer/frame_transformer.py
Outdated
Show resolved
Hide resolved
…transformer/frame_transformer.py Signed-off-by: James Smith <142246516+jsmith-bdai@users.noreply.github.com>
source/extensions/omni.isaac.lab/omni/isaac/lab/sensors/frame_transformer/frame_transformer.py
Show resolved
Hide resolved
.../extensions/omni.isaac.lab/omni/isaac/lab/sensors/frame_transformer/frame_transformer_cfg.py
Outdated
Show resolved
Hide resolved
.../extensions/omni.isaac.lab/omni/isaac/lab/sensors/frame_transformer/frame_transformer_cfg.py
Outdated
Show resolved
Hide resolved
...extensions/omni.isaac.lab/omni/isaac/lab/sensors/frame_transformer/frame_transformer_data.py
Show resolved
Hide resolved
…transformer/frame_transformer_cfg.py Co-authored-by: Mayank Mittal <12863862+Mayankm96@users.noreply.github.com> Signed-off-by: James Smith <142246516+jsmith-bdai@users.noreply.github.com>
…transformer/frame_transformer_cfg.py Co-authored-by: Mayank Mittal <12863862+Mayankm96@users.noreply.github.com> Signed-off-by: James Smith <142246516+jsmith-bdai@users.noreply.github.com>
@Dhoeller19 said he'd like to go over the logic and check it before we merge. Slating it for 1.3 release now |
@Dhoeller19 @Mayankm96 Can we try to merge this soon? It's been up for some time now and I'd hate for it to get out of sync |
Please update the changelog before merging @jsmith-bdai |
…rms (isaac-sim#858) # Description Update FrameTransformer to handle 2 new functionalities: * Target frames that aren't children of the source frame prim_path * Target frames that are based upon the source frame prim_path These new changes mean that the frame names will most likely be different than the configured order - but this was always a possibility to the way the regex is parsed. To be safe, users need to use `frame_names` to determine indexing into `FrameTransformerData`. Test cases have been added for both of these new functionalities - thanks @Mayankm96! Also, the run script has been updated slightly as the previous indexing was off by 1. Fixes isaac-sim#857 isaac-sim#294 ## Type of change - New feature (non-breaking change which adds functionality) ## Checklist - [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
Description
Update FrameTransformer to handle 2 new functionalities:
These new changes mean that the frame names will most likely be different than the configured order - but this was always a possibility to the way the regex is parsed. To be safe, users need to use
frame_names
to determine indexing intoFrameTransformerData
.Test cases have been added for both of these new functionalities - thanks @Mayankm96!
Also, the run script has been updated slightly as the previous indexing was off by 1.
Fixes #857 #294
Type of change
Checklist
pre-commit
checks with./isaaclab.sh --format
config/extension.toml
fileCONTRIBUTORS.md
or my name already exists there