There are two different nodes one of them written in Python, and the other in C++. They are doing the same thing basically. Let's say they are finding banana with different methods like viola-jones or hog. So, their names are:
node 1: object_detector_hog_node
node 2: object_detector_viola_node
I want to assign parameter that selects which node will open. Is it possible to do such thing?
I know that it is not possible to use if in launch files. Also, I don't want to open two nodes and check the parameter and kill one of the nodes.