Problem with Robot Operation System(ROS)

10 個の投稿 / 0 new
最終投稿
Amigoshan
オフライン
Last seen: 9年 6ヶ月 前
登録日: 2011-12-01 14:18
Problem with Robot Operation System(ROS)

Dear all: I'm trying to build a robotic system with RTC. Since some of the components are developed in ROS framework, I would like to combine them into RTC. It exited me when I saw there are common effort in the openRTM webpage: http://www.openrtm.org/openrtm/en/content/ros-transport-rosport. However, this webpage is really sketchy on how to doing this. Here are some problems I confronted with:

1. I use Ubuntu-12.04. This is not supported by OpenRTM-1.0.0. (But I tried this first because it is a "patch" prvided on the website based on OpenRTM-1.0.0 ) I successed building and installing OpenRTM-1.0.0 on Ubuntu-12.04, but there is a fatal error when I running the examples. The components failes when its InPort is being connected. So I tried OpenRTM-1.1.0, and made a few changes on the "patch" file. I'm not sure does it still work with transporting ROS.

2. There are four examples (server, client, subscriber, publisher), there are compiling error said: undefined class ros::Message. I looked up it in my ROS, and found that Message is a deprecated class. I use the ROS version: Fuerte. So I wonder what ROS version are these examples based on? And how can I improve it so that it can work with my ROS version?

Thank you!

Best wishes!

Wenshan

英語
gbiggs
オフライン
Last seen: 6年 9ヶ月 前
登録日: 2010-08-02 07:51
[openrtm-users 02764] Problem with Robot Operation System(ROS)

The ROS transport plugin/patch is currently not well-maintained, and probably is not usable without a bit of work.

An alternative method for using OpenRTM and ROS together has been developed at The University of Tokyo. You can find more information here:

http://code.google.com/p/rtm-ros-robotics/wiki/ROS_English

Geoff

On Mar 8, 2013, at 11:33 PM, shanshan1370@sina.com wrote:

> Dear all: I'm trying to build a robotic system with RTC. Since some of the
> components are developed in ROS framework, I would like to combine them into
> RTC. It exited me when I saw there are common effort in the openRTM webpage:
> http://www.openrtm.org/openrtm/en/content/ros-transport-rosport. However,
> this webpage is really sketchy on how to doing this. Here are some problems I
> confronted with: 1. I use Ubuntu-12.04. This is not supported by
> OpenRTM-1.0.0. (But I tried this first because it is a "patch" prvided on the
> website based on OpenRTM-1.0.0 ) I successed building and installing
> OpenRTM-1.0.0 on Ubuntu-12.04, but there is a fatal error when I running the
> examples. The components failes when its InPort is being connected. So I
> tried OpenRTM-1.1.0, and made a few changes on the "patch" file. I'm not sure
> does it still work with transporting ROS. 2. There are four examples (server,
> client, subscriber, publisher), there are compiling error said: undefined
> class ros::Message. I looked up it in my ROS, and found that Message is a
> deprecated class. I use the ROS version: Fuerte. So I wonder what ROS version
> are these examples based on? And how can I improve it so that it can work
> with my ROS version? Thank you! Best wishes! Wenshan
>
> _______________________________________________
> openrtm-users mailing list
> openrtm-users@openrtm.org
> http://www.openrtm.org/mailman/listinfo/openrtm-users

_______________________________________________
openrtm-users mailing list
openrtm-users@openrtm.org
http://www.openrtm.org/mailman/listinfo/openrtm-users

Amigoshan
オフライン
Last seen: 9年 6ヶ月 前
登録日: 2011-12-01 14:18
re:gbiggs

Thank you very much Geoffrey! I followed the work of Tokyo University, and that's really helpful. One solution to combine ROS and RTM is to write an Adapter with Python. But there's one more problem that in the latest Ubuntu, python-2.6 is no longer supported. And making ROS work with python 2.6 on Ubuntu-12.04 is a very tough work. And I encountered the same problem when I tried to link Aldebaran Nao by RTC (Nao also supposed to use python-2.7). I wonder do you have any plan on supporting python-2.7 for OpenRTM? I'm extreamly looking forword to it!

sincerely! Wenshan 2013.3.28

Kei Okada
オフライン
Last seen: なし 前
登録日: 2011-05-17 20:20
[openrtm-users 02773] gbiggs

Hi,

Pytohn 2.7 is supported with rtm-ros-robotics source code of trunk
instead of latest.

please try following command:

wget https://jsk-ros-pkg.svn.sourceforge.net/svnroot/jsk-ros-pkg/trunk/jsk.rosbuild
-O /tmp/jsk.rosbuild
yes | bash /tmp/jsk.rosbuild
cd ~/ros/fuerte
source setup.bash
rosws merge http://rtm-ros-robotics.googlecode.com/svn/trunk/agentsystem_ros_tutorials/rtm-ros-robotics.rosinstall

On Thu, Mar 28, 2013 at 11:29 AM, wrote:
> Thank you very much Geoffrey! I followed the work of Tokyo University, and
> that's really helpful. One solution to combine ROS and RTM is to write an
> Adapter with Python. But there's one more problem that in the latest Ubuntu,
> python-2.6 is no longer supported. And making ROS work with python 2.6 on
> Ubuntu-12.04 is a very tough work. And I encountered the same problem when I
> tried to link Aldebaran Nao by RTC (Nao also supposed to use python-2.7). I
> wonder do you have any plan on supporting python-2.7 for OpenRTM? I'm
> extreamly looking forword to it! sincerely! Wenshan 2013.3.28
>
> _______________________________________________
> openrtm-users mailing list
> openrtm-users@openrtm.org
> http://www.openrtm.org/mailman/listinfo/openrtm-users
_______________________________________________
openrtm-users mailing list
openrtm-users@openrtm.org
http://www.openrtm.org/mailman/listinfo/openrtm-users

gbiggs
オフライン
Last seen: 6年 9ヶ月 前
登録日: 2010-08-02 07:51
[openrtm-users 02774] gbiggs

Hi Wenshan,

We would like to put out official packages of OpenRTM-python for 2.7 and
for Python 3. However, we use OmniOR-py as a dependency, and they still
do not have packages for anything newer than Python 2.6. We can build
our own OmniORB package for Python 2.7, but Python 3 support requires a
lot more work, and this is holding us up.

Geoff

On 28/03/13 11:29, shanshan1370@sina.com wrote:
> Thank you very much Geoffrey! I followed the work of Tokyo University, and
> that's really helpful. One solution to combine ROS and RTM is to write an
> Adapter with Python. But there's one more problem that in the latest
> Ubuntu,
> python-2.6 is no longer supported. And making ROS work with python 2.6 on
> Ubuntu-12.04 is a very tough work. And I encountered the same problem
> when I
> tried to link Aldebaran Nao by RTC (Nao also supposed to use python-2.7). I
> wonder do you have any plan on supporting python-2.7 for OpenRTM? I'm
> extreamly looking forword to it! sincerely! Wenshan 2013.3.28
>
> _______________________________________________
> openrtm-users mailing list
> openrtm-users@openrtm.org
> http://www.openrtm.org/mailman/listinfo/openrtm-users
_______________________________________________
openrtm-users mailing list
openrtm-users@openrtm.org
http://www.openrtm.org/mailman/listinfo/openrtm-users

Amigoshan
オフライン
Last seen: 9年 6ヶ月 前
登録日: 2011-12-01 14:18
re: gbiggs

Hi Geoff!

What did you mean by "we can build our own OmniORB package for Python 2.7" ? Does this means we can have OpenRTM-python installed on the system with python-2.7? Please give more details!

Thank you!

Wenshan

2013.3.29

Amigoshan
オフライン
Last seen: 9年 6ヶ月 前
登録日: 2011-12-01 14:18
[openrtm-users 02777] gbiggs

Hi Geoff! What did you mean by "we can build our own OmniORB package for
Python 2.7" ? Does this means we can have OpenRTM-python installed on the
system with python-2.7? Please give more details! Thank you! Wenshan
2013.3.29

_______________________________________________
openrtm-users mailing list
openrtm-users@openrtm.org
http://www.openrtm.org/mailman/listinfo/openrtm-users

Amigoshan
オフライン
Last seen: 9年 6ヶ月 前
登録日: 2011-12-01 14:18
[openrtm-users 02771] gbiggs

Thank you very much Geoffrey! I followed the work of Tokyo University, and
that's really helpful. One solution to combine ROS and RTM is to write an
Adapter with Python. But there's one more problem that in the latest Ubuntu,
python-2.6 is no longer supported. And making ROS work with python 2.6 on
Ubuntu-12.04 is a very tough work. And I encountered the same problem when I
tried to link Aldebaran Nao by RTC (Nao also supposed to use python-2.7). I
wonder do you have any plan on supporting python-2.7 for OpenRTM? I'm
extreamly looking forword to it! sincerely! Wenshan 2013.3.28

_______________________________________________
openrtm-users mailing list
openrtm-users@openrtm.org
http://www.openrtm.org/mailman/listinfo/openrtm-users

Amigoshan
オフライン
Last seen: 9年 6ヶ月 前
登録日: 2011-12-01 14:18
Successfully combine ROS and RTC at last...

After two weeks effort, I successfully run the ros-rtc examples on my computer.

Based on the solution given here: http://www.openrtm.org/openrtm/en/content/ros-transport-rosport, I made some changes to adapt it to the ROS-fuerte and OpenRTM-1.1.0(the given example is built on OpenRTM-1.0.0 and ROS-diamondback).

The patch file is available here: http://wl.ibox.sjtu.edu.cn/w/24OU9m3BC69Qp4x1/OpenRTM-1.1.0-fuerte.patch (The greatest effect that change from diamondback to fuerte is that fuerte deprecates the class Message, so the added file "ROSInPort.h" is modified.)

However, due to my limited programming ability, I can not figure out how to change files under "utils/rtm-config/" for installing rtm-config in the system. Instead, I've changed the /usr/local/bin/rtm-config script manually. The modified file is available here: http://wl.ibox.sjtu.edu.cn/w/5ePn0I1Zj4ti0Guz/rtm-config

And to test the above modification, the example projects are: http://wl.ibox.sjtu.edu.cn/w/pxY75mZ94FOnhUa2/examples.ros-fuerte-rtm-1.1.0.zip

The examples are successfully compiled under Ubuntu-12.04-32-bit.

Wish my work will be somehow helpful to you! And thanks agian for the kindness of Geoffrey!

Wenshan 2013.4.1

Amigoshan
オフライン
Last seen: 9年 6ヶ月 前
登録日: 2011-12-01 14:18
[openrtm-users 02780] Successfully combine ROS and RTC at last..

After two weeks effort, I successfully run the ros-rtc examples on my
computer. Based on the solution given here:

http://www.openrtm.org/openrtm/en/content/ros-transport-rosport, I made some
changes to adapt it to the ROS-fuerte and OpenRTM-1.1.0(the given example is
built on OpenRTM-1.0.0 and ROS-diamondback). The patch file is available
here:

http://wl.ibox.sjtu.edu.cn/w/4u6995J0xm6RC7Z8/OpenRTM-1.1.0-fuerte.patch (The
greatest effect that change from diamondback to fuerte is that fuerte
deprecates the class Message, so the added file "ROSInPort.h" is modified.)
However, due to my limited programming ability, I can not figure out how to
change files under "utils/rtm-config/" for installing rtm-config in the
system. Instead, I've changed the /usr/local/bin/rtm-config script manually.
The modified file is available here:
http://wl.ibox.sjtu.edu.cn/w/5ePn0I1Zj4ti0Guz/rtm-config And to test the
above modification, the example projects are:
http://wl.ibox.sjtu.edu.cn/w/pxY75mZ94FOnhUa2/examples.ros-fuerte-rtm-1.1.0.zip
The examples are successfully compiled under Ubuntu-12.04-32-bit. Wish my
work will be somehow helpful to you! And thanks agian for the kindness of
Geoffrey! Wenshan 2013.4.1

_______________________________________________
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

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