A compact Python simulation demonstrating guided-interceptor scenarios with 3D visualization.
This repository contains a simulation of interceptors and targets, including radar detection and a simple predictive guidance module. It is intended for education, experimentation, and prototyping of guidance concepts.
main.py: Runner that configures targets, interceptors, and runs a 3D animation.models/: Core simulation modules:dot.py— base drawable object used by targets and interceptorstarget.py— target behavior and stateinterceptor.py— interceptor logic, fuse handling, and guidance integrationradar.py— simple detection sensorphysics.py— helper physics (e.g., turn limiting)plot3d.py— plotting utilities and animation harnessguidance/predictive.py— predictive guidance module
- Python 3.10+ (or recent 3.x)
- Install dependencies from
requirements.txt(recommended inside a virtualenv):
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtRun the simulation with:
python main.pyThis opens a Matplotlib 3D animation showing targets and interceptors. The example in main.py
configures two targets and one interceptor using the predictive guidance module.