Skip to content

partylikeits1983/ballistic_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ballistic Trajectory Calculator

This program implements the external ballistic model described in this paper.

The program is written in standard C++ with one library dependency on Dlib that is included.

Simple Jupyter Notebook interface.


Trajectory of a 7.62 AK-47 round shot at 45° at sea level (59°F).

What can you do with this program

  1. Run ballistic trajectories with different options: wind, air turbulences, initial height above the Earth's surface; even send projectiles to space or orbit around Earth.

  2. Solve for ranges or max - the programs finds the angles (for both flat and high trajectories) for a given range.

  3. Fine tune the drag coefficient function given some firing table data.

In order to do this you must:

  1. Define basic parameters of the projectile: mass, diameter, length; and muzzle velocity.

  2. Define drag coefficient function. If the function is not known, there is an option to generate this function from empirical data. See section Solve.

Included in the model

  1. 3D trajectory
  2. Earth’s curvature
  3. Altitude: air density and temperature
  4. Range and cross wind
  5. Air turbulence

How to build

Make build.sh executable

chmod +x build.sh

run build.sh

./build.sh

How to run

For specifics of the artill library refer to the user guide.

Purpose of this Repository

Provide a simple Jupyter Notebook that diplays ballistic trajectories of projectiles.

Make a simplier user interface of the the Artill repository.

This repository is a clean fork of Oleg Mazonka's C++ library Artill. I decided to make a clean upload with a simple Jupyter Notebook as a simple user interface in order to improve the user experience of this repository.

Acknowledgements:

The C++ portion of this repo was created by Oleg Mazonka https://github.com/mazonka/artill

About

advanced ballistic calculator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published