[openrtm-users 02874] OpenHRP - how to display output from controller?

1 つの投稿 / 0 new
Ando Noriaki
オフライン
Last seen: 1年 9ヶ月 前
登録日: 2011-09-04 17:20
[openrtm-users 02874] OpenHRP - how to display output from controller?

Hello.

> Hi all,
>
> I hope this is correct place to ask questions about OpenHRP robot simulator.
>
> Currently I am testing SamplePD controller. It includes "SamplePDComp" and
> "SamplePD.so"
>
>
> * The main() function is inside "SamplePDComp".
> I want to give data like argv, argc to the SamplePD.so module.
>
> How can I pass data into this RTM component?

How do you instantiate the SamplePD RTC?
An RTC can be instantiated as a standalone component (SamplePDComp) or
loadable module (SamplePD.so). So, parameters which are used in an RTC are
given though configuration file (not given from command line options
(argv, argc)).

Please see a example component here.
http://svn.openrtm.org/OpenRTM-aist/trunk/OpenRTM-aist/examples/ConfigSample/

> * I try to put printf() statement in SamplePD.so so I can see problems with
> controller.
>
> How can I load the controller so data is printed to the terminal or inside
> OpenHRP?

You can use logger of OpenRTM.
http://www.openrtm.org/OpenRTM-aist/documents/1.0/cxx/classreference_en/classRTC_1_1Logger.html

Best regards,
Noriaki Ando
_______________________________________________
openrtm-users mailing list
openrtm-users@openrtm.org
http://www.openrtm.org/mailman/listinfo/openrtm-users

未定義

ダウンロード

最新バージョン : 2.0.1-RELESE

統計

Webサイト統計
ユーザ数:2195
プロジェクト統計
RTコンポーネント307
RTミドルウエア35
ツール22
文書・仕様書2

Choreonoid

モーションエディタ/シミュレータ

OpenHRP3

動力学シミュレータ

OpenRTP

統合開発プラットフォーム

産総研RTC集

産総研が提供するRTC集

TORK

東京オープンソースロボティクス協会

DAQ-Middleware

ネットワーク分散環境でデータ収集用ソフトウェアを容易に構築するためのソフトウェア・フレームワーク