[openrtm-commit:02009] r719 - trunk/OpenRTM-aist-Python/OpenRTM_aist
openrtm @ openrtm.org
openrtm @ openrtm.org
2016年 10月 5日 (水) 08:56:22 JST
Author: miyamoto
Date: 2016-10-05 08:56:22 +0900 (Wed, 05 Oct 2016)
New Revision: 719
Modified:
trunk/OpenRTM-aist-Python/OpenRTM_aist/ExecutionContextProfile.py
Log:
[compat,bugfix] Modified for ExecutionContextProfile.setRate.
Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/ExecutionContextProfile.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/ExecutionContextProfile.py 2016-09-28 05:15:56 UTC (rev 718)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/ExecutionContextProfile.py 2016-10-04 23:56:22 UTC (rev 719)
@@ -188,7 +188,7 @@
# RTC::ReturnCode_t setRate(double rate);
def setRate(self, rate):
self._rtcout.RTC_TRACE("setRate(%f)", rate)
- if rate < 0.0:
+ if rate <= 0.0:
return RTC.BAD_PARAMETER
guard = OpenRTM_aist.ScopedLock(self._profileMutex)
More information about the openrtm-commit
mailing list