[openrtm-commit:00606] r505 - branches/work/OpenRTM-aist-Python/OpenRTM_aist

openrtm @ openrtm.org openrtm @ openrtm.org
2012年 1月 23日 (月) 15:16:53 JST


Author: kurihara
Date: 2012-01-23 15:16:51 +0900 (Mon, 23 Jan 2012)
New Revision: 505

Modified:
   branches/work/OpenRTM-aist-Python/OpenRTM_aist/PeriodicExecutionContext.py
Log:
Bug fix.

Modified: branches/work/OpenRTM-aist-Python/OpenRTM_aist/PeriodicExecutionContext.py
===================================================================
--- branches/work/OpenRTM-aist-Python/OpenRTM_aist/PeriodicExecutionContext.py	2012-01-18 09:37:19 UTC (rev 504)
+++ branches/work/OpenRTM-aist-Python/OpenRTM_aist/PeriodicExecutionContext.py	2012-01-23 06:16:51 UTC (rev 505)
@@ -773,7 +773,7 @@
         compIn._sm._sm.goTo(RTC.INACTIVE_STATE)
         count_ = 0
         usec_per_sec_ = 1.0e6
-        sleeptime_ = 10.0 * usec_per_sec_ / float(self.get_rate())
+        sleeptime_ = usec_per_sec_ / float(self.get_rate())
         self._rtcout.RTC_PARANOID("Sleep time is %f [us]", sleeptime_)
         while compIn._sm._sm.isIn(RTC.ACTIVE_STATE):
           self._rtcout.RTC_TRACE("Waiting to be the INACTIVE state %d %f", (count_, float(time.time())))



openrtm-commit メーリングリストの案内