[openrtm-commit:00398] r472 - branches/RELENG_1_1/OpenRTM-aist-Python/OpenRTM_aist

openrtm @ openrtm.org openrtm @ openrtm.org
2011年 9月 8日 (木) 15:31:48 JST


Author: kurihara
Date: 2011-09-08 15:31:48 +0900 (Thu, 08 Sep 2011)
New Revision: 472

Modified:
   branches/RELENG_1_1/OpenRTM-aist-Python/OpenRTM_aist/PeriodicExecutionContext.py
Log:
a bug about nowait flag has been fixed.

Modified: branches/RELENG_1_1/OpenRTM-aist-Python/OpenRTM_aist/PeriodicExecutionContext.py
===================================================================
--- branches/RELENG_1_1/OpenRTM-aist-Python/OpenRTM_aist/PeriodicExecutionContext.py	2011-09-08 02:51:35 UTC (rev 471)
+++ branches/RELENG_1_1/OpenRTM-aist-Python/OpenRTM_aist/PeriodicExecutionContext.py	2011-09-08 06:31:48 UTC (rev 472)
@@ -685,7 +685,7 @@
     if rate > 0.0:
       self._profile.rate = rate
       self._period.set_time(1.0/rate)
-      if long(self._period.toDouble()) == 0:
+      if self._period.toDouble() == 0.0:
         self._nowait = True
 
       for comp in self._comps:



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