Skip to content

Add joint motors - #119

Merged
sebcrozet merged 20 commits into
masterfrom
joint_drive
Feb 22, 2021
Merged

Add joint motors#119
sebcrozet merged 20 commits into
masterfrom
joint_drive

Conversation

@sebcrozet

@sebcrozet sebcrozet commented Feb 22, 2021

Copy link
Copy Markdown
Member

This adds motors to the prismatic, revolute, and ball joints. The motor acts as a spring-like constraint, configurable as described in #87. As such, it is possible to give the motor a target velocity as well as a target position.

Multiple spring-like equations (velocity-based, acceleration-based, or force-based) can be chosen by the user in a per-joint basis.

The joint3 demo has been updated to add motorized joint examples.

This PR also includes some preliminary work on a generic 6DoF joint as suggest in #87. However it's not implemented in a very satisfying way yet so its sources are commented out right now.

Fix #87

@sebcrozet sebcrozet added C-Enhancement New feature or request 2D The issue is specifically about the 2D version of Rapier. 3D The issue is specifically about the 3D version of Rapier. labels Feb 22, 2021
@sebcrozet
sebcrozet merged commit d31a327 into master Feb 22, 2021
@sebcrozet
sebcrozet deleted the joint_drive branch February 22, 2021 16:40
@extrawurst

Copy link
Copy Markdown
Contributor

this is so cool! can't wait to put my hands on this!

jamespohalloran pushed a commit to jamespohalloran/rapier that referenced this pull request Apr 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2D The issue is specifically about the 2D version of Rapier. 3D The issue is specifically about the 3D version of Rapier. C-Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: joint drives

2 participants