question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow the user to define an Orbit in any reference frame

See original GitHub issue

🐞 Problem

As has been pointed out many times, it’s unclear which reference frame is poliastro using for Orbit objects, and the answer is that it’s implicitly assuming an inertial reference frame centered in the attractor (otherwise propagate wouldn’t work).

🎯 Goal

The use of reference frames in poliastro should be more explicit and configurable. Reference frame transformations are needed all the time, and now poliastro does not make things easy on this front.

💡 Possible solutions

See https://github.com/poliastro/poliastro/wiki/Orbits-and-reference-frames for further explanation and ideas.

📋 Steps to solve the problem

  • Comment below about what you’ve started working on.
  • Add, commit, push your changes
  • Submit a pull request and add this in comments - Addresses #<put issue number here>
  • Ask for a review in comments section of pull request
  • Celebrate your contribution to this project 🎉

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:18 (18 by maintainers)

github_iconTop GitHub Comments

2reactions
astrojuanlucommented, Jan 9, 2019

For example if orbital velocity of a satellite is equal to rotational velocity of the Earth(for simplicity, let attractor is Earth), then in ECEF reference frame orbit will be just a point(as per my current understanding). And there are a plenty of other similar cases.

That’s exactly the case of the geostationary orbits you introduced in #524 😉

There is no “orbit” in the sense that, in a non-inertial frame, it would not be a Keplerian orbit (a conic section), but stuff would revolve around the Earth no matter what reference frame we use to look at it.

What we want to achieve is to simplify the use case presented in https://github.com/poliastro/poliastro/issues/429, that is: make it a one-liner to create an Orbit object from data (most likely cartesian vectors) that is not in an inertial reference frame, or even a frame centered in the attractor we are looking at (think of an observer pointing a telescope or an antenna to some satellite).

The classical orbit elements are “just” geometric parameters, and therefore they should also be computed in an inertial frame, using proper conversion code.

1reaction
hrishikeshgoyalcommented, Jan 10, 2019

What we want to achieve is to simplify the use case presented in #429, that is: make it a one-liner to create an Orbit object from data (most likely cartesian vectors) that is not in an inertial reference frame, or even a frame centered in the attractor we are looking at (think of an observer pointing a telescope or an antenna to some satellite).

The way I can think of right now to solve this is that first transform the given parameters into an inertial reference frame centred at attractor and then create the orbit as usual and also always use that frame to plot the orbit(irrespective of what frame user has used).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tag: orbit reference frame - ADCS For Beginners
The orbit reference frame has its origin at the centre of mass of the satellite, the Z axis points towards the centre of...
Read more >
Orbital Frame - an overview | ScienceDirect Topics
In many attitude control operations, a S/C body frame, usually the payload frame, must be aligned with an orbital frame, either LVLH or...
Read more >
Integrating an orbit in a rotating reference frame - Gala
In the example below, we will work use the galactic UnitSystem : as I define it, this is: kpc, Myr, M⊙.
Read more >
Attitude Reference Frames - A.I. Solutions
The Attitude Reference frame defines the coordinate system that the spacecraft's attitude is referenced to. Converting between the spacecraft body frame and the ......
Read more >
Reference Frames - NAIF
A frame is used to specify the orientation of some object. The frame consists of a set of coordinate axes relative to some...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found