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

Removing default motor for joints #4689

Open
abhihjoshi opened this issue Feb 17, 2025 · 0 comments
Open

Removing default motor for joints #4689

abhihjoshi opened this issue Feb 17, 2025 · 0 comments

Comments

@abhihjoshi
Copy link

Hello, I am new to pybullet and was wondering if there is a way to remove the default motor from joints? Specifically, I would like to have a frictionless joint so an object just swings back and forth. Is this possible? If so, how might one go about this? I notice this in the documentation:

maxForce = 0
mode = p.VELOCITY_CONTROL
p.setJointMotorControl2(objUid, jointIndex,
 	controlMode=mode, force=maxForce)

but from what I understand, this is just setting the force of the motor to 0 instead of treating the joint to be frictionless. I appreciate any help on this!

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