Revision: 6430
http://playerstage.svn.sourceforge.net/playerstage/?rev=6430&view=rev
Author: robotos
Date: 2008-05-11 23:04:29 -0700 (Sun, 11 May 2008)
Log Message:
-----------
As we are calling 3 times more frecuently the physics engine,
we can have a smaller step.
Putting in other words, we trade more accuracy for less framerate.
Modified Paths:
--------------
code/gazebo/trunk/server/physics/ode/ODEPhysics.cc
Modified: code/gazebo/trunk/server/physics/ode/ODEPhysics.cc
===================================================================
--- code/gazebo/trunk/server/physics/ode/ODEPhysics.cc 2008-05-12 03:45:27 UTC
(rev 6429)
+++ code/gazebo/trunk/server/physics/ode/ODEPhysics.cc 2008-05-12 06:04:29 UTC
(rev 6430)
@@ -71,7 +71,7 @@
this->gravity.y = 0;
this->gravity.z = -9.80665;
- this->stepTime = 0.05;
+ this->stepTime = 0.025;
this->updateRate = 0.0;
}
@@ -141,7 +141,6 @@
// Update the dynamical model
dWorldStep( this->worldId, this->stepTime );
- //dWorldStepFast1( this->worldId, this->stepTime, 8 );
//dWorldQuickStep(this->worldId, this->stepTime);
// Very important to clear out the contact group
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 the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit