[openrtm-commit:02570] r729 - in trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100: Doc/author Doc/authorLong Doc/full Doc/refer aist/AIST2 aist/AIST3 base/inport1 base/inport2 base/outport1 base/outport2 base/service1 base/service2 build/cmake1
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 4月 12日 (水) 12:45:38 JST
Author: ga
Date: 2017-04-12 12:45:38 +0900 (Wed, 12 Apr 2017)
New Revision: 729
Modified:
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/author/foo.py
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/authorLong/foo.py
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/full/foo.py
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/refer/foo.py
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST2/test.py
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST3/test.py
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/inport1/foo.py
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/inport2/foo.py
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/outport1/foo.py
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/outport2/foo.py
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service1/foo.py
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service2/foo.py
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/build/cmake1/foo.py
Log:
Modified TestCase
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/author/foo.py
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/author/foo.py 2017-04-12 03:45:05 UTC (rev 728)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/author/foo.py 2017-04-12 03:45:38 UTC (rev 729)
@@ -50,23 +50,19 @@
#
def __init__(self, manager):
OpenRTM_aist.DataFlowComponentBase.__init__(self, manager)
- InP1_arg = [None] * ((len(RTC._d_TimedShort) - 4) / 2)
- self._d_InP1 = RTC.TimedShort(*InP1_arg)
+ self._d_InP1 = OpenRTM_aist.instantiateDataType(RTC.TimedShort)
"""
"""
self._InP1In = OpenRTM_aist.InPort("InP1", self._d_InP1)
- InP2_arg = [None] * ((len(RTC._d_TimedLong) - 4) / 2)
- self._d_InP2 = RTC.TimedLong(*InP2_arg)
+ self._d_InP2 = OpenRTM_aist.instantiateDataType(RTC.TimedLong)
"""
"""
self._InP2In = OpenRTM_aist.InPort("InP2", self._d_InP2)
- OutP1_arg = [None] * ((len(RTC._d_TimedLong) - 4) / 2)
- self._d_OutP1 = RTC.TimedLong(*OutP1_arg)
+ self._d_OutP1 = OpenRTM_aist.instantiateDataType(RTC.TimedLong)
"""
"""
self._OutP1Out = OpenRTM_aist.OutPort("OutP1", self._d_OutP1)
- OutP2_arg = [None] * ((len(RTC._d_TimedFloat) - 4) / 2)
- self._d_OutP2 = RTC.TimedFloat(*OutP2_arg)
+ self._d_OutP2 = OpenRTM_aist.instantiateDataType(RTC.TimedFloat)
"""
"""
self._OutP2Out = OpenRTM_aist.OutPort("OutP2", self._d_OutP2)
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/authorLong/foo.py
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/authorLong/foo.py 2017-04-12 03:45:05 UTC (rev 728)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/authorLong/foo.py 2017-04-12 03:45:38 UTC (rev 729)
@@ -52,23 +52,19 @@
#
def __init__(self, manager):
OpenRTM_aist.DataFlowComponentBase.__init__(self, manager)
- InP1_arg = [None] * ((len(RTC._d_TimedShort) - 4) / 2)
- self._d_InP1 = RTC.TimedShort(*InP1_arg)
+ self._d_InP1 = OpenRTM_aist.instantiateDataType(RTC.TimedShort)
"""
"""
self._InP1In = OpenRTM_aist.InPort("InP1", self._d_InP1)
- InP2_arg = [None] * ((len(RTC._d_TimedLong) - 4) / 2)
- self._d_InP2 = RTC.TimedLong(*InP2_arg)
+ self._d_InP2 = OpenRTM_aist.instantiateDataType(RTC.TimedLong)
"""
"""
self._InP2In = OpenRTM_aist.InPort("InP2", self._d_InP2)
- OutP1_arg = [None] * ((len(RTC._d_TimedLong) - 4) / 2)
- self._d_OutP1 = RTC.TimedLong(*OutP1_arg)
+ self._d_OutP1 = OpenRTM_aist.instantiateDataType(RTC.TimedLong)
"""
"""
self._OutP1Out = OpenRTM_aist.OutPort("OutP1", self._d_OutP1)
- OutP2_arg = [None] * ((len(RTC._d_TimedFloat) - 4) / 2)
- self._d_OutP2 = RTC.TimedFloat(*OutP2_arg)
+ self._d_OutP2 = OpenRTM_aist.instantiateDataType(RTC.TimedFloat)
"""
"""
self._OutP2Out = OpenRTM_aist.OutPort("OutP2", self._d_OutP2)
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/full/foo.py
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/full/foo.py 2017-04-12 03:45:05 UTC (rev 728)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/full/foo.py 2017-04-12 03:45:38 UTC (rev 729)
@@ -69,8 +69,7 @@
#
def __init__(self, manager):
OpenRTM_aist.DataFlowComponentBase.__init__(self, manager)
- InP1_arg = [None] * ((len(RTC._d_TimedShort) - 4) / 2)
- self._d_InP1 = RTC.TimedShort(*InP1_arg)
+ self._d_InP1 = OpenRTM_aist.instantiateDataType(RTC.TimedShort)
"""
InPort1の概要
- Type: InPort1のデータの型
@@ -81,8 +80,7 @@
- Operation Cycle: InPort1のデータの処理周期
"""
self._InP1In = OpenRTM_aist.InPort("InP1", self._d_InP1)
- InP2_arg = [None] * ((len(RTC._d_TimedLong) - 4) / 2)
- self._d_InP2 = RTC.TimedLong(*InP2_arg)
+ self._d_InP2 = OpenRTM_aist.instantiateDataType(RTC.TimedLong)
"""
InPort2の概要
- Type: InPort2のデータの型
@@ -93,8 +91,7 @@
- Operation Cycle: InPort2のデータの処理周期
"""
self._InP2In = OpenRTM_aist.InPort("InP2", self._d_InP2)
- OutP1_arg = [None] * ((len(RTC._d_TimedLong) - 4) / 2)
- self._d_OutP1 = RTC.TimedLong(*OutP1_arg)
+ self._d_OutP1 = OpenRTM_aist.instantiateDataType(RTC.TimedLong)
"""
OutPort1の概要
- Type: OutPort1のデータの型
@@ -105,8 +102,7 @@
- Operation Cycle: OutPort1のデータの処理周期
"""
self._OutP1Out = OpenRTM_aist.OutPort("OutP1", self._d_OutP1)
- OutP2_arg = [None] * ((len(RTC._d_TimedFloat) - 4) / 2)
- self._d_OutP2 = RTC.TimedFloat(*OutP2_arg)
+ self._d_OutP2 = OpenRTM_aist.instantiateDataType(RTC.TimedFloat)
"""
OutPort2の概要
- Type: OutPort2のデータの型
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/refer/foo.py
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/refer/foo.py 2017-04-12 03:45:05 UTC (rev 728)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/Doc/refer/foo.py 2017-04-12 03:45:38 UTC (rev 729)
@@ -59,23 +59,19 @@
#
def __init__(self, manager):
OpenRTM_aist.DataFlowComponentBase.__init__(self, manager)
- InP1_arg = [None] * ((len(RTC._d_TimedShort) - 4) / 2)
- self._d_InP1 = RTC.TimedShort(*InP1_arg)
+ self._d_InP1 = OpenRTM_aist.instantiateDataType(RTC.TimedShort)
"""
"""
self._InP1In = OpenRTM_aist.InPort("InP1", self._d_InP1)
- InP2_arg = [None] * ((len(RTC._d_TimedLong) - 4) / 2)
- self._d_InP2 = RTC.TimedLong(*InP2_arg)
+ self._d_InP2 = OpenRTM_aist.instantiateDataType(RTC.TimedLong)
"""
"""
self._InP2In = OpenRTM_aist.InPort("InP2", self._d_InP2)
- OutP1_arg = [None] * ((len(RTC._d_TimedLong) - 4) / 2)
- self._d_OutP1 = RTC.TimedLong(*OutP1_arg)
+ self._d_OutP1 = OpenRTM_aist.instantiateDataType(RTC.TimedLong)
"""
"""
self._OutP1Out = OpenRTM_aist.OutPort("OutP1", self._d_OutP1)
- OutP2_arg = [None] * ((len(RTC._d_TimedFloat) - 4) / 2)
- self._d_OutP2 = RTC.TimedFloat(*OutP2_arg)
+ self._d_OutP2 = OpenRTM_aist.instantiateDataType(RTC.TimedFloat)
"""
"""
self._OutP2Out = OpenRTM_aist.OutPort("OutP2", self._d_OutP2)
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST2/test.py
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST2/test.py 2017-04-12 03:45:05 UTC (rev 728)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST2/test.py 2017-04-12 03:45:38 UTC (rev 729)
@@ -47,13 +47,11 @@
#
def __init__(self, manager):
OpenRTM_aist.DataFlowComponentBase.__init__(self, manager)
- in_arg = [None] * ((len(RTC._d_TimedFloatSeq) - 4) / 2)
- self._d_in = RTC.TimedFloatSeq(*in_arg)
+ self._d_in = OpenRTM_aist.instantiateDataType(RTC.TimedFloatSeq)
"""
"""
self._inIn = OpenRTM_aist.InPort("in", self._d_in)
- out_arg = [None] * ((len(RTC._d_TimedFloatSeq) - 4) / 2)
- self._d_out = RTC.TimedFloatSeq(*out_arg)
+ self._d_out = OpenRTM_aist.instantiateDataType(RTC.TimedFloatSeq)
"""
"""
self._outOut = OpenRTM_aist.OutPort("out", self._d_out)
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST3/test.py
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST3/test.py 2017-04-12 03:45:05 UTC (rev 728)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/aist/AIST3/test.py 2017-04-12 03:45:38 UTC (rev 729)
@@ -48,13 +48,11 @@
#
def __init__(self, manager):
OpenRTM_aist.DataFlowComponentBase.__init__(self, manager)
- in_arg = [None] * ((len(RTC._d_TimedFloatSeq) - 4) / 2)
- self._d_in = RTC.TimedFloatSeq(*in_arg)
+ self._d_in = OpenRTM_aist.instantiateDataType(RTC.TimedFloatSeq)
"""
"""
self._inIn = OpenRTM_aist.InPort("in", self._d_in)
- out_arg = [None] * ((len(RTC._d_TimedFloatSeq) - 4) / 2)
- self._d_out = RTC.TimedFloatSeq(*out_arg)
+ self._d_out = OpenRTM_aist.instantiateDataType(RTC.TimedFloatSeq)
"""
"""
self._outOut = OpenRTM_aist.OutPort("out", self._d_out)
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/inport1/foo.py
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/inport1/foo.py 2017-04-12 03:45:05 UTC (rev 728)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/inport1/foo.py 2017-04-12 03:45:38 UTC (rev 729)
@@ -45,8 +45,7 @@
#
def __init__(self, manager):
OpenRTM_aist.DataFlowComponentBase.__init__(self, manager)
- InP1_arg = [None] * ((len(RTC._d_TimedShort) - 4) / 2)
- self._d_InP1 = RTC.TimedShort(*InP1_arg)
+ self._d_InP1 = OpenRTM_aist.instantiateDataType(RTC.TimedShort)
"""
"""
self._InP1In = OpenRTM_aist.InPort("InP1", self._d_InP1)
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/inport2/foo.py
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/inport2/foo.py 2017-04-12 03:45:05 UTC (rev 728)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/inport2/foo.py 2017-04-12 03:45:38 UTC (rev 729)
@@ -45,13 +45,11 @@
#
def __init__(self, manager):
OpenRTM_aist.DataFlowComponentBase.__init__(self, manager)
- InP1_arg = [None] * ((len(RTC._d_TimedShort) - 4) / 2)
- self._d_InP1 = RTC.TimedShort(*InP1_arg)
+ self._d_InP1 = OpenRTM_aist.instantiateDataType(RTC.TimedShort)
"""
"""
self._InP1In = OpenRTM_aist.InPort("InP1", self._d_InP1)
- InP2_arg = [None] * ((len(RTC._d_TimedLong) - 4) / 2)
- self._d_InP2 = RTC.TimedLong(*InP2_arg)
+ self._d_InP2 = OpenRTM_aist.instantiateDataType(RTC.TimedLong)
"""
"""
self._InP2In = OpenRTM_aist.InPort("InP2", self._d_InP2)
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/outport1/foo.py
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/outport1/foo.py 2017-04-12 03:45:05 UTC (rev 728)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/outport1/foo.py 2017-04-12 03:45:38 UTC (rev 729)
@@ -45,18 +45,15 @@
#
def __init__(self, manager):
OpenRTM_aist.DataFlowComponentBase.__init__(self, manager)
- InP1_arg = [None] * ((len(RTC._d_TimedShort) - 4) / 2)
- self._d_InP1 = RTC.TimedShort(*InP1_arg)
+ self._d_InP1 = OpenRTM_aist.instantiateDataType(RTC.TimedShort)
"""
"""
self._InP1In = OpenRTM_aist.InPort("InP1", self._d_InP1)
- InP2_arg = [None] * ((len(RTC._d_TimedLong) - 4) / 2)
- self._d_InP2 = RTC.TimedLong(*InP2_arg)
+ self._d_InP2 = OpenRTM_aist.instantiateDataType(RTC.TimedLong)
"""
"""
self._InP2In = OpenRTM_aist.InPort("InP2", self._d_InP2)
- OutP1_arg = [None] * ((len(RTC._d_TimedLong) - 4) / 2)
- self._d_OutP1 = RTC.TimedLong(*OutP1_arg)
+ self._d_OutP1 = OpenRTM_aist.instantiateDataType(RTC.TimedLong)
"""
"""
self._OutP1Out = OpenRTM_aist.OutPort("OutP1", self._d_OutP1)
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/outport2/foo.py
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/outport2/foo.py 2017-04-12 03:45:05 UTC (rev 728)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/outport2/foo.py 2017-04-12 03:45:38 UTC (rev 729)
@@ -45,23 +45,19 @@
#
def __init__(self, manager):
OpenRTM_aist.DataFlowComponentBase.__init__(self, manager)
- InP1_arg = [None] * ((len(RTC._d_TimedShort) - 4) / 2)
- self._d_InP1 = RTC.TimedShort(*InP1_arg)
+ self._d_InP1 = OpenRTM_aist.instantiateDataType(RTC.TimedShort)
"""
"""
self._InP1In = OpenRTM_aist.InPort("InP1", self._d_InP1)
- InP2_arg = [None] * ((len(RTC._d_TimedLong) - 4) / 2)
- self._d_InP2 = RTC.TimedLong(*InP2_arg)
+ self._d_InP2 = OpenRTM_aist.instantiateDataType(RTC.TimedLong)
"""
"""
self._InP2In = OpenRTM_aist.InPort("InP2", self._d_InP2)
- OutP1_arg = [None] * ((len(RTC._d_TimedLong) - 4) / 2)
- self._d_OutP1 = RTC.TimedLong(*OutP1_arg)
+ self._d_OutP1 = OpenRTM_aist.instantiateDataType(RTC.TimedLong)
"""
"""
self._OutP1Out = OpenRTM_aist.OutPort("OutP1", self._d_OutP1)
- OutP2_arg = [None] * ((len(RTC._d_TimedFloat) - 4) / 2)
- self._d_OutP2 = RTC.TimedFloat(*OutP2_arg)
+ self._d_OutP2 = OpenRTM_aist.instantiateDataType(RTC.TimedFloat)
"""
"""
self._OutP2Out = OpenRTM_aist.OutPort("OutP2", self._d_OutP2)
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service1/foo.py
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service1/foo.py 2017-04-12 03:45:05 UTC (rev 728)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service1/foo.py 2017-04-12 03:45:38 UTC (rev 729)
@@ -47,23 +47,19 @@
#
def __init__(self, manager):
OpenRTM_aist.DataFlowComponentBase.__init__(self, manager)
- InP1_arg = [None] * ((len(RTC._d_TimedShort) - 4) / 2)
- self._d_InP1 = RTC.TimedShort(*InP1_arg)
+ self._d_InP1 = OpenRTM_aist.instantiateDataType(RTC.TimedShort)
"""
"""
self._InP1In = OpenRTM_aist.InPort("InP1", self._d_InP1)
- InP2_arg = [None] * ((len(RTC._d_TimedLong) - 4) / 2)
- self._d_InP2 = RTC.TimedLong(*InP2_arg)
+ self._d_InP2 = OpenRTM_aist.instantiateDataType(RTC.TimedLong)
"""
"""
self._InP2In = OpenRTM_aist.InPort("InP2", self._d_InP2)
- OutP1_arg = [None] * ((len(RTC._d_TimedLong) - 4) / 2)
- self._d_OutP1 = RTC.TimedLong(*OutP1_arg)
+ self._d_OutP1 = OpenRTM_aist.instantiateDataType(RTC.TimedLong)
"""
"""
self._OutP1Out = OpenRTM_aist.OutPort("OutP1", self._d_OutP1)
- OutP2_arg = [None] * ((len(RTC._d_TimedFloat) - 4) / 2)
- self._d_OutP2 = RTC.TimedFloat(*OutP2_arg)
+ self._d_OutP2 = OpenRTM_aist.instantiateDataType(RTC.TimedFloat)
"""
"""
self._OutP2Out = OpenRTM_aist.OutPort("OutP2", self._d_OutP2)
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service2/foo.py
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service2/foo.py 2017-04-12 03:45:05 UTC (rev 728)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/base/service2/foo.py 2017-04-12 03:45:38 UTC (rev 729)
@@ -49,23 +49,19 @@
#
def __init__(self, manager):
OpenRTM_aist.DataFlowComponentBase.__init__(self, manager)
- InP1_arg = [None] * ((len(RTC._d_TimedShort) - 4) / 2)
- self._d_InP1 = RTC.TimedShort(*InP1_arg)
+ self._d_InP1 = OpenRTM_aist.instantiateDataType(RTC.TimedShort)
"""
"""
self._InP1In = OpenRTM_aist.InPort("InP1", self._d_InP1)
- InP2_arg = [None] * ((len(RTC._d_TimedLong) - 4) / 2)
- self._d_InP2 = RTC.TimedLong(*InP2_arg)
+ self._d_InP2 = OpenRTM_aist.instantiateDataType(RTC.TimedLong)
"""
"""
self._InP2In = OpenRTM_aist.InPort("InP2", self._d_InP2)
- OutP1_arg = [None] * ((len(RTC._d_TimedLong) - 4) / 2)
- self._d_OutP1 = RTC.TimedLong(*OutP1_arg)
+ self._d_OutP1 = OpenRTM_aist.instantiateDataType(RTC.TimedLong)
"""
"""
self._OutP1Out = OpenRTM_aist.OutPort("OutP1", self._d_OutP1)
- OutP2_arg = [None] * ((len(RTC._d_TimedFloat) - 4) / 2)
- self._d_OutP2 = RTC.TimedFloat(*OutP2_arg)
+ self._d_OutP2 = OpenRTM_aist.instantiateDataType(RTC.TimedFloat)
"""
"""
self._OutP2Out = OpenRTM_aist.OutPort("OutP2", self._d_OutP2)
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/build/cmake1/foo.py
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/build/cmake1/foo.py 2017-04-12 03:45:05 UTC (rev 728)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder.python/resource/100/build/cmake1/foo.py 2017-04-12 03:45:38 UTC (rev 729)
@@ -49,23 +49,19 @@
#
def __init__(self, manager):
OpenRTM_aist.DataFlowComponentBase.__init__(self, manager)
- InP1_arg = [None] * ((len(RTC._d_TimedShort) - 4) / 2)
- self._d_InP1 = RTC.TimedShort(*InP1_arg)
+ self._d_InP1 = OpenRTM_aist.instantiateDataType(RTC.TimedShort)
"""
"""
self._InP1In = OpenRTM_aist.InPort("InP1", self._d_InP1)
- InP2_arg = [None] * ((len(RTC._d_TimedLong) - 4) / 2)
- self._d_InP2 = RTC.TimedLong(*InP2_arg)
+ self._d_InP2 = OpenRTM_aist.instantiateDataType(RTC.TimedLong)
"""
"""
self._InP2In = OpenRTM_aist.InPort("InP2", self._d_InP2)
- OutP1_arg = [None] * ((len(RTC._d_TimedInt) - 4) / 2)
- self._d_OutP1 = RTC.TimedInt(*OutP1_arg)
+ self._d_OutP1 = OpenRTM_aist.instantiateDataType(RTC.TimedInt)
"""
"""
self._OutP1Out = OpenRTM_aist.OutPort("OutP1", self._d_OutP1)
- OutP2_arg = [None] * ((len(RTC._d_TimedFloat) - 4) / 2)
- self._d_OutP2 = RTC.TimedFloat(*OutP2_arg)
+ self._d_OutP2 = OpenRTM_aist.instantiateDataType(RTC.TimedFloat)
"""
"""
self._OutP2Out = OpenRTM_aist.OutPort("OutP2", self._d_OutP2)
openrtm-commit メーリングリストの案内