Store weak pointer to itself in PathPlanner class.