FW: rtt_ros_integration_example problem

Hi, Peter.

> From: peter [..] ...
> To: leopold [dot] palomo [..] ...
> Subject: Re: [Orocos-users] rtt_ros_integration_example problem
> Date: Wed, 20 Apr 2011 14:33:29 +0200
> CC: orocos-users [..] ...; jsprnclrtrbrt [..] ...
>
> On Wednesday 20 April 2011 14:23:17 Leopold Palomo-Avellaneda wrote:
> > A Dimarts, 19 d'abril de 2011, Peter Soetens va escriure:
> > > On Tue, Apr 19, 2011 at 6:13 PM, Josep Arnau Claret Robert
> > > <jsprnclrtrbrt [..] ...> wrote:
> > > > Hi, Peter.
> > > >
> > > > There is the libxerces-c2-dev library installed. Should this one be
> > enough?
> > > >
> > > > The output with the ORO_LOGLEVEL=7 is:
> > >
> > > ...
> > >
> > > The log file looks fine, so it appears to be an xml parsing issue. You
> > > could try to install
> > > the libxerces-c-dev package (Depends on Xerces 3) and rebuild the RTT
> > > (only the marshalling plugin should be
> > > recompiled):
> > >
> > > sudo apt-get install libxerces-c-dev
> > > roscd rtt/build
> > > make install
> > >
> > > (do make clean in build dir if make install does not rebuild marshalling)
> > >
> > > And then try to redo the example. In 2.3, we have upgraded the support
> > > for Xerces 3, and the
> > > intention was to not break Xerces 2. It could be that we did not succeed...
> > Peter,
> >
> > I'm working with Josep. I have installed libxerces-c-dev and rebuilt rtt.
> >
> > Still the same error ... probably it's something obvious that we don't see.
> >
>
> I don't think it's obvious... could you enter the rtt/build directory, do
> cmake .. -DENABLE_TESTS=ON -DBUILD_TESTING=ON
> and then do 'make check' ?

$

The following tests FAILED:

7 - corba-ipc-test (Failed)

12 - corba-mqueue-ipc-test (Failed)

32 - marshalling_test (Failed)

33 - property_loader_test (Failed)

34 - property_marsh_test (Failed)

42 - plugins_test (Failed)

Errors while running CTest

But I attack u the whole results of the test.

> The example is self-contained and should work out of the box. Can you check that it's xerces version 3 you're using now ?
>

$ dpkg -l | grep xerces
ii libxerces-c-dev 3.1.1-1+b1 validating XML parser library for C++ (development files)
ii libxerces-c28 2.8.0+deb1-2+b1 validating XML parser library for C++
ii libxerces-c3.1 3.1.1-1+b1 validating XML parser library for C++
ii libxerces2-java 2.9.1-4.1 Validating XML parser for Java with DOM level 3 support
ii libxerces2-java-gcj 2.9.1-4.1 Validating XML parser for Java with DOM level 3 support (native code)

> Peter

AttachmentSize
LastTest.log.zip3.54 KB

FW: rtt_ros_integration_example problem

Hi Josep,

There was an error on the ros.org installation instructions for
orocos_toolchain_ros.

Please checkout :

git checkout -b diamondback origin/diamondback

Instead of using the 'unstable' branch.

And verify that the example works. You'll have to rosmake to rebuild all
necessary dependencies.

Peter

On Wednesday 20 April 2011 15:51:27 Josep Arnau Claret Robert wrote:
>
> Hi, Peter.
>
> > From: peter [..] ...
> > To: leopold [dot] palomo [..] ...
> > Subject: Re: [Orocos-users] rtt_ros_integration_example problem
> > Date: Wed, 20 Apr 2011 14:33:29 +0200
> > CC: orocos-users [..] ...; jsprnclrtrbrt [..] ...
> >
> > On Wednesday 20 April 2011 14:23:17 Leopold Palomo-Avellaneda wrote:
> > > A Dimarts, 19 d'abril de 2011, Peter Soetens va escriure:
> > > > On Tue, Apr 19, 2011 at 6:13 PM, Josep Arnau Claret Robert
> > > > <jsprnclrtrbrt [..] ...> wrote:
> > > > > Hi, Peter.
> > > > >
> > > > > There is the libxerces-c2-dev library installed. Should this one be
> > > enough?
> > > > >
> > > > > The output with the ORO_LOGLEVEL=7 is:
> > > >
> > > > ...
> > > >
> > > > The log file looks fine, so it appears to be an xml parsing issue. You
> > > > could try to install
> > > > the libxerces-c-dev package (Depends on Xerces 3) and rebuild the RTT
> > > > (only the marshalling plugin should be
> > > > recompiled):
> > > >
> > > > sudo apt-get install libxerces-c-dev
> > > > roscd rtt/build
> > > > make install
> > > >
> > > > (do make clean in build dir if make install does not rebuild
marshalling)
> > > >
> > > > And then try to redo the example. In 2.3, we have upgraded the support
> > > > for Xerces 3, and the
> > > > intention was to not break Xerces 2. It could be that we did not
succeed...
> > > Peter,
> > >
> > > I'm working with Josep. I have installed libxerces-c-dev and rebuilt
rtt.
> > >
> > > Still the same error ... probably it's something obvious that we don't
see.
> > >
> >
> > I don't think it's obvious... could you enter the rtt/build directory, do
> > cmake .. -DENABLE_TESTS=ON -DBUILD_TESTING=ON
> > and then do 'make check' ?
>
> $
>
> The following tests FAILED:
>
> 7 - corba-ipc-test (Failed)
>
> 12 - corba-mqueue-ipc-test (Failed)
>
> 32 - marshalling_test (Failed)
>
> 33 - property_loader_test (Failed)
>
> 34 - property_marsh_test (Failed)
>
> 42 - plugins_test (Failed)
>
> Errors while running CTest
>
>
> But I attack u the whole results of the test.
>
>
> > The example is self-contained and should work out of the box. Can you
check that it's xerces version 3 you're using now ?
> >
>
> $ dpkg -l | grep xerces
> ii libxerces-c-dev 3.1.1-1+b1
validating XML parser library for C++ (development files)
> ii libxerces-c28 2.8.0+deb1-2+b1
validating XML parser library for C++
> ii libxerces-c3.1 3.1.1-1+b1
validating XML parser library for C++
> ii libxerces2-java 2.9.1-4.1
Validating XML parser for Java with DOM level 3 support
> ii libxerces2-java-gcj 2.9.1-4.1
Validating XML parser for Java with DOM level 3 support (native code)
>
>
>
> > Peter
>

FW: rtt_ros_integration_example problem

On Wednesday 20 April 2011 16:31:29 Peter Soetens wrote:
> Hi Josep,
>
> There was an error on the ros.org installation instructions for
> orocos_toolchain_ros.
>
> Please checkout :
>
> git checkout -b diamondback origin/diamondback
>
> Instead of using the 'unstable' branch.

I'm no submodules expert, but you should probably also do

git submodule update --recursive

after changing the branch to diamondback

Peter

FW: rtt_ros_integration_example problem

2011/4/20 Peter Soetens <peter [..] ...>

> On Wednesday 20 April 2011 16:31:29 Peter Soetens wrote:
> > Hi Josep,
> >
> > There was an error on the ros.org installation instructions for
> > orocos_toolchain_ros.
> >
> > Please checkout :
> >
> > git checkout -b diamondback origin/diamondback
> >
> > Instead of using the 'unstable' branch.
>

It was an explicit demand of Ruben to use unstable some months ago (during
the Diamondback pre-release I think).

>
> I'm no submodules expert, but you should probably also do
>
> git submodule update --recursive
>
> after changing the branch to diamondback
>

yes, it is precised on the page.

>
> Peter
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

FW: rtt_ros_integration_example problem

Hi,

i decide to reinstall all ros diamond-back, following the instructions on the ros web page:
1) sudo easy_install -U rosinstall
2) rosinstall ~/ros "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=diamondback&variant=desktop-full&overlay=no"
3) source ~/ros/setup.bash

then i reinstalled the orocos toolchain ros:
1) sudo apt-get install ros-unstable-orocos-toolchain-ros

2) git clone http://git.mech.kuleuven.be/robotics/orocos_toolchain_ros.git
3) cd orocos_toolchain_ros

4) git checkout -b diamondback origin/diamondback

5) git submodule init

6) git submodule update --recursive
7) rosmake orocos_toolchain_ros

the libxerces libraries installed are:
ii libxerces-c-dev 3.1.1-1+b1 validating XML parser library for C++ (development files)
ii libxerces-c28 2.8.0+deb1-2+b1 validating XML parser library for C++
ii libxerces-c3.1 3.1.1-1+b1 validating XML parser library for C++
ii libxerces2-java 2.9.1-4.1 Validating XML parser for Java with DOM level 3 support
ii libxerces2-java-gcj 2.9.1-4.1 Validating XML parser for Java with DOM level 3 support (native code)

but unfortunately i get the same error :(. maybe i missed something of the steps you told me in the previous messages, as I am new to ROS, is it?

Josep

Date: Sat, 23 Apr 2011 12:48:10 +0200
From: lambert [dot] willy [..] ...
To: peter [..] ...
CC: orocos-users [..] ...
Subject: Re: [Orocos-users] FW: rtt_ros_integration_example problem

2011/4/20 Peter Soetens <peter [..] ...>

On Wednesday 20 April 2011 16:31:29 Peter Soetens wrote:

> Hi Josep,

>

> There was an error on the ros.org installation instructions for

> orocos_toolchain_ros.

>

> Please checkout :

>

> git checkout -b diamondback origin/diamondback

>

> Instead of using the 'unstable' branch.

It was an explicit demand of Ruben to use unstable some months ago (during the Diamondback pre-release I think).

I'm no submodules expert, but you should probably also do

git submodule update --recursive

after changing the branch to diamondback

yes, it is precised on the page.

Peter

--

Orocos-Users mailing list

Orocos-Users [..] ...

http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

Ruben Smits's picture

FW: rtt_ros_integration_example problem

On 24 Apr 2011, at 20:47, Josep Arnau Claret Robert wrote:

Hi,

i decide to reinstall all ros diamond-back, following the instructions on the ros web page:
1) sudo easy_install -U rosinstall
2) rosinstall ~/ros "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=diamondback&variant=desktop-full&overlay=no"
3) source ~/ros/setup.bash

then i reinstalled the orocos toolchain ros:
1) sudo apt-get install ros-unstable-orocos-toolchain-ros
2) git clone http://git.mech.kuleuven.be/robotics/orocos_toolchain_ros.git
3) cd orocos_toolchain_ros
4) git checkout -b diamondback origin/diamondback
5) git submodule init
6) git submodule update --recursive
7) rosmake orocos_toolchain_ros

the libxerces libraries installed are:
ii libxerces-c-dev 3.1.1-1+b1 validating XML parser library for C++ (development files)
ii libxerces-c28 2.8.0+deb1-2+b1 validating XML parser library for C++
ii libxerces-c3.1 3.1.1-1+b1 validating XML parser library for C++
ii libxerces2-java 2.9.1-4.1 Validating XML parser for Java with DOM level 3 support
ii libxerces2-java-gcj 2.9.1-4.1 Validating XML parser for Java with DOM level 3 support (native code)

Have you tried without xerces, It is not realy necessary for orocos, so if you don't need it for anything else try uninstalling it.

-- Ruben

but unfortunately i get the same error :(. maybe i missed something of the steps you told me in the previous messages, as I am new to ROS, is it?

Josep

________________________________
Date: Sat, 23 Apr 2011 12:48:10 +0200
From: lambert [dot] willy [..] ...<mailto:lambert [dot] willy [..] ...>
To: peter [..] ...<mailto:peter [..] ...>
CC: orocos-users [..] ...<mailto:orocos-users [..] ...>
Subject: Re: [Orocos-users] FW: rtt_ros_integration_example problem

2011/4/20 Peter Soetens <peter [..] ...peter [..] ...>>
On Wednesday 20 April 2011 16:31:29 Peter Soetens wrote:
> Hi Josep,
>
> There was an error on the ros.org<http://ros.org> installation instructions for
> orocos_toolchain_ros.
>
> Please checkout :
>
> git checkout -b diamondback origin/diamondback
>
> Instead of using the 'unstable' branch.

It was an explicit demand of Ruben to use unstable some months ago (during the Diamondback pre-release I think).

I'm no submodules expert, but you should probably also do

git submodule update --recursive

after changing the branch to diamondback

yes, it is precised on the page.

Peter
--
Orocos-Users mailing list
Orocos-Users [..] ...<mailto:Orocos-Users [..] ...>
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

-- Orocos-Users mailing list Orocos-Users [..] ...<mailto:Orocos-Users [..] ...> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users <ATT00001..txt>

FW: rtt_ros_integration_example problem

Hi all, i uninstalled ALL xerces libraries as u told me Ruben ... and it works :D!!!

Now i can see the topics in ros!

Thx to everyone for your help!

Josep

From: Ruben [dot] Smits [..] ...
To: jsprnclrtrbrt [..] ...
CC: Ruben [dot] Smits [..] ...; lambert [dot] willy [..] ...; peter [..] ...; orocos-users [..] ...
Date: Mon, 25 Apr 2011 09:29:32 +0200
Subject: Re: [Orocos-users] FW: rtt_ros_integration_example problem

On 24 Apr 2011, at 20:47, Josep Arnau Claret Robert wrote:Hi,

i decide to reinstall all ros diamond-back, following the instructions on the ros web page:
1) sudo easy_install -U rosinstall
2) rosinstall ~/ros "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=diamondback&variant=desktop-full&overlay=no"
3) source ~/ros/setup.bash

then i reinstalled the orocos toolchain ros:
1) sudo apt-get install ros-unstable-orocos-toolchain-ros
2) git clone http://git.mech.kuleuven.be/robotics/orocos_toolchain_ros.git 3) cd orocos_toolchain_ros
4) git checkout -b diamondback origin/diamondback
5) git submodule init
6) git submodule update --recursive 7) rosmake orocos_toolchain_ros

the libxerces libraries installed are:
ii libxerces-c-dev 3.1.1-1+b1 validating XML parser library for C++ (development files)
ii libxerces-c28 2.8.0+deb1-2+b1 validating XML parser library for C++
ii libxerces-c3.1 3.1.1-1+b1 validating XML parser library for C++
ii libxerces2-java 2.9.1-4.1 Validating XML parser for Java with DOM level 3 support
ii libxerces2-java-gcj 2.9.1-4.1 Validating XML parser for Java with DOM level 3 support (native code)

Have you tried without xerces, It is not realy necessary for orocos, so if you don't need it for anything else try uninstalling it.

-- Ruben

but unfortunately i get the same error :(. maybe i missed something of the steps you told me in the previous messages, as I am new to ROS, is it?

Josep

Date: Sat, 23 Apr 2011 12:48:10 +0200
From: lambert [dot] willy [..] ...
To: peter [..] ...
CC: orocos-users [..] ...
Subject: Re: [Orocos-users] FW: rtt_ros_integration_example problem

2011/4/20 Peter Soetens <peter [..] ...>
On Wednesday 20 April 2011 16:31:29 Peter Soetens wrote:
> Hi Josep,
>
> There was an error on the ros.org installation instructions for
> orocos_toolchain_ros.
>
> Please checkout :
>
> git checkout -b diamondback origin/diamondback
>
> Instead of using the 'unstable' branch.

It was an explicit demand of Ruben to use unstable some months ago (during the Diamondback pre-release I think).

I'm no submodules expert, but you should probably also do

git submodule update --recursive

after changing the branch to diamondback

yes, it is precised on the page.

Peter
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

-- Orocos-Users mailing list Orocos-Users [..] ... http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users <ATT00001..txt>

FW: rtt_ros_integration_example problem

Sorry maybe I was not too explicit:
1) I uninstalled the libxerces-c-dev, libxerces-c28 and libxerces-c3.1 (also the libxerces2-java* libraries, but i guess it didnt really matter)
2) I recompiled (make clean/make) the packages: rtt, ocl, rtt_ros_integration, rtt_ros_param, rtt_ros_integration_std_msgs and rtt_ros_integration_example
3) It works!!

Josep

From: jsprnclrtrbrt [..] ...
To: ruben [dot] smits [..] ...
Date: Mon, 25 Apr 2011 12:56:54 +0200
CC: orocos-users [..] ...
Subject: Re: [Orocos-users] FW: rtt_ros_integration_example problem

Hi all, i uninstalled ALL xerces libraries as u told me Ruben ... and it works :D!!!

Now i can see the topics in ros!

Thx to everyone for your help!

Josep

From: Ruben [dot] Smits [..] ...
To: jsprnclrtrbrt [..] ...
CC: Ruben [dot] Smits [..] ...; lambert [dot] willy [..] ...; peter [..] ...; orocos-users [..] ...
Date: Mon, 25 Apr 2011 09:29:32 +0200
Subject: Re: [Orocos-users] FW: rtt_ros_integration_example problem

On 24 Apr 2011, at 20:47, Josep Arnau Claret Robert wrote:Hi,

i decide to reinstall all ros diamond-back, following the instructions on the ros web page:
1) sudo easy_install -U rosinstall
2) rosinstall ~/ros "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=diamondback&variant=desktop-full&overlay=no"
3) source ~/ros/setup.bash

then i reinstalled the orocos toolchain ros:
1) sudo apt-get install ros-unstable-orocos-toolchain-ros
2) git clone http://git.mech.kuleuven.be/robotics/orocos_toolchain_ros.git 3) cd orocos_toolchain_ros
4) git checkout -b diamondback origin/diamondback
5) git submodule init
6) git submodule update --recursive 7) rosmake orocos_toolchain_ros

the libxerces libraries installed are:
ii libxerces-c-dev 3.1.1-1+b1 validating XML parser library for C++ (development files)
ii libxerces-c28 2.8.0+deb1-2+b1 validating XML parser library for C++
ii libxerces-c3.1 3.1.1-1+b1 validating XML parser library for C++
ii libxerces2-java 2.9.1-4.1 Validating XML parser for Java with DOM level 3 support
ii libxerces2-java-gcj 2.9.1-4.1 Validating XML parser for Java with DOM level 3 support (native code)

Have you tried without xerces, It is not realy necessary for orocos, so if you don't need it for anything else try uninstalling it.

-- Ruben

but unfortunately i get the same error :(. maybe i missed something of the steps you told me in the previous messages, as I am new to ROS, is it?

Josep

Date: Sat, 23 Apr 2011 12:48:10 +0200
From: lambert [dot] willy [..] ...
To: peter [..] ...
CC: orocos-users [..] ...
Subject: Re: [Orocos-users] FW: rtt_ros_integration_example problem

2011/4/20 Peter Soetens <peter [..] ...>
On Wednesday 20 April 2011 16:31:29 Peter Soetens wrote:
> Hi Josep,
>
> There was an error on the ros.org installation instructions for
> orocos_toolchain_ros.
>
> Please checkout :
>
> git checkout -b diamondback origin/diamondback
>
> Instead of using the 'unstable' branch.

It was an explicit demand of Ruben to use unstable some months ago (during the Diamondback pre-release I think).

I'm no submodules expert, but you should probably also do

git submodule update --recursive

after changing the branch to diamondback

yes, it is precised on the page.

Peter
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

-- Orocos-Users mailing list Orocos-Users [..] ... http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users <ATT00001..txt>

FW: rtt_ros_integration_example problem

On Mon, Apr 25, 2011 at 1:24 PM, Josep Arnau Claret Robert
<jsprnclrtrbrt [..] ...> wrote:
> Sorry maybe I was not too explicit:
> 1) I uninstalled the libxerces-c-dev, libxerces-c28 and libxerces-c3.1 (also
> the libxerces2-java* libraries, but i guess it didnt really matter)
> 2) I recompiled (make clean/make) the packages: rtt, ocl,
> rtt_ros_integration, rtt_ros_param, rtt_ros_integration_std_msgs and
> rtt_ros_integration_example
> 3) It works!!

Good news for you, bad news for us. Xerces support needs to be fixed
asap, or disabled by default...

Thanks for digging through this.

Peter