-
Notifications
You must be signed in to change notification settings - Fork 819
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
Adhesion actuator dyntype
#2145
Comments
This is a reasonable ask, however this should be possible now by saving an adhesion actuator as and then adding a dyntype. Yes, this is not as elegant as , but should just work. So unless you're saying that you tried this and it failed, this request is basically about nicer MJCF cosmetics. If you tried it and it failed then that's a bug 🙂 |
For now, I do something like this, but it's not very nice: adhesion_actuator.dclass.general.dyntype = 'filter'
adhesion_actuator.dclass.general.dynprm = (0.01,) Yeah, this is not a bug report, just an enhancement request |
@yuvaltassa is it me or is your comment missing a bit or two? What do you mean by "saving an adhesion actuator as"? |
I mean that if you have an XML with But the trick you're using with default classes is even better, if you have procedural code. That said, your enhancement request is valid and would not be hard to add. There are two options really:
WDYT? |
Thanks Yuval, that sounds good. For all I know, for the |
The feature, motivation and pitch
Is there a good reason the
dyntype
of adhesion actuators can only benone
? Can't we exposedyntype
(along withdynprm
) as another custom attribute of the adhesion actuators, like e.g. gain? For example, having afilter
dynamics for adhesion could be quite useful (and realistic in some cases).Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: