プロジェクト

全般

プロフィール

機能 #3775

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

win-ei約7年前に追加. 約7年前に更新.

ステータス:
新規
優先度:
通常
担当者:
対象バージョン:
-
開始日:
2017/01/04
期日:
進捗率:

50%

予定工数:

説明

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

関係しているリビジョン

リビジョン 905 (差分)
win-ei約7年前に追加

[FSM4RTC]Added FSM RTC samples. refs #3775

リビジョン 906 (差分)
win-ei約7年前に追加

[FSM4RTC]Added FSM RTC samples. refs #3775

リビジョン 908 (差分)
win-ei約7年前に追加

[FSM4RTC]Fixed FSM RTC samples. refs #3775

リビジョン 909 (差分)
win-ei約7年前に追加

[FSM4RTC]Fixed bugs. refs #3775

リビジョン 910 (差分)
win-ei約7年前に追加

[FSM4RTC]Fixed bugs. refs #3775

リビジョン 911 (差分)
win-ei約7年前に追加

[FSM4RTC]Fixed bugs. refs #3775

リビジョン 912 (差分)
win-ei約7年前に追加

[FSM4RTC]Fixed bugs. refs #3775

リビジョン 933 (差分)
win-ei約7年前に追加

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

リビジョン 936 (差分)
win-ei約7年前に追加

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

リビジョン 937 (差分)
win-ei約7年前に追加

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

リビジョン 938 (差分)
win-ei約7年前に追加

[FSM4RTC,bugfix] Fixed bugs. refs #3775

リビジョン 939 (差分)
win-ei約7年前に追加

[FSM4RTC,bugfix] Fixed bugs. refs #3775

リビジョン 942 (差分)
win-ei約7年前に追加

[FSM4RTC,bugfix] Fixed bugs. refs #3775

リビジョン 944 (差分)
win-ei約7年前に追加

[FSM4RTC] Fixed a configuration file. refs #3775

履歴

#1 win-ei約7年前に更新

作業メモ

静的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 win-ei約7年前に更新

  • 担当者win-ei にセット
  • 進捗率0 から 50 に変更

他の形式にエクスポート: Atom PDF