Skip to content

soypat/gnco

Repository files navigation

gnco

go.dev reference Go Report Card codecov Go sourcegraph

gnco provides logic for projectile trajectory calculation on a rotating Earth model.

Examples

  • parabolic-projectile — minimal example: parabolic trajectory of a point mass with no external forces, demonstrating the integrator and coordinate system basics.

  • 5dof-rocket — 5-DOF sounding rocket simulation. A single-stage solid-fuel rocket launches from a geographic site at 85° elevation with Earth rotation, ISA atmosphere, drag, and a launch-tower hold to prevent a gravity turn at low speed.

Install

How to install package with newer versions of Go (+1.16):

go mod download github.com/soypat/gnco@latest

About the integrator

The physics integrator used is a state of the art Runge-Kutta-Nyström 12(10) second order integrator and presents very well behaved energy conservation for elliptical orbits for very large integration steps in the order of the hundreds of seconds, given no external forces other than gravity are acting.

About

Projectile trajectory calculation using integration and energy methods.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages

Generated from soypat/go-module-template