Run "Convergence.m" in Matlab to simulate a team of 8 agents achieving a desired rectangular formation under the LF-BCB and our proposed control strategies. Feel free to change the initial conditions.
Run "Disturbance.m" in Matlab to simulate the effect of an additive disturbance on the desired formation under the LF-BCB and our proposed control strategies. Feel free to change the disturbance value/magnitude in the code.
To test a different desired formation and design the corresponding control gains see our previous work (code available):
K. Fathian, T. H. Summers, N. R. Gans, "Robust Distributed Formation Control of Agents with Higher-Order Dynamics," IEEE Control Systems Letters, 2018
The simulation video is automatically generated and saved in the "SavedFigs" folder. You can increase the number of simulation time samples in the code
to get a smoother video.
--------------------------------------------------------------
Feel free to send me an email with any questions or comments:
kavehfathian@gmail.com
This package is tested in MATLAB R2017b, 64-bit Windows 7 OS.
(C) Kaveh Fathian, 2018