Indeed, I just tried the Veis1950 and I get an inclination angle of 9.9e-5°, so it is better than the EME2000. For the earth frame I use ITRF_2005. Unfortunately, it creates another problem. The computation which previously took about 20s to finish is now taking forever, I did not let it go till the end, but it is more something like 20s per iteration now. Is it something know about the conversion between frames that it takes longer with this frame? Or is it something else? Vincent From: pascal parraud [mailto:pascal.parraud@c-s.fr] You can try the Veis1950, instead of EME2000, it is the best (quasi)inertial Z aligned with earth frame (ITRF93 for example). Dear Pascal, Thank you for your reply. It confirms what I was thinking but unfortunately I do not know why they are not z aligned. Do you think I could you other frames than earth and EME2000 which would be z aligned to avoid this problem. If yes, which one? The important part for me is to be able to have some kind of ENU (East North Up) frame in which I can easily define the velocity vector of my body, and another frame which must be inertial so I can use it to create the orbit element (which only takes inertial frame as input). Do you have other frames to suggest me which would help me to do this?
Vincent From: pascal parraud [mailto:pascal.parraud@c-s.fr] Hello Vincent, Dear Pascal, Dear Vincent, Dear all, I have a question about the altitude considered inside Orekit. When I create a point with "new GeodeticPoint(lon, lat, alt)", what is the altitude to enter? Is it with respect to the sea, or with respect to the geoid? Or even something else? While propagating the trajectory, I also use the function "getAltitude" and I have the same question about this. What type of altitude does it return? Thank you for your help. Vincent -----Original Message----- From: MAISONOBE Luc [mailto:luc.maisonobe@c-s.fr] Sent: 09 October 2011 21:38 To: Martin Cc: orekit-users@orekit.org Subject: Re: Re: [Orekit Users] transformation Martin <martin.spel@rtech.fr> a écrit : Dear Luc, thank you very much for the idea.It is giving the same results as something we were doing before, but this ismore elegant.For anybody interested, the velocity vector in the ENU frame is build as://velocity expressed in ENU referentialdouble cosI = Math.cos(inclinationAngleRad);double sinI = Math.sin(inclinationAngleRad);double cosFPA = Math.cos(pFlightPathAngleRad);double sinFPA = Math.sin(pFlightPathAngleRad);double vE = pVelocity * cosI* cosFPA + relativeVelocity.getX();double vN = pVelocity * sinI* cosFPA;double vU = pVelocity * sinFPA;The main issue we had is that this gives an orbit with an inclination in theearth fixed frame. Plotting orbit->getI() gives a differentinclination due tothe east component being different in the inertial frame. The problem is thatin the input we have velocity and FPA being relative, and inclination in theinertial. We now solved the problem by only allowing all parameters to beeither in the earth fixed frame or in the inertial frame. No more mixing!One more question: defining an equatorial orbit going westward seemsto pose aproblem. I'm getting errors that the minimum step size is reached. Is this aknown issue? Yes, perfectly equatorial orbits that are also retrograde cannot be represented with the current implementation of EquinoctialOrbit. There is an extension of EquinoctialOrbits that can handle retrograde equatorial orbits, but it is not in Orekit yet (it will be in the future). Meanwhile, if you use the current development version of Orekit from the Git source repository, you can use the numerical propagator with any orbit types, including Cartesian. Up to Orekit 5.x, numerical propagation always used EquinoctialOrbit internally, so you hit the retrograde/equatorial problem. The development version of Orekit depends on the development version of Apache Commons Math, and will be released only when Apache Commons Math 3.0 will be released, and this as not yet been decided. So if you must have equatorial retrograde orbits, you must use both development versions. If you can use only released versions, you will not be able to handle equatorial retrograde orbits. I'm sorry about this. best regards Luc Kind regards,Martin |