This chapter explains how to install a software package, download a mode and sample files used in the tutorials. The verion of OS used in the tutorials is Ubuntu 14.04LTS(64bit).
Note
Choreonoidを動かすPCは、高性能なGPUを搭載しているに越したことはありませんが、最近のIntelチップセット内蔵GPUでもそれなりに動作します。
Note
VMware, VirtualBox, Parallels 等の仮想マシンは、3Dグラフィックス周りの互換性が不十分なため、基本的には動作しますが一部機能が正常に動作しない場合があります。
Note
nVIDIAのドライバはオープンソース版ではなくプロプライエタリ版を使用することを推奨します。
Execute the following commands in gnome-terminal. Chorenoid and required packages are installed.
$ sudo add-apt-repository ppa:hrg/daily
$ sudo apt-get update
$ sudo apt-get install choreonoid libcnoid-dev openrtm-aist openrtm-aist-dev doxygen hrpsys-base libav-tools cmake
Note
GIOPメッセージサイズの変更
ポリゴン数の多いモデルやポイントクラウド等大きなデータを通信する場合、設定値よりも大きいと通信されないため、giopMaxMsgSize パラメータの値を大きな値に変更しておく必要があります。デフォルト値は2MBですが、例えば以下のように200MBに設定します。
$ sudo vi /etc/omniORB.cfg
giopMaxMsgSize = 209715200 # 200MB に設定
Download sample files used in the tutorials. Git command is used to download the files. Git command can be installed by the next command.
$ sudo apt-get install git
The sample files can be downloaded by the next command.
$ git clone https://github.com/jvrc/samples
"samples" directory created by the command above contains a git repository for sample files.
本チュートリアルではJVRC(www.jvrc.org)で使用されたヒューマノイドロボットJVRC-1のモデル、JVRC本競技時のタスクモデル(競技環境のモデル)を使用します。これらのモデルは以下のコマンドを実行することで取得できます。
$ git clone https://github.com/jvrc/model
サンプルファイルのいくつかがJVRC-1のモデルを相対パスで参照しているため、以下のようにシンボリックリンクを張っておきます。
$ cd samples/tutorials
$ ln -s ../../model/JVRC-1 .
以下のページを参考に OpenRTP (Open RT Platform) をインストールして下さい。
http://www.openrtm.org/openrtm/ja/node/5778