Skip to content

Setting standard gravitational parameter according to the central body and find a place for the constants #247

@hornig

Description

@hornig

There are several places, where we are using mu, the standard gravitational parameter. Currently it is fixed to Earth in most cases.
it would be better to have it selectable and also to have it at a central location to not have duplicates.

That we should change.
Propose a better way! :)

For example it is in these files:

https://github.com/aerospaceresearch/orbitdeterminator/blob/master/orbitdeterminator/kep_determination/gauss_method.py#L27-L28

https://github.com/aerospaceresearch/orbitdeterminator/blob/master/orbitdeterminator/kep_determination/gibbs_method.py#L15

https://github.com/aerospaceresearch/orbitdeterminator/blob/master/orbitdeterminator/kep_determination/lamberts_method.py#L10

https://github.com/aerospaceresearch/orbitdeterminator/blob/master/orbitdeterminator/util/state_kep.py#L29

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions