[openrtm-commit:02879] r1062 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/executionContext
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 10月 20日 (金) 15:14:45 JST
Author: t-katami
Date: 2017-10-20 15:14:45 +0900 (Fri, 20 Oct 2017)
New Revision: 1062
Modified:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/executionContext/ExtTrigExecutionContext.java
Log:
[compat,bugfix->releng_1_2] Fixed the processing of onRateChanged callback. refs #4261
Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/executionContext/ExtTrigExecutionContext.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/executionContext/ExtTrigExecutionContext.java 2017-10-20 05:48:39 UTC (rev 1061)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/executionContext/ExtTrigExecutionContext.java 2017-10-20 06:14:45 UTC (rev 1062)
@@ -515,6 +515,15 @@
rtcout.println(Logbuf.ERROR, "Setting execution rate failed. " + rate);
return ret;
}
+
+ ret = m_worker.rateChanged();
+ if (ret != ReturnCode_t.RTC_OK)
+ {
+ rtcout.println(Logbuf.ERROR,
+ "Invoking on_rate_changed() for each RTC failed.");
+ return ret;
+ }
+
ret = onSetRate(rate);
if (ret != ReturnCode_t.RTC_OK)
{
More information about the openrtm-commit
mailing list