Robotics StackExchange | Archived questions

remapping topics outside of node launchfile

Is it possible to avoid using remap tags within the same launchfile of the node you want to apply it to?

I tried to have a separate launchfile like:

<launch>
<remap from="top1" to="top2"/>
</launch>

and in the main launchfile, I include it:

<launch> 
    <include file="remap.launch"/> 
    <node/>
</launch>

this doesnt actually work. Is there a workaround for this? For my purpose I'd like to avoid setting the remap tags in the main launch

Asked by mugetsu on 2022-08-24 18:37:24 UTC

Comments

Answers