Spawn and kill nodes from nodes/smach
I'm looking for a way to spawn/kill nodes from other running nodes or from smach SMs.
The roslaunch page makes it very clear that the roslaunch API is very unstable, which makes me afraid to use it. I've also found rosspawn tool, but its implementation is reportedly in proof-of-concept state and I see that the commits to it's repository stopped in October 2010.
Is there any recommended way to do this? Is using nodelets instead of regular nodes the best option?