Debugging a C++ Controller within a running OpenHRP Simulation

2 個の投稿 / 0 new
最終投稿
rojas70
オフライン
Last seen: 12年 8ヶ月 前
登録日: 2011-09-05 16:28
Debugging a C++ Controller within a running OpenHRP Simulation

Greetings,

I am using OpenHRP 3.1.0 in Ubuntu Linux 10.04. I currently using Eclipse-Ganymede (as downloaded from the OpenHRP site) to run the GrxUI simulation interface. The OpenHRP code runs well in Eclipse for the different examples.

I am currently trying to develop my own controller using C++ and Eclipse CDT.

My goal is to load the code for the OpenHRP simulation into eclipse along with my C++ code. I want to launch the debugger for the GrxUI and from there step into the C++ code of my controller to see how my code affects the behavior of the robot in the simulation.

So far this is what I have been able to do:

1a) Import the GrxUI project files into Eclipse by using the import function and selecting the OpenHRP-3.1.0-Release/GrxUIonEclipse-project-0.9.8. 1b) Import my own C++ controller code. 2a) I can then select the GrxUI project and select the "Debug Configurations". 2b) I create a new Eclipse Application configuration. 2c) Under the main tab, in the 'Program to Run' section, I select the 'Run an application' option and select the first application >> 'com.generalrobotix.ui.grxui.applications'. 3) I place breakpoints both in the GrxUI project and in the C++ project. 4) I click on 'Debug'. 5) A new eclipse window opens. 6) I switch the perspective to the GrxUI perspective. 7) I load a simulation 8) I start the simulation

The result is that the code stops at breakpoints within the GrxUI code but not in the C++ code.

After this I tried also clicking on the C++ project and selecting Debug Configurations. I selected 'C/C++ Attach to Local Application'. I did a number of things here but bottom line I never got the code to stop in the C++ code.

I do not have a lot of experience with linux or OpenHRP but I do feel I am quite close.

Any advice is greatly appreciated. Thanks.

英語
heihei105
オフライン
Last seen: 12年 2ヶ月 前
登録日: 2012-02-07 12:04
[openrtm-users 02425] Coach Outlet Online

http://www.coachfactorystore-outlet.net
http://www.coachfactory-outlet-onlines.net
http://www.coachfactoryoutlet-onlinee.com
http://www.coachoutletstoreonline2012.net
http://www.coachoutletonlinestore.ca http://www.coachfactorystoresonline.net
http://www.lvbagss-online.net http://www.coachfactorysoutletsonlines.com
http://www.coachfactorys-onlines.net http://www.louisvuittonbags2012.net
http://www.coachbagsz.net http://www.burberryscarfs2012.com

_______________________________________________
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

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