Why delete the existing local_planner? Ideally, there should be only one entry point in the local_planner package - main.cpp (with some other better name). Inside main, both the planners would be instantiated and would be called depending on the switching strategy. For now, you may create another .cpp as the entry point for the quick_reflex planner.