Skip to content
Snippets Groups Projects
Commit c899956b authored by Luc Maisonobe's avatar Luc Maisonobe
Browse files

Updated to Orekit 9.0 API.

parent e398b0b1
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ import org.hipparchus.util.FastMath; ...@@ -20,6 +20,7 @@ import org.hipparchus.util.FastMath;
import java.io.Serializable; import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.stream.Collectors;
import org.orekit.errors.OrekitException; import org.orekit.errors.OrekitException;
import org.orekit.frames.Frame; import org.orekit.frames.Frame;
...@@ -164,7 +165,7 @@ public class SpacecraftToObservedBody implements Serializable { ...@@ -164,7 +165,7 @@ public class SpacecraftToObservedBody implements Serializable {
} }
final TimeStampedAngularCoordinates interpolatedQuaternion = final TimeStampedAngularCoordinates interpolatedQuaternion =
TimeStampedAngularCoordinates.interpolate(aInterpolationDate, aFilter, TimeStampedAngularCoordinates.interpolate(aInterpolationDate, aFilter,
aCache.getNeighbors(aInterpolationDate)); aCache.getNeighbors(aInterpolationDate).collect(Collectors.toList()));
final TimeStampedAngularCoordinates quaternion = interpolatedQuaternion.shiftedBy(date.durationFrom(aInterpolationDate)); final TimeStampedAngularCoordinates quaternion = interpolatedQuaternion.shiftedBy(date.durationFrom(aInterpolationDate));
// store transform from spacecraft frame to inertial frame // store transform from spacecraft frame to inertial frame
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment