Project

General

Profile

機能 #3775

(ク)FSM RTCのサンプルの実装

Added by win-ei almost 6 years ago. Updated over 5 years ago.

Status:
新規
Priority:
通常
Assignee:
Target version:
-
Start date:
01/04/2017
Due date:
% Done:

50%

Estimated time:

Description

FSM4RTCのサービスインターフェースおよびFSMフレームワークを利用したサンプルコンポーネントを静的FSM、動的FSMそれぞれについて作成すること。サンプルは、既存のサンプルと同じディレクトリに配置し、OpenRTM-aistコンパイル時に、同時にビルドするよう設定すること。

Associated revisions

Revision 905 (diff)
Added by win-ei over 5 years ago

[FSM4RTC]Added FSM RTC samples. refs #3775

Revision 906 (diff)
Added by win-ei over 5 years ago

[FSM4RTC]Added FSM RTC samples. refs #3775

Revision 908 (diff)
Added by win-ei over 5 years ago

[FSM4RTC]Fixed FSM RTC samples. refs #3775

Revision 909 (diff)
Added by win-ei over 5 years ago

[FSM4RTC]Fixed bugs. refs #3775

Revision 910 (diff)
Added by win-ei over 5 years ago

[FSM4RTC]Fixed bugs. refs #3775

Revision 911 (diff)
Added by win-ei over 5 years ago

[FSM4RTC]Fixed bugs. refs #3775

Revision 912 (diff)
Added by win-ei over 5 years ago

[FSM4RTC]Fixed bugs. refs #3775

Revision 933 (diff)
Added by win-ei over 5 years ago

[FSM4RTC,example] StaticFsm -> Fsm refs #3775

Revision 936 (diff)
Added by win-ei over 5 years ago

[FSM4RTC,example] StaticFsm sample which is for new Static FSM framework has been added. refs #3775

Revision 937 (diff)
Added by win-ei over 5 years ago

[FSM4RTC,example] StaticFsm sample which is for new Static FSM framework has been added. refs #3775

Revision 938 (diff)
Added by win-ei over 5 years ago

[FSM4RTC,bugfix] Fixed bugs. refs #3775

Revision 939 (diff)
Added by win-ei over 5 years ago

[FSM4RTC,bugfix] Fixed bugs. refs #3775

Revision 942 (diff)
Added by win-ei over 5 years ago

[FSM4RTC,bugfix] Fixed bugs. refs #3775

Revision 944 (diff)
Added by win-ei over 5 years ago

[FSM4RTC] Fixed a configuration file. refs #3775

History

#1 Updated by win-ei over 5 years ago

作業メモ

静的FSMのサンプルとして、C++のFSMCompと同等のサンプルを作成。
  • RTMExamples/Fsm に作成。
  • イベントの分だけ入力ポートを実装。
  • ConnectorDataListenerのON_RECEIVEDでイベントをキューに追加。
  • onExecuteでキューをチェックしてイベントがあれば、FSMへ発行しる。
  • FSMはjfsmを流用。
  • cameraの状態遷移を実装。
静的FSMのサンプルとして、電子レンジ(Microwave)のサンプルを作成。
  • RTMExamples/StaticFsm に作成。
  • Microwave の状態遷移を実装。
  • EventInPort を使用。
  • EventInPort の data_type は any のため rtcon で接続する場合は以下のように(DataOutPort→EventInPort)する。
    rtcon localhost/.host_cxt/Inputbutton0.rtc:open localhost/.host_cxt/Microwave0.rtc:event --property dataport.subscription_type=new
    

#2 Updated by win-ei over 5 years ago

  • Assignee set to win-ei
  • % Done changed from 0 to 50

Also available in: Atom PDF