[openrtm-commit:03334] r1028 - trunk/OpenRTM-aist-Python/OpenRTM_aist

openrtm @ openrtm.org openrtm @ openrtm.org
2018年 9月 28日 (金) 16:15:31 JST


Author: miyamoto
Date: 2018-09-28 16:15:31 +0900 (Fri, 28 Sep 2018)
New Revision: 1028

Modified:
   trunk/OpenRTM-aist-Python/OpenRTM_aist/PeriodicECSharedComposite.py
Log:
[compat, bugfix]fixed bug.

Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/PeriodicECSharedComposite.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/PeriodicECSharedComposite.py	2018-09-28 05:45:02 UTC (rev 1027)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/PeriodicECSharedComposite.py	2018-09-28 07:15:31 UTC (rev 1028)
@@ -363,11 +363,6 @@
   #
   # void addParticipantToEC(Member& member)
   def addParticipantToEC(self, member):
-    self.addRTCToEC(member._rtobj)
-    
-    return
-  
-  def addRTCToEC(self, rtobj):
     if CORBA.is_nil(self._ec) or self._ec is None:
       ecs = self._rtobj.get_owned_contexts()
       if len(ecs) > 0:
@@ -374,6 +369,13 @@
         self._ec = ecs[0]
       else:
         return
+      
+    self.addRTCToEC(member._rtobj)
+    
+    return
+  
+  def addRTCToEC(self, rtobj):
+    
     # set ec to target RTC
     
 



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