Project

General

Profile

Actions

整備 #4444

open

rtc.confのデフォルトファイルパス

Added by katami about 7 years ago. Updated about 7 years ago.

Status:
担当
Priority:
通常
Assignee:
katami
Start date:
01/29/2018
Due date:
% Done:

100%

Estimated time:

Description

rtc.confのデフォルトファイルパスが以下のようになっているため、WindowsとLinuxで場合分けする。


Related issues 1 (0 open1 closed)

Related to OpenRTM-aist (Python) - 整備 #4424: rtc.confのデフォルトファイルパス終了n-miyamoto01/19/2018

Actions
Actions #1

Updated by katami about 7 years ago

  • Related to 整備 #4424: rtc.confのデフォルトファイルパス added
Actions #2

Updated by katami about 7 years ago

Configuration file の検索

Configuration file の検索処理である ManagerConfig.findConfigFile()の検索順は以下のとおり。

  1. コマンドラインオプション -f
  2. 環境変数 RTC_MANAGER_CONFIG
  3. デフォルト設定ファイル ./rtc.conf
  4. デフォルト設定ファイル /etc/rtc.conf
  5. デフォルト設定ファイル /etc/rtc/rtc.conf
  6. デフォルト設定ファイル /usr/local/etc/rtc.conf
  7. デフォルト設定ファイル /usr/local/etc/rtc/rtc.conf

Windowsの場合は、以下のようにする。

  1. コマンドラインオプション -f
  2. 環境変数 RTC_MANAGER_CONFIG
  3. デフォルト設定ファイル ./rtc.conf
  4. デフォルト設定ファイル ${RTM_ROOT}/bin/${RTM_VC_VERSION}/rtc.conf
Actions #3

Updated by katami about 7 years ago

  • Status changed from 新規 to 担当
  • Assignee set to katami
  • Target version set to RELEASE_1_2_0
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF