Source OROCOS_TARGET

Hello everyone,
I'm trying to build my orocos component with xenomai environment. I exported the env var: export OROCOS_TARGET=xenomai in my ~/.bashrc. However, when I compile my package, this is what is returned when UseOROCOS-RTT.cmake is launched:
Detected OROCOS_TARGET environment variable. Using: gnulinux
So does this mean that OROCOS_TARGET is re-initialized when running the script?
Thanks for any help

Source OROCOS_TARGET

Hi Huy,

> Hello everyone, I'm trying to build my orocos component with xenomai environment. I exported the env var: export OROCOS_TARGET=xenomai in my ~/.bashrc. However, when I compile my package, this is what is returned when UseOROCOS-RTT.cmake is launched: Detected OROCOS_TARGET environment variable. Using: gnulinux
> So does this mean that OROCOS_TARGET is re-initialized when running the script? Thanks for any help --
> Huy Cong
> Wandercraft SAS

Such problem can be related to ROS and OROCOS installation. If you install ROS and OROCOS from repositories, and source setup.bash file, you can encounter problem that you have described. In this case, if you want to integrate ROS and OROCOS (with Xenomai), you should remove ros-[ROS_RELEASE]-rtt package

sudo apt-get remove ros-[ROS_RELEASE]-rtt

and then build OROCOS with Xenomai target (export OROCOS_TARGET=xenomai).

Regards,
Mariusz

Source OROCOS_TARGET

Source OROCOS_TARGET

2015-03-13 10:53 GMT+01:00 Huy Cong Vu <huy-cong [dot] vu [..] ...>:

>
>
> ----- Mail original -----
> > De: "Mariusz Janiak" <mariuszjaniak [..] ...>
> > À: "Huy Cong Vu" <huy-cong [dot] vu [..] ...>
> > Cc: orocos-users [..] ...
> > Envoyé: Jeudi 12 Mars 2015 18:52:25
> > Objet: Re: [Orocos-users] Source OROCOS_TARGET
>
> > Hi Huy,
> >
> >> Hello everyone, I'm trying to build my orocos component with xenomai
> >> environment. I exported the env var: export OROCOS_TARGET=xenomai in my
> >> ~/.bashrc. However, when I compile my package, this is what is returned
> when
> >> UseOROCOS-RTT.cmake is launched: Detected OROCOS_TARGET environment
> >> variable. Using: gnulinux
> >> So does this mean that OROCOS_TARGET is re-initialized when running
> the script?
> >> Thanks for any help --
> >> Huy Cong
> >> Wandercraft SAS
> >
> > Such problem can be related to ROS and OROCOS installation. If you
> install ROS
> > and OROCOS from repositories, and source setup.bash file, you can
> encounter
> > problem that you have described. In this case, if you want to integrate
> ROS and
> > OROCOS (with Xenomai), you should remove ros-[ROS_RELEASE]-rtt package
> >
> > sudo apt-get remove ros-[ROS_RELEASE]-rtt
> >
> > and then build OROCOS with Xenomai target (export OROCOS_TARGET=xenomai).
>
> My ROS release is indigo
>
> I install ROS from repositories:
>
> sudo apt-get install ros-indigo-desktop-full
>
> But Orocos from source:
>
> git clone --recursive -b toolchain-2.7
> http://git.gitorious.org/orocos-toolchain/orocos_toolchain.git src
> git clone https://github.com/orocos/rtt_geometry -b indigo-devel
> git clone https://github.com/orocos/rtt_ros_integration -b indigo-devel
>
>
If your are using indigo shouldn't you use the 2.8 toolchain ? 2.7 is
commpatible with hydro (but maybe not exclusively).
That said, your problem is certainly not linked to that.

> Then I build isolated package in orocos_ws:
> http://wiki.ros.org/orocos_toolchain
>
> So basiclly I won't have ros-indigo-rtt to remove.
>
> Do you have any other ideas?
>
> >
> > Regards,
> > Mariusz
>
> --
> Huy Cong
> Wandercraft SAS
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>