Fixed wrong scaling in JPL ephemeris.
The wrong scaling occurred when retrieving coordinates in a frame that is not the defining frame of the celestial body. The coordinates were translated first and scaled afterwards, whereas the correct behavior is to scale first and translate afterwards. Fixes issue #165. Thanks to Quentin Nénon for the report.
Showing
- src/main/java/org/orekit/bodies/JPLCelestialBody.java 5 additions, 4 deletionssrc/main/java/org/orekit/bodies/JPLCelestialBody.java
- src/main/java/org/orekit/bodies/JPLEphemeridesLoader.java 7 additions, 7 deletionssrc/main/java/org/orekit/bodies/JPLEphemeridesLoader.java
- src/site/xdoc/changes.xml 5 additions, 0 deletionssrc/site/xdoc/changes.xml
- src/test/java/org/orekit/bodies/CelestialBodyFactoryTest.java 36 additions, 0 deletions...test/java/org/orekit/bodies/CelestialBodyFactoryTest.java
Loading
Please register or sign in to comment