Skip to content

Commit

Permalink
much less damped
Browse files Browse the repository at this point in the history
  • Loading branch information
mxgrey committed Mar 27, 2017
1 parent 69ba6b2 commit d0f3e82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/skel/chain.skel
Expand Up @@ -11,7 +11,7 @@
<gravity>1</gravity>
<transformation>0 0 0 0 0 0</transformation>
<inertia>
<mass>0.1</mass>
<mass>20.0</mass>
<offset>0 0 0</offset>
</inertia>
<visualization_shape>
Expand Down
4 changes: 2 additions & 2 deletions examples/rigidChain/Main.cpp
Expand Up @@ -49,8 +49,8 @@ int main(int argc, char* argv[]) {
Eigen::VectorXd initPose(dof);
for (int i = 0; i < dof; i++) {
initPose[i] = dart::math::random(-0.5, 0.5);
// myWorld->getSkeleton(0)->getDof(i)->setSpringStiffness(1.);
myWorld->getSkeleton(0)->getDof(i)->setSpringStiffness(0.1);
myWorld->getSkeleton(0)->getDof(i)->setSpringStiffness(1.);
// myWorld->getSkeleton(0)->getDof(i)->setSpringStiffness(0.1);
// myWorld->getSkeleton(0)->getDof(i)->setSpringStiffness(0.0);
myWorld->getSkeleton(0)->getDof(i)->setDampingCoefficient(0.);
}
Expand Down

0 comments on commit d0f3e82

Please sign in to comment.