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

Support for spring elements #566

Open
touste opened this issue Aug 30, 2019 · 4 comments
Open

Support for spring elements #566

touste opened this issue Aug 30, 2019 · 4 comments

Comments

@touste
Copy link

touste commented Aug 30, 2019

Are spring connections supported? If not, that would be a nice addition.
Their action would simply result in a force proportional to the relative displacement of two points.
Thanks!

@tkoolen
Copy link
Collaborator

tkoolen commented Aug 31, 2019

Yep, that'd be a nice addition. It's not that hard to implement currently, through the use of the external_wrenches argument of dynamics! in combination with the Wrench constructor that takes an application point and a force, though simulate currently doesn't expose the external_wrenches API to the controller. But it would be nice to just have a LinearSpring type or something like that.

Right now I'm almost exclusively focused on my thesis and thesis defense (until September 30 or so). After that I plan to give this package some more love for a bit.

@touste
Copy link
Author

touste commented Sep 4, 2019

Good to know this is of interest! All the best for your thesis defense!

@touste
Copy link
Author

touste commented Oct 14, 2019

Hi, I hope your PhD defense went smoothly!
I'd like to try implementing the spring connectors in this package, however I find it difficult to understand the way I should do that. I'm more used to working with solid mechanics and not really familiar with rigid body dynamics, could you point me to how I could implement this? I expect a link type for which are given forces and positions as input, and it should output new positions and perhaps derivatives, but I cannot find it as such.
Thanks!

@JurajLieskovsky
Copy link

JurajLieskovsky commented Oct 21, 2021

Hi, late to the party here. I am implementing compliant joints for a project and as a proof of concept I defined a "spring" joint type which is practically a prismatic joint with added parameters free_length and stiffness. The main difference is that inside dynamics! it produces a state dependent joint torque that is added to torque provided as an argument.

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

No branches or pull requests

3 participants