[openrtm-commit:02881] r1064 - 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日 (金) 16:32:59 JST
Author: t-katami
Date: 2017-10-20 16:32:59 +0900 (Fri, 20 Oct 2017)
New Revision: 1064
Modified:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/executionContext/EventDrivenExecutionContext.java
Log:
[FSM4RTC] 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/EventDrivenExecutionContext.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/executionContext/EventDrivenExecutionContext.java 2017-10-20 07:30:12 UTC (rev 1063)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/executionContext/EventDrivenExecutionContext.java 2017-10-20 07:32:59 UTC (rev 1064)
@@ -576,6 +576,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