Revision: 8848
http://playerstage.svn.sourceforge.net/playerstage/?rev=8848&view=rev
Author: hsujohnhsu
Date: 2010-08-12 02:48:08 +0000 (Thu, 12 Aug 2010)
Log Message:
-----------
load joint parameters before using them
Modified Paths:
--------------
code/gazebo/trunk/server/physics/ode/ODEJoint.cc
Modified: code/gazebo/trunk/server/physics/ode/ODEJoint.cc
===================================================================
--- code/gazebo/trunk/server/physics/ode/ODEJoint.cc 2010-08-07 22:41:05 UTC
(rev 8847)
+++ code/gazebo/trunk/server/physics/ode/ODEJoint.cc 2010-08-12 02:48:08 UTC
(rev 8848)
@@ -53,6 +53,8 @@
void ODEJoint::Load(XMLConfigNode *node)
{
+ Joint::Load(node);
+
double h = this->physics->GetStepTime().Double();
double stopErp = h * (**this->stopKpP) / (h * (**this->stopKpP) +
(**this->stopKdP));
double stopCfm = 1.0 / (h * (**this->stopKpP) + (**this->stopKdP));
@@ -72,8 +74,6 @@
this->feedback = new dJointFeedback;
dJointSetFeedback(this->jointId, this->feedback);
}
-
- Joint::Load(node);
}
////////////////////////////////////////////////////////////////////////////////
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit