[openrtm-commit:01980] r2748 - trunk/OpenRTM-aist/src/lib/rtm

openrtm @ openrtm.org openrtm @ openrtm.org
2016年 6月 4日 (土) 09:44:52 JST


Author: n-ando
Date: 2016-06-04 09:44:52 +0900 (Sat, 04 Jun 2016)
New Revision: 2748

Modified:
   trunk/OpenRTM-aist/src/lib/rtm/OutPort.h
Log:
[compat,->RELENG_1_1] When InPort obtain uninitialized data value from PortProfile, it causes CORBA exception. Now dat value is initialized 0.

Modified: trunk/OpenRTM-aist/src/lib/rtm/OutPort.h
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/OutPort.h	2016-05-26 15:08:21 UTC (rev 2747)
+++ trunk/OpenRTM-aist/src/lib/rtm/OutPort.h	2016-06-04 00:44:52 UTC (rev 2748)
@@ -138,7 +138,7 @@
 #endif
         m_value(value), m_onWrite(0), m_onWriteConvert(0)
     {
-      addProperty("dataport.data_value", m_value);
+      addProperty("dataport.data_value", 0);
       m_propValueIndex = NVUtil::find_index(m_profile.properties, "dataport.data_value");
     }
     



More information about the openrtm-commit mailing list