Error while performing the conversion KeplerianOrbit -> EquinoctialOrbit -> KeplerianOrbit
There seems to be a problem with the converison when the inclination of the orbit is 0 and the RAAN is not 0. For example, if the initial keplerian orbit is:
- a = 13378.0
- e = 0.05
- i = 0.0
- raan = 180.0
- pa = 0.0
- ma = 0.0
after the double conversion the result is:
- a = 13378.0
- e = 0.05
- i = 0.0
- raan = 0.0
- pa = 0.0
- ma = 0.0
Since the inclination is 0 then the RAAN is undefined and the value 0 is used correctly. However, in this case, the value of pa should be 180 and not 0.
(from redmine: issue id 151, created on 2013-11-13, closed on 2013-11-13)