orbcalc

command module
v0.0.0-...-cec3619 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

README

Orb Calc

A library to do orbital mechanics in go.

Every object in the solar system

OrbViwer

Currently very basic and work in progress, the basic orbital propogation with the mean motion method should work for most cases. Hyperbolic and parabolic orbits have not been tested, if you find bugs please let us know.

Example in main.go which reads in the MPC orbit file propogates them forward by one day and then writes the position vectors to a file. See also the example and tools folders for more examples

There is a lot still to do:

  • Reference frame transformations.
  • Benchmarking
  • Documentation

If you want to help with these please feel free to get in contact.

Reason

This project is designed to alow you to work out the position in space of an object after some time given the normal orbital elements.

The main usecase is to be able to plot the locations of asteroids over time.

Design Goals
  1. Be Accurate
  2. Be Fast
  3. Be Easy To Use

Contributing

Fantastic. We welcome an help you can give. We especially welcome bug reports and case studies of uses. If you have managed to successfully use this project please let us know. If you have found a pain point please let us know, we can probably make it easier to use. If you are not sure if something is a bug please rase it any way. Worst case it is something we need to document better.

If you want to provide code support to the project we use the "usual" github process, issues, forks and pull requests.

Building from source

Prerequistits:

  • Golang 1.11+
git clone git@github.com:wselwood/orbcalc.git
cd orbcalc
go build

We use the Go module system which should take care of the dependencies for you. See the examples and tools folders for more information about usage

Thanks

This project owes a great debt of thanks to the poliastro project for the algorithms and examples of how things should be done.

Contributors

The following people have helped improve this project:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
examples
Package orbcore provides functions to work out orbital details for an asronomical object.
Package orbcore provides functions to work out orbital details for an asronomical object.
Package orbdata contains useful contstants and defined orbits of the solar system.
Package orbdata contains useful contstants and defined orbits of the solar system.
tools
verification
This tool takes several defined orbits, propagates them forward in time and writes the results to a text file.
This tool takes several defined orbits, propagates them forward in time and writes the results to a text file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL