Dear comrades,
I am trying to run in debian squeeze the rtt_ros_integration_example example.xml, but there are problems.
I have just installed the orocos-toolchain 2.3.1.
the rtt_ros_integration, rtt_ros_integration_example, rtt_ros_integration_std_msgs have been downloaded from the orocos_toolchain_ros git repository.
the compilation of everything works properly, but when trying to run the example with (with the rosmaster ON):
$ rosrun ocl deployer-gnulinux -s example.xml
i get the next messages:
--------------------------------------------------------------------------
[rosrun] You have chosen a non-unique executable, please pick one of the following:
1) /srv/ros/orocos-toolchain/ocl/install/bin/deployer-gnulinux
2) /srv/ros/orocos-toolchain/ocl/bin/deployer-gnulinux
#? 2
1.966 [ Warning][DeploymentComponent::loadComponents] Lowering scheduler type to SCHED_OTHER for non-privileged users..
1.967 [ ERROR ][DeploymentComponent::configureComponents] Need a transport for creating streams.
1.967 [ Warning][DeploymentComponent::configureComponents] Creating stream with name ROSConFloatIn with Port float_in from HelloRobot failed.
1.967 [ ERROR ][DeploymentComponent::configureComponents] Need a transport for creating streams.
1.967 [ Warning][DeploymentComponent::configureComponents] Creating stream with name ROSConFloatOut with Port float_out from HelloRobot failed.
1.967 [ ERROR ][DeploymentComponent::configureComponents] Need a transport for creating streams.
1.967 [ Warning][DeploymentComponent::configureComponents] Creating stream with name ROSConStringIn with Port string_in from HelloRobot failed.
1.967 [ ERROR ][DeploymentComponent::configureComponents] Need a transport for creating streams.
1.967 [ Warning][DeploymentComponent::configureComponents] Creating stream with name ROSConStringOut with Port string_out from HelloRobot failed.
1.967 [ ERROR ][DeploymentComponent::configureComponents] No OutputPort listed that writes ROSConFloatIn
1.968 [ ERROR ][Logger] Failed to configure a component: aborting kick-start.
Switched to : Deployer
This console reader allows you to browse and manipulate TaskContexts.
You can type in an operation, expression, create or change variables.
(type 'help' for instructions and 'ls' for context info)
TAB completion and HISTORY is available ('bash' like)
Deployer [S]>
---------------------------------------------------------------------------
so the component is imported but the ros topics are not created.
Has anyone gone through that?
Any help will be appreciated. Thx in advance.
Josep
rtt_ros_integration_example problem
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...
Cheers,
Peter
rtt_ros_integration_example problem
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.
Regards,
Leo
rtt_ros_integration_example problem
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 example is self-contained and should work out of the box. Can you check that it's xerces version 3 you're using now ?
Peter
rtt_ros_integration_example problem
On Tue, Apr 19, 2011 at 4:30 PM, Josep Arnau Claret Robert
<jsprnclrtrbrt [..] ...> wrote:
> Dear comrades,
>
> I am trying to run in debian squeeze the rtt_ros_integration_example
> example.xml, but there are problems.
>
> I have just installed the orocos-toolchain 2.3.1.
> the rtt_ros_integration, rtt_ros_integration_example,
> rtt_ros_integration_std_msgs have been downloaded from the
> orocos_toolchain_ros git repository.
>
> the compilation of everything works properly, but when trying to run the
> example with (with the rosmaster ON):
> $ rosrun ocl deployer-gnulinux -s example.xml
>
> i get the next messages:
> --------------------------------------------------------------------------
> [rosrun] You have chosen a non-unique executable, please pick one of the
> following:
> 1) /srv/ros/orocos-toolchain/ocl/install/bin/deployer-gnulinux
> 2) /srv/ros/orocos-toolchain/ocl/bin/deployer-gnulinux
> #? 2
> 1.966 [ Warning][DeploymentComponent::loadComponents] Lowering scheduler
> type to SCHED_OTHER for non-privileged users..
> 1.967 [ ERROR ][DeploymentComponent::configureComponents] Need a transport
> for creating streams.
This warning is given if the 'transport' parameter of the ConnPolicy
(see example.xml) is zero.
This could only happen if the reading of the XML file went wrong.
could you provide us with this information:
* output of same command, but first do export ORO_LOGLEVEL=7
* Is libxerces*-dev installed ? Ie any version of the
libxerces/libxercesc development package ?
Peter
> 1.967 [ Warning][DeploymentComponent::configureComponents] Creating stream
> with name ROSConFloatIn with Port float_in from HelloRobot failed.
> 1.967 [ ERROR ][DeploymentComponent::configureComponents] Need a transport
> for creating streams.
> 1.967 [ Warning][DeploymentComponent::configureComponents] Creating stream
> with name ROSConFloatOut with Port float_out from HelloRobot failed.
> 1.967 [ ERROR ][DeploymentComponent::configureComponents] Need a transport
> for creating streams.
> 1.967 [ Warning][DeploymentComponent::configureComponents] Creating stream
> with name ROSConStringIn with Port string_in from HelloRobot failed.
> 1.967 [ ERROR ][DeploymentComponent::configureComponents] Need a transport
> for creating streams.
> 1.967 [ Warning][DeploymentComponent::configureComponents] Creating stream
> with name ROSConStringOut with Port string_out from HelloRobot failed.
> 1.967 [ ERROR ][DeploymentComponent::configureComponents] No OutputPort
> listed that writes ROSConFloatIn
> 1.968 [ ERROR ][Logger] Failed to configure a component: aborting
> kick-start.
> Switched to : Deployer
>
> This console reader allows you to browse and manipulate TaskContexts.
> You can type in an operation, expression, create or change variables.
> (type 'help' for instructions and 'ls' for context info)
>
> TAB completion and HISTORY is available ('bash' like)
>
> Deployer [S]>
> ---------------------------------------------------------------------------
>
> so the component is imported but the ros topics are not created.
>
> Has anyone gone through that?
>
> Any help will be appreciated. Thx in advance.
>
> Josep
>
>
> --
> 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