[openrtm-users 01452] An visualization tool for commandliners

Yosuke Matsusaka yosuke.matsusaka @ aist.go.jp
2010年 11月 5日 (金) 15:34:29 JST


Hi,

I just want to share my small utility script with the community.

https://github.com/yosuke/rtshell/blob/master/rtstodot

This utility script outputs the graphviz dot file from the RTSProfile XML file.

Example usage:
  -Visualize current configuration to the screen
   % rtcryo; rtstodot rtsystem.xml | dot -T xlib
  -Output the figure in eps format
   % rtstodot rtsystem.xml | dot -T eps > rtsystem.eps

May be useful for the users who prefers  commandline configuration of
the RT-System using rtshell, but sometimes needs quick visualization.

Thanks to Geoffrey-san for developing rtshell and rtsprofile library.

Best,

RTSProfile形式のXMLデータからgraphvizのdot形式のデータを生成するユーティリティスクリプトを作りました。

https://github.com/yosuke/rtshell/blob/master/rtstodot

以下のようにして使うことができます。
  -rtshellと組み合わせて現在の構成を画面に出力する
   % rtcryo; rtstodot rtsystem.xml | dot -T xlib
  -eps形式でグラフを出力する
   % rtstodot rtsystem.xml | dot -T eps > rtsystem.eps

rtshellを使った環境でコマンドラインベースで開発しているけれども、たまに全体構成をグラフィックで確認したい場合に便利です。

-- 
Yosuke Matsusaka, Ph.D  <yosuke.matsusaka @ aist.go.jp>
  Interaction Modeling Group /
  National Institute of Advanced Industrial Science and Technology (AIST)
  Tel: 029-862-6726  Web: http://staff.aist.go.jp/yosuke.matsusaka/



openrtm-users メーリングリストの案内