Download
latest Releases : 2.0.0-RELESE
2.0.0-RELESE | Download page |
Number of Projects
RT-Component | 153.5 |
RT-Middleware | 35 |
Tools | 22 |
Documentation | 2 |
Choreonoid
Motion editor/Dynamics simulator
OpenHRP3
Dynamics simulator
OpenRTP
Integrated Development Platform
AIST RTC collection
RT-Components collection by AIST
TORK
Tokyo Opensource Robotics Association
DAQ-Middleware
Middleware for DAQ (Data Aquisition) by KEK
C++版
現在のところUbuntuのみの対応Fluent Bitのインストール
各種ライブラリのインストール
OpenRTM-aistのビルド
CMake実行時にFLUENTBIT_ENABLE、FLUENTBIT_ROOTのオプションを設定する。
他の手順は通常のビルド手順と同じである。
以下のコマンドでインストールしてください。
動作確認
rtc.confで以下のように設定する。tagの名前は適宜変更する。
RTCを実行するとログを送信する。
動作しない場合は/etc/ssl/certsから壊れたリンクを削除する。
Python版
Python版はWindows、Linuxへ対応fluent-logger-pythonのインストール
fluent-logger-pythonのインストールが必要です。
fluent-logger-python-0.9.3.zipを適当な場所に展開して以下のコマンドを実行してください。
Linuxの場合はsudoで実行してください。
Fluentdのインストール、起動
ほとんど以下のページと手順は同じです。
Fluentdをインストールしてください。
インストール後、Td-agent Command Promptを起動してください。
次にtd-agentをインストールしたフォルダ(C:\opt\td-agent)にconf\td-agent.confというファイルを作成します。
td-agent.confには以下の内容を記述します。
Td-agent Command Promptで以下のコマンドを入力してfluentdを実行します。
RTCの起動
rtc.confに以下のように記述してRTCを起動するとfluentdにログが送信されます。
manager.modules.load_pathはOpenRTM-aistをインストールしたPythonのパスによって適宜変更してください。 Ubuntuの場合は/usr/local/lib/python2.7/dist-packages/OpenRTM_aist/ext/logger/fluentbit_stream等になります。
fluentdでログは以下のように表示される。
メッセージの内容、名前、ログを送信した時間、ログレベルが送信される。