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:
- Created 5 years ago
- Comments:18 (18 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
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).