[openrtm-commit:00777] r538 - branches/work/OpenRTM-aist-Python/OpenRTM_aist

openrtm @ openrtm.org openrtm @ openrtm.org
2012年 3月 14日 (水) 16:55:23 JST


Author: kurihara
Date: 2012-03-14 16:55:23 +0900 (Wed, 14 Mar 2012)
New Revision: 538

Modified:
   branches/work/OpenRTM-aist-Python/OpenRTM_aist/ExecutionContextBase.py
Log:
- DEEFAULT_PERIOD variable has been added.
- Log messages have been corrected. refs #2323

Modified: branches/work/OpenRTM-aist-Python/OpenRTM_aist/ExecutionContextBase.py
===================================================================
--- branches/work/OpenRTM-aist-Python/OpenRTM_aist/ExecutionContextBase.py	2012-03-14 07:50:38 UTC (rev 537)
+++ branches/work/OpenRTM-aist-Python/OpenRTM_aist/ExecutionContextBase.py	2012-03-14 07:55:23 UTC (rev 538)
@@ -18,6 +18,8 @@
 import OpenRTM_aist
 import RTC
 
+DEFAULT_EXECUTION_RATE = 1000
+
 ##
 # @if jp
 # @class ExecutionContextBase
@@ -488,9 +490,9 @@
 
     ret_ = self.onStarted() # Template
     if ret_ != RTC.RTC_OK:
-      self._rtcout.RTC_ERROR("Invoking on_startup() for each RTC failed.")
+      self._rtcout.RTC_ERROR("onStartted() failed. Started EC aborted..")
       self._worker.stop()
-      self._rtcout.RTC_ERROR("on_shutdown() was invoked, because of on_startup")
+      self._rtcout.RTC_ERROR("on_shutdown() was invoked, because of onStarted")
       return ret_
 
     return ret_
@@ -517,7 +519,7 @@
 
     ret_ = self.onStopped() # Template
     if ret_ != RTC.RTC_OK:
-      self._rtcout.RTC_ERROR("Invoking on_shutdown() for each RTC failed.")
+      self._rtcout.RTC_ERROR("onStopped() failed. Stopped EC aborted.")
       return ret_
 
     return ret_



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