Robust Time-Varying Formation Control of Heterogeneous Multi-Agent Systems Using Novel Potential Field Avoidance