[openrtm-commit:01705] r649 - trunk/OpenRTM-aist-Python/OpenRTM_aist
openrtm @ openrtm.org
openrtm @ openrtm.org
2016年 2月 1日 (月) 19:53:09 JST
Author: miyamoto
Date: 2016-02-01 19:53:09 +0900 (Mon, 01 Feb 2016)
New Revision: 649
Modified:
trunk/OpenRTM-aist-Python/OpenRTM_aist/InPortBase.py
trunk/OpenRTM-aist-Python/OpenRTM_aist/OutPortBase.py
Log:
[compat,bugfix,->RELENG_1_2] bug fix. refs #3407
Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/InPortBase.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/InPortBase.py 2016-02-01 10:47:32 UTC (rev 648)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/InPortBase.py 2016-02-01 10:53:09 UTC (rev 649)
@@ -1032,8 +1032,9 @@
if len(provider_types) > 0:
self._rtcout.RTC_DEBUG("dataflow_type push is supported")
self.appendProperty("dataport.dataflow_type", "push")
- self.appendProperty("dataport.interface_type",
- OpenRTM_aist.flatten(provider_types))
+ for provider_type in provider_types:
+ self.appendProperty("dataport.interface_type",provider_type)
+
self._providerTypes = provider_types
return
@@ -1075,9 +1076,10 @@
if len(consumer_types) > 0:
self._rtcout.RTC_PARANOID("dataflow_type pull is supported")
self.appendProperty("dataport.dataflow_type", "pull")
- self.appendProperty("dataport.interface_type",
- OpenRTM_aist.flatten(consumer_types))
+ for consumer_type in consumer_types:
+ self.appendProperty("dataport.interface_type",consumer_type)
+
self._consumerTypes = consumer_types
return
Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/OutPortBase.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/OutPortBase.py 2016-02-01 10:47:32 UTC (rev 648)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/OutPortBase.py 2016-02-01 10:53:09 UTC (rev 649)
@@ -1073,9 +1073,9 @@
if len(provider_types) > 0:
self._rtcout.RTC_DEBUG("dataflow_type pull is supported")
self.appendProperty("dataport.dataflow_type", "pull")
- self.appendProperty("dataport.interface_type",
- OpenRTM_aist.flatten(provider_types))
-
+ for provider_type in provider_types:
+ self.appendProperty("dataport.interface_type",provider_type)
+
self._providerTypes = provider_types
@@ -1115,9 +1115,9 @@
if len(consumer_types) > 0:
self._rtcout.RTC_PARANOID("dataflow_type push is supported")
self.appendProperty("dataport.dataflow_type", "push")
- self.appendProperty("dataport.interface_type",
- OpenRTM_aist.flatten(consumer_types))
-
+ for consumer_type in consumer_types:
+ self.appendProperty("dataport.interface_type",consumer_type)
+
self._consumerTypes = consumer_types
More information about the openrtm-commit
mailing list