Skip to content

iwishiwasaneagle/proportional_navigation

Repository files navigation

Proportional Navigation

Test PyPI version PyPI - Python Version Coverage Status Downloads

A package to easily do proportional navigation. This navigation equation is popular for target-persuader Line-of-Sight applications, such as missiles. The popularity stems partially from it's simple implementation, and effectiveness.

Explanation on notation

From the below figure, it is clear that we are using velocity/heading model for each body (proportional_navigation.HeadingVelocity(psi,x,y,V)). Such that V is the magnitude of velocity, psi is heading relative to world x-axis, and x and y of the body is relative to the world axes. However,proportional_navigation.GlobalVelocity(x,y,xd,yd) also exists for convenience.

Axes

Installation

git clone https://github.com/iwishiwasaneagle/proportional_navigation
cd proportional_navigation
python setup.py install
pip install proportional_navigation