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@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@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users



--
Tully Foote
Systems Engineer
Willow Garage, Inc.
tfoote@willowgarage.com
(650) 475-2827