Hi,
I can currently build a ROS package on top of rtt_ros when it depends on it
directly.
I tried to do 2 packages containing components like :
_ pkg_A depending on rtt_ros (typically fbsched)
_ pkg_B depending on pkg_A
My components in pkg_B wants to link to components in pkg_A.
I tried several combinaisons but the build failed. So my question is : what
is the workflow to declare those dependencies ? Shall I use a pure Catkin
dependency model, or shall I use an Orocos internal build system ?
rtt_ros package dependencies
On Sat, Mar 1, 2014 at 4:03 PM, Willy Lambert <lambert [dot] willy [..] ...> wrote:
> Hi,
>
> I can currently build a ROS package on top of rtt_ros when it depends on it
> directly.
>
> I tried to do 2 packages containing components like :
> _ pkg_A depending on rtt_ros (typically fbsched)
> _ pkg_B depending on pkg_A
>
> My components in pkg_B wants to link to components in pkg_A.
>
> I tried several combinaisons but the build failed. So my question is : what
> is the workflow to declare those dependencies ? Shall I use a pure Catkin
> dependency model, or shall I use an Orocos internal build system ?
To use the Orocos internal macros you can define this dependency by using:
orocos_use_package(pkg_A)
If you build with catkin this macro is used under the hood for every
build_depend listed in your package.xml. I would not use
find_package(catkin REQUIRED pkg_A)
Ruben
rtt_ros package dependencies
2014-03-03 9:02 GMT+01:00 Ruben Smits <ruben [dot] smits [..] ...>:
> On Sat, Mar 1, 2014 at 4:03 PM, Willy Lambert <lambert [dot] willy [..] ...>
> wrote:
> > Hi,
> >
> > I can currently build a ROS package on top of rtt_ros when it depends on
> it
> > directly.
> >
> > I tried to do 2 packages containing components like :
> > _ pkg_A depending on rtt_ros (typically fbsched)
> > _ pkg_B depending on pkg_A
> >
> > My components in pkg_B wants to link to components in pkg_A.
> >
> > I tried several combinaisons but the build failed. So my question is :
> what
> > is the workflow to declare those dependencies ? Shall I use a pure Catkin
> > dependency model, or shall I use an Orocos internal build system ?
>
> To use the Orocos internal macros you can define this dependency by using:
>
> orocos_use_package(pkg_A)
>
> If you build with catkin this macro is used under the hood for every
> build_depend listed in your package.xml. I would not use
>
> find_package(catkin REQUIRED pkg_A)
>
>
> Ruben
>
Ok, shall I use at least :
find_package(catkin REQUIRED rtt_ros)
?
>
>
> --
> Ruben Smits, CTO
> +32 479 511 786
> Intermodalics - Kapeldreef 60, 3001 Heverlee - BELGIUM
> www.intermodalics.eu
>
>
> ---------------------------------------------------------------------------------------------------------------------------------------
> This email and any attached files are confidential and may be legally
> privileged. Any copy, print or forward of this email, without the
> agreement of sender or addressee, is strictly prohibited. Misuse is a
> violation of the law on personal data protection (D. Lgs. 196/2003)
> and on secrecy of correspondence (art. 616 cp). If you have received
> this transmission in error please notify the sender immediately and
> then delete this email and any attached files.
>
rtt_ros package dependencies
2014-03-03 21:38 GMT+01:00 Willy Lambert <lambert [dot] willy [..] ...>:
>
>
>
> 2014-03-03 9:02 GMT+01:00 Ruben Smits <ruben [dot] smits [..] ...>:
>
> On Sat, Mar 1, 2014 at 4:03 PM, Willy Lambert <lambert [dot] willy [..] ...>
>> wrote:
>> > Hi,
>> >
>> > I can currently build a ROS package on top of rtt_ros when it depends
>> on it
>> > directly.
>> >
>> > I tried to do 2 packages containing components like :
>> > _ pkg_A depending on rtt_ros (typically fbsched)
>> > _ pkg_B depending on pkg_A
>> >
>> > My components in pkg_B wants to link to components in pkg_A.
>> >
>> > I tried several combinaisons but the build failed. So my question is :
>> what
>> > is the workflow to declare those dependencies ? Shall I use a pure
>> Catkin
>> > dependency model, or shall I use an Orocos internal build system ?
>>
>> To use the Orocos internal macros you can define this dependency by using:
>>
>> orocos_use_package(pkg_A)
>>
>> If you build with catkin this macro is used under the hood for every
>> build_depend listed in your package.xml. I would not use
>>
>> find_package(catkin REQUIRED pkg_A)
>>
>>
Where can I find "sourced" variables ? are they all in catkin_XXXX cmake
vars ? or do Orocos has its own ?
>
>> Ruben
>>
>
> Ok, shall I use at least :
> find_package(catkin REQUIRED rtt_ros)
> ?
>
>
>>
>>
>> --
>> Ruben Smits, CTO
>> +32 479 511 786
>> Intermodalics - Kapeldreef 60, 3001 Heverlee - BELGIUM
>> www.intermodalics.eu
>>
>>
>> ---------------------------------------------------------------------------------------------------------------------------------------
>> This email and any attached files are confidential and may be legally
>> privileged. Any copy, print or forward of this email, without the
>> agreement of sender or addressee, is strictly prohibited. Misuse is a
>> violation of the law on personal data protection (D. Lgs. 196/2003)
>> and on secrecy of correspondence (art. 616 cp). If you have received
>> this transmission in error please notify the sender immediately and
>> then delete this email and any attached files.
>>
>
>