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

How to handle external forces/loads on a revolute joint motor? #136

Open
mimon opened this issue Oct 23, 2021 · 0 comments
Open

How to handle external forces/loads on a revolute joint motor? #136

mimon opened this issue Oct 23, 2021 · 0 comments

Comments

@mimon
Copy link

mimon commented Oct 23, 2021

I have a revolute joint attached to an actor and set a velocity target in the motor. No problems, until when external forces resist the motor. The motor will only ever exert the amount force it would take to bring the mass of the actor it's attached to up to speed. It does not scale up the force to account for other actors attached, collisions or gravity. This means that it will likely never get to the desired speed even though it is not exerting all its allotted force. In my case I've set the max force to PX_MAX_F32. I have the same problem when I want the motor to keep the actor steady at velocity zero (given that it's got sufficient force to apply).

I'm trying to build cranes in my simulation and I don't know how to solve this the best way. Should I somehow implement my own motor that can handle external forces? Any other tips?

Cheers

@mimon mimon changed the title How to handle external forces/loads on revolute joint motor? How to handle external forces/loads on a revolute joint motor? Oct 23, 2021
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

1 participant