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.
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.
git clone https://github.com/iwishiwasaneagle/proportional_navigation
cd proportional_navigation
python setup.py install
pip install proportional_navigation