-
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
Adds flag to preserve joint order inside JointActionCfg
action term
#787
Conversation
JointActionCfg
action term
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. Could you please update the version in the changelog
and extension.toml
as well?
I have just updated the two files changelog and extension.toml |
Signed-off-by: Mayank Mittal <12863862+Mayankm96@users.noreply.github.com>
Signed-off-by: Mayank Mittal <12863862+Mayankm96@users.noreply.github.com>
@xav-nal The checks are failing for the pre-commit. Could you please run the command |
When I run the commands listed here (https://isaac-sim.github.io/IsaacLab/source/refs/contributing.html) to contribute to the documentation, everything works: I see my change updated in the documentation. However I do not see any additional files to include in the pull request. I assume this is normal. Regarding the point "I have added tests that prove my fix is effective or that my feature works," I must admit that I am not sure how to do do that. |
Thanks a lot @xav-nal! |
…isaac-sim#787) # Description Adds the attribute `preserve_order` in `JointActionCfg`, to choose whether joint-related actions should keep the same order as how the `joint_names` are listed in the config. Fixes isaac-sim#786 ## Type of change - New feature ## 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 - [ ] My changes generate no new warnings - [ ] 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
Add a new feature to allow the option to maintain the order of joint names in the action configuration when calling mdp.JointPositionActionCfg for example.
In action_cfg.py
In joints_actions.py
Fixes #786
Type of change
Screenshots
"action_cfg.py"
Before:
After
In "joints_actions.py"
Before:
After:
Checklist
pre-commit
checks with./isaaclab.sh --format