[ros-users] Exporting multiple nodelets from a single package

Andy Somerville andy.somerville at resquared.com
Tue Jan 11 16:31:11 UTC 2011


Oh! of course. I feel a little silly for not having thought of that.

    Thanks,
    Andrew

On Mon, Jan 10, 2011 at 9:28 PM, Tully Foote <tfoote at willowgarage.com> wrote:
> Hi Andrew ,
> This is expected.  You can only have one of any given export otherwise there
> would need to be logic for how to join arbitrary exports together.
>
> If you want to define multiple nodelets in a single package just put them
> into the same xml file. You can have multiple libraries in the xml file and
> multiple classes in each library.
>
> Tully
>
>
> On Mon, Jan 10, 2011 at 5:53 PM, Andy Somerville
> <andy.somerville at resquared.com> wrote:
>>
>> I noticed a behavior that seems could either a bug or an unexpected
>> design decision in the exporting of nodelets in manifest.xml.
>>
>> As far as I can tell it is impossible to export more than one nodelet.
>>
>> The two variations I tried were:
>>
>>  <export>
>>    <nodelet plugin="${prefix}/nodelet1.xml"/>
>>    <nodelet plugin="${prefix}/nodelet2.xml"/>
>>  </export>
>>
>> and:
>>
>>  <export>
>>    <nodelet plugin="${prefix}/nodelet1.xml"/>
>>  </export>
>>
>>  <export>
>>    <nodelet plugin="${prefix}/nodelet2.xml"/>
>>  </export>
>>
>> Both seem to accept the first declared nodelet and ignore the second.
>>
>> The work-around is of course to make two separate packages, but in
>> certain situations that could be a bit annoying.
>>
>> Anyone know if this is expected behavior? Worth filing a bug report about?
>>
>> I'm running the latest cturtle packages if it makes a difference.
>>
>>     Andrew Somerville



More information about the ros-users mailing list