[openrtm-commit:00406] r474 - branches/RELENG_1_1/OpenRTM-aist-Python/OpenRTM_aist
openrtm @ openrtm.org
openrtm @ openrtm.org
2011年 9月 15日 (木) 18:20:06 JST
Author: kurihara
Date: 2011-09-15 18:20:05 +0900 (Thu, 15 Sep 2011)
New Revision: 474
Modified:
branches/RELENG_1_1/OpenRTM-aist-Python/OpenRTM_aist/OutPort.py
Log:
The bug of setTimestamp has been fixed.
Modified: branches/RELENG_1_1/OpenRTM-aist-Python/OpenRTM_aist/OutPort.py
===================================================================
--- branches/RELENG_1_1/OpenRTM-aist-Python/OpenRTM_aist/OutPort.py 2011-09-08 06:32:20 UTC (rev 473)
+++ branches/RELENG_1_1/OpenRTM-aist-Python/OpenRTM_aist/OutPort.py 2011-09-15 09:20:05 UTC (rev 474)
@@ -27,7 +27,7 @@
# void setTimestamp(DataType& data)
def setTimestamp(data):
# set timestamp
- tm = Time()
+ tm = OpenRTM_aist.Time()
data.tm.sec = tm.sec
data.tm.nsec = tm.usec * 1000
openrtm-commit メーリングリストの案内