Install the necessary dependencies by running the following:
python3 -m pip install -r requirements.txt
brew install ffmpeg
Run the following to test the new KKT code:
cd ./decentralized
python3 decentralized.py -f kkt/new_kkt.mp4 -m kkt
Test (With Optimization) |
---|
![]() |
python3 ./robotics_project/decentralized/decentralized.py -m nmpc -f output_animation_file_name.gif
4 Obstacles | 100 Obstacles |
---|---|
![]() |
![]() |
Test (With Parallel Obstacle Prediction) |
---|
![]() |
To run multi-agent NMPC with the parallelized algorithms, run the notebook decentralized/MultiAgentNMPCParallel.ipynb
in a GPU environment (e.g. Google Colab).
Multi-Agent Decentralized NMPC w/ Parallelization |
---|
![]() |