Revision: 8684
http://playerstage.svn.sourceforge.net/playerstage/?rev=8684&view=rev
Author: natepak
Date: 2010-05-17 16:11:13 +0000 (Mon, 17 May 2010)
Log Message:
-----------
Fixed time bug
Modified Paths:
--------------
code/gazebo/trunk/server/World.cc
Modified: code/gazebo/trunk/server/World.cc
===================================================================
--- code/gazebo/trunk/server/World.cc 2010-05-17 16:02:40 UTC (rev 8683)
+++ code/gazebo/trunk/server/World.cc 2010-05-17 16:11:13 UTC (rev 8684)
@@ -1519,7 +1519,7 @@
case SimulationRequestData::GO:
{
int sec = req->runTime/1000;
- int nsec = (req->runTime - sec*1000) * 1e9;
+ int nsec = (req->runTime - sec*1000) * 1e6;
this->simPauseTime = Simulator::Instance()->GetSimTime()
+ Time(sec, nsec);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit