Revision: 6883
          http://playerstage.svn.sourceforge.net/playerstage/?rev=6883&view=rev
Author:   natepak
Date:     2008-07-17 04:45:04 +0000 (Thu, 17 Jul 2008)

Log Message:
-----------
Commented out speed check in main loop.

Modified Paths:
--------------
    code/gazebo/trunk/server/Simulator.cc
    code/gazebo/trunk/server/rendering/OgreAdaptor.cc

Modified: code/gazebo/trunk/server/Simulator.cc
===================================================================
--- code/gazebo/trunk/server/Simulator.cc       2008-07-17 03:39:25 UTC (rev 
6882)
+++ code/gazebo/trunk/server/Simulator.cc       2008-07-17 04:45:04 UTC (rev 
6883)
@@ -41,7 +41,7 @@
 
 #include "Simulator.hh"
 
-#define MAX_FRAME_RATE 35
+#define MAX_FRAME_RATE 60
 
 using namespace gazebo;
 
@@ -292,10 +292,10 @@
     elapsedTime = (this->GetRealTime() - currTime);
 
     // Wait if we're going too fast
-    if ( elapsedTime < 1.0/MAX_FRAME_RATE )
+    /*if ( elapsedTime < 1.0/MAX_FRAME_RATE )
     {
       usleep( (int)((1.0/MAX_FRAME_RATE - elapsedTime) * 1e6)  );
-    }
+    }*/
 
     if (this->timeout > 0 && this->GetRealTime() > this->timeout)
       break;

Modified: code/gazebo/trunk/server/rendering/OgreAdaptor.cc
===================================================================
--- code/gazebo/trunk/server/rendering/OgreAdaptor.cc   2008-07-17 03:39:25 UTC 
(rev 6882)
+++ code/gazebo/trunk/server/rendering/OgreAdaptor.cc   2008-07-17 04:45:04 UTC 
(rev 6883)
@@ -204,7 +204,8 @@
   else
   {
     this->sceneType= SCENE_EXT;
-    this->sceneMgr = this->root->createSceneManager(Ogre::ST_EXTERIOR_CLOSE);
+    //this->sceneMgr = this->root->createSceneManager(Ogre::ST_EXTERIOR_CLOSE);
+    this->sceneMgr = this->root->createSceneManager(Ogre::ST_EXTERIOR_FAR);
   }
 
   ambient.r = node->GetTupleDouble("ambient",0,1.0);


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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Playerstage-commit mailing list
Playerstage-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to