[openrtm-commit:00776] r537 - branches/work/OpenRTM-aist-Python/OpenRTM_aist
openrtm @ openrtm.org
openrtm @ openrtm.org
2012年 3月 14日 (水) 16:50:38 JST
Author: kurihara
Date: 2012-03-14 16:50:38 +0900 (Wed, 14 Mar 2012)
New Revision: 537
Modified:
branches/work/OpenRTM-aist-Python/OpenRTM_aist/PeriodicExecutionContext.py
Log:
the mistake of the variable name has been corrected. refs #2388
Modified: branches/work/OpenRTM-aist-Python/OpenRTM_aist/PeriodicExecutionContext.py
===================================================================
--- branches/work/OpenRTM-aist-Python/OpenRTM_aist/PeriodicExecutionContext.py 2012-03-14 07:41:48 UTC (rev 536)
+++ branches/work/OpenRTM-aist-Python/OpenRTM_aist/PeriodicExecutionContext.py 2012-03-14 07:50:38 UTC (rev 537)
@@ -131,7 +131,7 @@
if count_ > 1000:
exctm_ = (t1_ - t0_).getTime().toDouble()
- slptm_ = self._period.toDouble() - exctm_
+ slptm_ = period_.toDouble() - exctm_
self._rtcout.RTC_PARANOID("Period: %f [s]", period_.toDouble())
self._rtcout.RTC_PARANOID("Execution: %f [s]", exctm_)
self._rtcout.RTC_PARANOID("Sleep: %f [s]", slptm_)
openrtm-commit メーリングリストの案内