Tutorials 4.1 Orbits : Différence entre versions
(Page créée avec « == What is an orbit ? == An orbit is defined with a <font color=#FF0000>date</font>, a <font color=#FF0000>frame</font> then <font color=#FF0000>orbital parameters</font>... ») |
|||
Ligne 13 : | Ligne 13 : | ||
# to propagate this orbit using the keplerian motion (considering only the central term) (for more sophisticated propagations (analytical or numerical ones) see specific tutorials). | # to propagate this orbit using the keplerian motion (considering only the central term) (for more sophisticated propagations (analytical or numerical ones) see specific tutorials). | ||
− | '''Code example:''' [[ | + | '''Code example:''' [[CreateKeplerianOrbit_4.1|create a Keplerian orbit]] |
== Orbital parameters == | == Orbital parameters == | ||
Ligne 23 : | Ligne 23 : | ||
Moreover, the advantage of this sublevel is to treat parameters conversions without considering a whole orbit (for example, to convert <font color=#FF0000>keplerian</font> parameters in <font color=#FF0000>cartesian</font> ones, it is not necessary to use a <font color=#FF0000>date</font> or a <font color=#FF0000>frame</font>). | Moreover, the advantage of this sublevel is to treat parameters conversions without considering a whole orbit (for example, to convert <font color=#FF0000>keplerian</font> parameters in <font color=#FF0000>cartesian</font> ones, it is not necessary to use a <font color=#FF0000>date</font> or a <font color=#FF0000>frame</font>). | ||
− | '''Code example:''' [[ | + | '''Code example:''' [[CreateKeplerianOrbitUsingParameters_4.1|create a Keplerian orbit using parameters]] |
== Orbital parameters conversions == | == Orbital parameters conversions == | ||
Ligne 29 : | Ligne 29 : | ||
As explained in the previous tutorial, it is possible to make a lot of conversion between different orbital parameters formats. The following code gives some examples ... | As explained in the previous tutorial, it is possible to make a lot of conversion between different orbital parameters formats. The following code gives some examples ... | ||
− | '''Code example:''' [[ | + | '''Code example:''' [[ParametersConversions_4.1|orbital parameters conversions]] |
[[Category:Tutorials 4.1]] | [[Category:Tutorials 4.1]] |
Version actuelle en date du 20 décembre 2018 à 15:41
What is an orbit ?
An orbit is defined with a date, a frame then orbital parameters; in the example below, we will use keplerian parameters ...
- semi major axis
- eccentricity
- inclination
- perigee argument
- right ascension of the ascending node
- anomaly (mean, true, eccentric)
Note that it is mandatory to set the "Mu" value (gravitational constant) for both reasons :
- to be able to convert keplerian parameters to cartesian ones
- to propagate this orbit using the keplerian motion (considering only the central term) (for more sophisticated propagations (analytical or numerical ones) see specific tutorials).
Code example: create a Keplerian orbit
Orbital parameters
Rather than to set directly orbital parameters when creating an orbit (see previous tutorial), it is possible to go through an intermediate object including these orbital parameters.
Then to create an orbit, we will have to set the date, the frame ... and this object.
Moreover, the advantage of this sublevel is to treat parameters conversions without considering a whole orbit (for example, to convert keplerian parameters in cartesian ones, it is not necessary to use a date or a frame).
Code example: create a Keplerian orbit using parameters
Orbital parameters conversions
As explained in the previous tutorial, it is possible to make a lot of conversion between different orbital parameters formats. The following code gives some examples ...
Code example: orbital parameters conversions