[openrtm-commit:02278] r910 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/StaticFsm
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 1月 20日 (金) 01:06:25 JST
Author: win-ei
Date: 2017-01-20 01:06:25 +0900 (Fri, 20 Jan 2017)
New Revision: 910
Modified:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/StaticFsm/Off.java
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/StaticFsm/StaticFsmImpl.java
Log:
[FSM4RTC]Fixed bugs. refs #3775
Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/StaticFsm/Off.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/StaticFsm/Off.java 2017-01-19 15:49:05 UTC (rev 909)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/StaticFsm/Off.java 2017-01-19 16:06:25 UTC (rev 910)
@@ -28,6 +28,7 @@
@Override
public void EvOn(TimedLong param){
System.out.println("Off::EvOn");
+ setState(new State(NotShooting.class));
}
}
Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/StaticFsm/StaticFsmImpl.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/StaticFsm/StaticFsmImpl.java 2017-01-19 15:49:05 UTC (rev 909)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/StaticFsm/StaticFsmImpl.java 2017-01-19 16:06:25 UTC (rev 910)
@@ -232,9 +232,9 @@
while (!m_que.isEmpty()) {
Event ev = m_que.poll();
machine_.dispatch(ev);
- //machine_.current().EvConfig(m_EvConfig_val);
}
}
+ machine_.current().on_do();
return super.onExecute(ec_id);
}
More information about the openrtm-commit
mailing list