I have a system that consists of quite a few nodes that are simultaneously started. I use a launch file to start them all. Sometimes I have a couple of extra nodes that I want to run as well. The extra nodes have required nodes that overlap with the first launch file nodes. The ideal behavior would be to only launch the "overlapping" nodes if the nodes are not already running. That way the same two launch files could both be used standalone or simultaneously regardless of launch order. For example, I want the following functionality
<group if="$(find IS_NODE_RUNNING)">
<node pkg="wiimote" type="wiimote_node.py">
</group>
Is something like this possible? I know I could accomplish this with environment variables. Is that the best way?
Originally posted by jarvisschultz on ROS Answers with karma: 9031 on 2012-04-18
Post score: 1