[openrtm-commit:00684] r513 - branches/work/OpenRTM-aist-Python/OpenRTM_aist

openrtm @ openrtm.org openrtm @ openrtm.org
2012年 2月 9日 (木) 00:04:33 JST


Author: kurihara
Date: 2012-02-09 00:04:32 +0900 (Thu, 09 Feb 2012)
New Revision: 513

Modified:
   branches/work/OpenRTM-aist-Python/OpenRTM_aist/Manager.py
Log:
Log messages have been added when RTC initialization failed. refs #2313

Modified: branches/work/OpenRTM-aist-Python/OpenRTM_aist/Manager.py
===================================================================
--- branches/work/OpenRTM-aist-Python/OpenRTM_aist/Manager.py	2012-02-03 04:21:43 UTC (rev 512)
+++ branches/work/OpenRTM-aist-Python/OpenRTM_aist/Manager.py	2012-02-08 15:04:32 UTC (rev 513)
@@ -2110,6 +2110,7 @@
         name_prop.load(conff)
         self._rtcout.RTC_INFO("Component instance conf file: %s loaded.",
                               self._config.getProperty(name_conf))
+        self._rtcout.RTC_DEBUG(name_prop)
         config_fname.append(self._config.getProperty(name_conf))
       except:
         print "Not found. : %s" % self._config.getProperty(name_conf)
@@ -2123,6 +2124,7 @@
       if not (len(keys_) == 1 and keys[-1] == "config_file"):
         name_prop.mergeProperties(self._config.getNode(category + "." + inst_name))
         self._rtcout.RTC_INFO("Component name conf exists in rtc.conf. Merged.")
+        self._rtcout.RTC_DEBUG(name_prop)
         if self._config.findNode("config_file"):
           config_fname.append(self._config.getProperty("config_file"))
 
@@ -2132,6 +2134,7 @@
         type_prop.load(conff)
         self._rtcout.RTC_INFO("Component type conf file: %s loaded.",
                               self._config.getProperty(type_conf))
+        self._rtcout.RTC_DEBUG(type_prop)
         config_fname.append(self._config.getProperty(type_conf))
       except:
         print "Not found. : %s" % self._config.getProperty(type_conf)
@@ -2145,6 +2148,7 @@
       if not (len(keys_) == 1 and keys[-1] == "config_file"):
         type_prop.mergeProperties(self._config.getNode(category + "." + type_name))
         self._rtcout.RTC_INFO("Component type conf exists in rtc.conf. Merged.")
+        self._rtcout.RTC_DEBUG(type_prop)
         if self._config.findNode("config_file"):
           config_fname.append(self._config.getProperty("config_file"))
 



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