-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add prev_prev_action
to ActionTerm
#1614
base: main
Are you sure you want to change the base?
Conversation
To prevent a slippery slope of |
Where should I add @configclass
class ActionsCfg:
"""Action specifications for the MDP."""
joint_pos = mdp.JointPositionActionCfg(asset_name="robot", joint_names=[".*"], scale=0.5, use_default_offset=True) |
I think we can add a |
In (If I add a |
Ah I see what you mean, it is tricky indeed. I guess one way is to just use the max history length of all of the terms and populate the buffer for them all in the Action Manager, similar to how the current prev action is done. Or maybe we can use a special named term in the action manager cfg for specifying the history length? both seems a bit messy though. @Mayankm96 what would you recommend? maybe I'm missing something in my understanding of the action manager. |
As @fan-ziqi eluded to we don't have a dedicated Create a base ActionManagerCfg() that users could inherit from that contains IsaacLab source code would add to omni.isaac.lab/omni/isaac/lab/managers/manager_term_cfg.py:
Users application code would add something like:
This however is a slight deviation to our current configuration management scheme. Our managers don't have a bespoke configclass object they are looking for (like how the Terms do). |
Description
This PR introduces a new feature in the Antion Manager by adding a
prev_prev_action
toActionTerm
. The purpose of this addition is to allow the computation of second-order smoothing for actions, providing a smoother transition between actions over time.Such as
Type of change
Checklist
pre-commit
checks with./isaaclab.sh --format
config/extension.toml
fileCONTRIBUTORS.md
or my name already exists there