Robust Object Tracking: A Path-Planning Approach