During IGVC, we need the ability to switch the target selection strategy. Currently, we have two strategies:
Obtain target from lane (end point of the center-line when it cuts the border of the planner's map)
Obtain target from GPS way point
Before we reach the 1st GPS way point, we will follow the 1st strategy. Once we reach it, switch to the 2nd strategy till we reach the last GPS way point. Once the last one is reached, switch back to the 1st strategy and finish the course. Later on, a 3rd strategy is needed for flags. So, target_selector node is a must. The planner would now be agnostic to the source and nature of the target. It'd just subscribe to the target_selector/target topic.
During IGVC, we need the ability to switch the target selection strategy. Currently, we have two strategies: