[openrtm-commit:02054] r722 - trunk/OpenRTM-aist-Python/OpenRTM_aist
openrtm @ openrtm.org
openrtm @ openrtm.org
2016年 10月 13日 (木) 15:22:18 JST
Author: miyamoto
Date: 2016-10-13 15:22:18 +0900 (Thu, 13 Oct 2016)
New Revision: 722
Modified:
trunk/OpenRTM-aist-Python/OpenRTM_aist/ExecutionContextProfile.py
Log:
[compat,bugfix] refs #3651
Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/ExecutionContextProfile.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/ExecutionContextProfile.py 2016-10-13 06:17:11 UTC (rev 721)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/ExecutionContextProfile.py 2016-10-13 06:22:18 UTC (rev 722)
@@ -201,7 +201,7 @@
def setPeriod(self, sec=None, tv=None):
if sec:
self._rtcout.RTC_TRACE("setPeriod(%f [sec])", sec)
- if sec < 0.0:
+ if sec <= 0.0:
return RTC.BAD_PARAMETER
guard = OpenRTM_aist.ScopedLock(self._profileMutex)
More information about the openrtm-commit
mailing list