[openrtm-commit:02281] r786 - trunk/OpenRTM-aist-Python/OpenRTM_aist

openrtm @ openrtm.org openrtm @ openrtm.org
2017年 1月 20日 (金) 14:53:18 JST


Author: miyamoto
Date: 2017-01-20 14:53:18 +0900 (Fri, 20 Jan 2017)
New Revision: 786

Modified:
   trunk/OpenRTM-aist-Python/OpenRTM_aist/PublisherNew.py
   trunk/OpenRTM-aist-Python/OpenRTM_aist/SdoOrganization.py
Log:
[compat,bugfix,->RELENG_1_2] fixed bug.

Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/PublisherNew.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/PublisherNew.py	2017-01-20 04:54:00 UTC (rev 785)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/PublisherNew.py	2017-01-20 05:53:18 UTC (rev 786)
@@ -100,7 +100,7 @@
       self._task.finalize()
 
       OpenRTM_aist.PeriodicTaskFactory.instance().deleteObject(self._task)
-      del self._task
+      #del self._task
       self._rtcout.RTC_PARANOID("task deleted.")
 
     # "consumer" should be deleted in the Connector
@@ -473,7 +473,7 @@
       return self.BUFFER_FULL
 
     # why?
-    assert(self._buffer != 0)
+    #assert(self._buffer != 0)
 
     self.onBufferWrite(data)
     ret = self._buffer.write(data, sec, usec)

Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/SdoOrganization.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/SdoOrganization.py	2017-01-20 04:54:00 UTC (rev 785)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/SdoOrganization.py	2017-01-20 05:53:18 UTC (rev 786)
@@ -679,12 +679,12 @@
       raise SDOPackage.InvalidParameter("remove_member(): Not found.")
 
     
-    try:
-      OpenRTM_aist.CORBA_SeqUtil.erase(self._memberList, index)
-      return True
-    except:
-      self.__rtcout.RTC_ERROR("unknown exception")
-      raise SDOPackage.InternalError("remove_member(): Not found.")
+    #try:
+    OpenRTM_aist.CORBA_SeqUtil.erase(self._memberList, index)
+    return True
+    #except:
+    #  self.__rtcout.RTC_ERROR("unknown exception")
+    #  raise SDOPackage.InternalError("remove_member(): Not found.")
     
 
 



More information about the openrtm-commit mailing list