Revision: 7510
http://playerstage.svn.sourceforge.net/playerstage/?rev=7510&view=rev
Author: hsujohnhsu
Date: 2009-03-17 01:22:49 +0000 (Tue, 17 Mar 2009)
Log Message:
-----------
in prep for torque control, initialize hinge joint to 0 dParamFMax and set
torque to 0.
Modified Paths:
--------------
code/gazebo/branches/ogre-1.4.9/server/physics/HingeJoint.cc
Modified: code/gazebo/branches/ogre-1.4.9/server/physics/HingeJoint.cc
===================================================================
--- code/gazebo/branches/ogre-1.4.9/server/physics/HingeJoint.cc
2009-03-17 01:21:53 UTC (rev 7509)
+++ code/gazebo/branches/ogre-1.4.9/server/physics/HingeJoint.cc
2009-03-17 01:22:49 UTC (rev 7510)
@@ -70,6 +70,8 @@
this->SetParam(dParamHiStop, this->hiStopP->GetValue().GetAsRadian());
this->SetParam(dParamLoStop, this->loStopP->GetValue().GetAsRadian());
this->SetParam(dParamHiStop, this->hiStopP->GetValue().GetAsRadian());
+ this->SetParam(dParamFMax, 0);
+ this->SetTorque(0);
this->SetAxis(**(this->axisP));
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit