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

Tully Foote tfoote at willowgarage.com
Tue Jan 11 02:28:08 UTC 2011


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
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>



-- 
Tully Foote
Systems Engineer
Willow Garage, Inc.
tfoote at willowgarage.com
(650) 475-2827
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20110110/06acfd76/attachment-0003.html>


More information about the ros-users mailing list