プロジェクト

全般

プロフィール

機能 #3391

⑦ トピックベースのポート接続機能

n-ando8年以上前に追加. 6年以上前に更新.

ステータス:
担当
優先度:
通常
担当者:
対象バージョン:
開始日:
2015/12/11
期日:
進捗率:

100%

予定工数:

説明

DDSのようなトピックベースのポート接続機能を実装すること。ただし、この機能はデータポート、サービスポートにも利用できるように実装すること。

関係しているリビジョン

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

Two new functions list() and listByKind() have been added. These functions returns all or specified kind binding list according to specified absolute string path. refs #3391

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

Now PortProfile.properties of CorbaPort includes given port porperties from component configuration files. refs #3391

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

Now PortProfile.properties of CorbaPort includes given port porperties from component configuration files. refs #3391

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

Now NamingManager can register a reference of Port (PortBase) to naming service. refs #3391

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

Added bindPortObject. refs #3391

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

Added publishPorts() and subscribePorts(). Not implemented yet.. refs #3391

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

Topic-based connection has been implemente. refs #3391

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

NamingManager can register a reference of Port to naming service. refs #3391

リビジョン 834 (差分)
win-ei7年以上前に追加

Fixed bugs. refs #3391

リビジョン 835 (差分)
win-ei7年以上前に追加

Fixed bugs. refs #3391

リビジョン 836 (差分)
win-ei7年以上前に追加

Fixed bugs. refs #3391

リビジョン 837 (差分)
win-ei7年以上前に追加

Fixed bugs. refs #3391

リビジョン 838 (差分)
win-ei7年以上前に追加

Added components for tests of \"port connect function of a topic base\". refs #3391

リビジョン 839 (差分)
win-ei7年以上前に追加

Added components for tests of \"port connect function of a topic base\". refs #3391

リビジョン 1032 (差分)
t-katami が6年以上前に追加

[compat,bugfix,->releng_1_2] Fixed components for test. refs #3391

履歴

#1 win-ei7年以上前に更新

動作確認

動作確認用のコンポーネント(TopicTest)を作成して動作確認

  • 動作確認用のコンポーネントの概要
    コンポーネントはSimleIOのConsoleInとConsoleOutを改造。
    コンポーネントにはデータポートとサービスポートを実装。
    InPort、OutPort、CorbaPortを継承して、それぞれのコンストラクタでappendProperty()で"publish_topic"を追加。
    コンポーネント名はConsoleInとConsoleOut。
    コンポーネントを実行するスクリプト名はTopicConssoleIn.shとTopicConssoleOut.sh。
  • 動作確認用のコンポーネント を起動後 rtcat -l でポートが接続されることを確認
    $ rtcat localhost/ConsoleIn0.rtc -l
    ConsoleIn0.rtc  Inactive
      Category       example
      Description    Console input component
      Instance name  ConsoleIn0
      Type name      ConsoleIn
      Vendor         Noriaki Ando, AIST
      Version        1.0
      Parent
      Type           Monolithic
     +Extra properties
    -Execution Context 0
      State  Running
      Kind   Periodic
      Rate   1000.0
     +Extra properties
    -DataOutPort: topic_out
      dataport.data_type          IDL:RTC/TimedLong:1.0
      dataport.data_value         rtctree.rtc.RTC.TimedLong(tm=rtctree.rtc.RTC.Time(sec=0L, nsec=0L), data=0)
      dataport.dataflow_type      push,pull
      dataport.interface_type     direct,shared_memory,corba_cdr
      dataport.subscription_type  new, flush, periodic
      port.port_type              DataOutPort
      publish_topic               test
     +Connected to  /localhost/ConsoleOut0.rtc:topic_in
    -CorbaPort: topic_service
      port.port_type  CorbaPort
      publish_topic   test
      Interface: 
        Instance name  topic_service
        Type name      TestService
        Polarity       Provided
     +Connected to  /localhost/ConsoleOut0.rtc:topic_service
    

    $ rtcat localhost/ConsoleOut0.rtc -l
    ConsoleOut0.rtc  Inactive
      Category       example
      Description    Console output component
      Instance name  ConsoleOut0
      Type name      ConsoleOut
      Vendor         Noriaki Ando, AIST
      Version        1.0
      Parent
      Type           Monolithic
     +Extra properties
    -Execution Context 0
      State  Running
      Kind   Periodic
      Rate   1000.0
     +Extra properties
    -DataInPort: topic_in
      dataport.data_type          IDL:RTC/TimedLong:1.0
      dataport.dataflow_type      push,pull
      dataport.interface_type     direct,shared_memory,corba_cdr
      dataport.subscription_type  Any
      port.port_type              DataInPort
      publish_topic               test
     +Connected to  /localhost/ConsoleIn0.rtc:topic_out
    -CorbaPort: topic_service
      port.port_type  CorbaPort
      publish_topic   test
      Interface:
        Instance name  service
        Type name      Service
        Polarity       Required
     +Connected to  /localhost/ConsoleIn0.rtc:topic_service                                                                                                             
    
    

#2 katami が6年以上前に更新

  • ステータス新規 から 担当 に変更
  • 担当者win-ei にセット
  • 対象バージョンRELEASE_1_2_0 にセット
  • 進捗率0 から 100 に変更

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