Set CFM and ERP physics parameters for the four wheel joints.#243
Closed
darrenchurchill wants to merge 1 commit into
Closed
Set CFM and ERP physics parameters for the four wheel joints.#243darrenchurchill wants to merge 1 commit into
darrenchurchill wants to merge 1 commit into
Conversation
This addresses issue BCLab-UNM#227. Setting the wheel joints' Constraint Force Mixing parameters and Error Reduction Parameters to values different from their global defaults allows the rover to slowly in place without moving forward at the same time. The CFM is set to slightly soften the wheel joints, and the ERP is set to quickly reduce any wheel joint errors that a softened joint can introduce.
Contributor
|
@kristiana-rendon and @Antonio-Griego please test this code in simulation and reply here. I'm excited that Darren has provided a templating method. You will be interested to look at the templating too, @johncarl81. |
gmfricke
approved these changes
Jan 24, 2019
Contributor
gmfricke
left a comment
There was a problem hiding this comment.
Thanks for sharing this. I have asked two of our team to test the changes. Assuming that goes well we will merge this,
gmfricke
added a commit
that referenced
this pull request
Jan 28, 2019
See PR #243. This pull request supersedes the earlier one since we are using templated model files now. Thanks to @darrenchurchill. "I settled on a very small Constraint Force Mixing parameter (0.01), to soften the wheel joints slightly, and a greatly increased the Error Reduction Parameter (0.8), so the wheels move quickly back to their normal positions in just a few physics iterations if they get slightly out of place. The CFM is small enough so there shouldn't be any 'suspension' effect or vibration in the model when it comes to a stop."
Merged
Contributor
Author
mike-matera
pushed a commit
to mike-matera/SwarmBaseCode-ROS
that referenced
this pull request
Dec 31, 2019
See PR BCLab-UNM#243. This pull request supersedes the earlier one since we are using templated model files now. Thanks to @darrenchurchill. "I settled on a very small Constraint Force Mixing parameter (0.01), to soften the wheel joints slightly, and a greatly increased the Error Reduction Parameter (0.8), so the wheels move quickly back to their normal positions in just a few physics iterations if they get slightly out of place. The CFM is small enough so there shouldn't be any 'suspension' effect or vibration in the model when it comes to a stop."
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This addresses issue #227.
I'm excited you're going to take a look at this.
I settled on a very small Constraint Force Mixing parameter (0.01), to soften the wheel joints slightly, and a greatly increased the Error Reduction Parameter (0.8), so the wheels move quickly back to their normal positions in just a few physics iterations if they get slightly out of place.
The CFM is small enough so there shouldn't be any 'suspension' effect or vibration in the model when it comes to a stop.
Let me know what you think.