[openrtm-commit:02115] r741 - trunk/OpenRTM-aist-Python/OpenRTM_aist

openrtm @ openrtm.org openrtm @ openrtm.org
2016年 11月 17日 (木) 13:24:40 JST


Author: miyamoto
Date: 2016-11-17 13:24:40 +0900 (Thu, 17 Nov 2016)
New Revision: 741

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

Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/OutPortSHMProvider.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/OutPortSHMProvider.py	2016-11-17 03:28:22 UTC (rev 740)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/OutPortSHMProvider.py	2016-11-17 04:24:40 UTC (rev 741)
@@ -193,7 +193,8 @@
 
     self.setEndian(self._endian)
     self.create_memory(self._memory_size, self._shm_address)
-    self.write(cdr[0])
+    if cdr[0]:
+      self.write(cdr[0])
     
     return self.convertReturn(ret, cdr[0])
 



More information about the openrtm-commit mailing list