intdash Edge Agent 2 v1.3.x

送信 (joystick_upstream.yml)#

device-connector-intdashとともにインストールされる /etc/dc_conf/joystick_upstream.yml は、ジョイスティックの状態をintdash Edge Agent 2に送信するためのパイプライン設定ファイルです。

tasks:
  - id: 1
    element: joystick-src
    conf:
      path: $(DC_JOYSTICK_SRC_CONF_PATH)
      timeout_ms: $(DC_JOYSTICK_SRC_CONF_TIMEOUT_MS)
      retry: true
      retry_interval_ms: 100
      format:
        kind: iscp_v2_compat
        datapoint_name: $(DC_JOYSTICK_SRC_CONF_DATAPOINT_NAME)
        topic_name: $(DC_JOYSTICK_SRC_CONF_TOPIC_NAME)
        frame_id: $(DC_JOYSTICK_SRC_CONF_FRAME_ID)

  - id: 2
    element: print-log-filter
    from: [[ 1 ]]
    conf:
      interval_ms: 10000
      tag: $(DC_PRINT_LOG_FILTER_CONF_TAG)
      output: stderr

  - id: 3
    element: file-sink
    from: [ [2] ]
    conf:
      path: $(DC_FILE_SINK_CONF_PATH)

各エレメントの説明: