[openrtm-commit:00346] r454 - branches/RELENG_1_1/OpenRTM-aist-Python/OpenRTM_aist
openrtm @ openrtm.org
openrtm @ openrtm.org
2011年 8月 11日 (木) 18:45:22 JST
Author: kurihara
Date: 2011-08-11 18:45:22 +0900 (Thu, 11 Aug 2011)
New Revision: 454
Modified:
branches/RELENG_1_1/OpenRTM-aist-Python/OpenRTM_aist/Timer.py
Log:
The problem of "out of range" has been corrected in invoke() method.
Modified: branches/RELENG_1_1/OpenRTM-aist-Python/OpenRTM_aist/Timer.py
===================================================================
--- branches/RELENG_1_1/OpenRTM-aist-Python/OpenRTM_aist/Timer.py 2011-08-11 09:41:06 UTC (rev 453)
+++ branches/RELENG_1_1/OpenRTM-aist-Python/OpenRTM_aist/Timer.py 2011-08-11 09:45:22 UTC (rev 454)
@@ -201,8 +201,8 @@
for i in range(len(self._tasks)):
self._tasks[i].remains = self._tasks[i].remains - self._interval
if self._tasks[i].remains.sign() <= 0.0:
+ self._tasks[i].remains = self._tasks[i].period
self._tasks[i].listener.invoke()
- self._tasks[i].remains = self._tasks[i].period
del guard
return
openrtm-commit メーリングリストの案内