pvalle6 / Fly_Swatter

Fly_Swatter is the code for a project to replicate a fire control computer and calculations for interceptions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fly_Swatter

Fly_Swatter is a simulation of a fire control computer for intercepting a mid-air target. It simulates a random target relative to the origin, and then calculates the trajectory and firing solution needs for an interception.

Examples contains a working example of the computer.

image

image

image

image

To Install:

!git clone https://github.com/pvalle6/Fly_Swatter.git
!mv /content/Fly_Swatter/setup.py /content/setup.py
!pip install .

Requirements:

numpy
scipy
time
sched
random
matplotlib

Before submitting PR, run tests

!python -m unittest /content/Fly_Swatter/tests/test_fire.py
!python -m unittest /content/Fly_Swatter/tests/test_radar.py
!python -m unittest /content/Fly_Swatter/tests/test_target.py

About

Fly_Swatter is the code for a project to replicate a fire control computer and calculations for interceptions.

License:MIT License


Languages

Language:Python 100.0%