Skip to content
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

Joints spring settings #34395

Open
Tracked by #45333
SuperDIMMaX opened this issue Dec 17, 2019 · 2 comments
Open
Tracked by #45333

Joints spring settings #34395

SuperDIMMaX opened this issue Dec 17, 2019 · 2 comments

Comments

@SuperDIMMaX
Copy link

Add settings to spring param.
set_flag_z(Generic6DOFJoint.FLAG_ENABLE_LINEAR_LIMIT,true) set_param_y(Generic6DOFJoint.PARAM_LINEAR_UPPER_LIMIT,1)
works, but -
set_flag_y(Generic6DOFJoint.FLAG_ENABLE_LINEAR_SPRING,true)
and stiffness and damping is missing
documentation not provide info:
set("linear_spring_y/stiffness", 1000) set("linear_spring_y/damping", 50)
it says:

float linear_spring_x/stiffness [default: 0.01]
set_param_x(value) setter
get_param_x() getter

plz add set_param*_ and in documentation change to set("linear_spring_y/stiffness", value) (and all settings/param of joints)

@NirobNabil
Copy link

@SuperDIMMaX or @pouleyKetchoupp Can you please elaborate a little on the issue?
as far as i understand what you meant is replacing the highlighted part here with set_param_z(PARAM_LINEAR_SPRING_STIFFNESS, value) right?

image

@Mickeon
Copy link
Contributor

Mickeon commented Jan 21, 2024

Years have passed and I still have no idea what this issue refers to.

At least, the online documentation in 4.x is more explicit about setters like set_param now:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants