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

Joint Coulomb friction #301

Merged
merged 6 commits into from
Jan 19, 2015
Merged

Joint Coulomb friction #301

merged 6 commits into from
Jan 19, 2015

Conversation

jslee02
Copy link
Member

@jslee02 jslee02 commented Jan 16, 2015

This pull request adds Coulomb friction property to joint. Figure 1 of this paper describes well about the Coulomb joint friction.

Joint Coulomb friction works only for dynamic joint types (PASSIVE, FORCE, and SERVO).

To set joint friction:

// in code
Joint* joint = skel->getJoint("my joint");
joint->setCoulombFriction(0, 10.0);
<!-- in SKEL -->
<joint type="revolute" name="my joint" actuator="force">
    <parent>world</parent>
    <child>link 1</child>
    <axis>
        <xyz>1 0 0</xyz>
        <dynamics>
            <damping>1.0</damping>
            <friction>1.0</friction>
        </dynamics>
    </axis>
</joint>

This PR fixes #293 as well.

@jslee02 jslee02 added this to the Release DART 4.3 milestone Jan 16, 2015
@jslee02 jslee02 added Comp: Dynamics tag: feature request Indicates new feature requests priority: low no timeline yet labels Jan 16, 2015
@jslee02 jslee02 changed the title Joint Coulomb friction force Joint Coulomb friction Jan 16, 2015
@jslee02
Copy link
Member Author

jslee02 commented Jan 16, 2015

+1

@scpeters
Copy link
Collaborator

This would help resolve gazebo issue 1281

jslee02 added a commit that referenced this pull request Jan 19, 2015
@jslee02 jslee02 merged commit 8350bc6 into master Jan 19, 2015
@jslee02 jslee02 deleted the joint_friction branch January 22, 2015 14:51
@jslee02 jslee02 restored the joint_friction branch January 22, 2015 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low no timeline yet tag: feature request Indicates new feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Coulomb joint friction
2 participants