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

Fixed test after GPSDate change.

parent 262d111f
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,7 @@ import org.orekit.propagation.SpacecraftState; ...@@ -36,6 +36,7 @@ import org.orekit.propagation.SpacecraftState;
import org.orekit.propagation.analytical.tle.TLE; import org.orekit.propagation.analytical.tle.TLE;
import org.orekit.propagation.analytical.tle.TLEPropagator; import org.orekit.propagation.analytical.tle.TLEPropagator;
import org.orekit.time.AbsoluteDate; import org.orekit.time.AbsoluteDate;
import org.orekit.time.DateComponents;
import org.orekit.time.GPSDate; import org.orekit.time.GPSDate;
import org.orekit.time.TimeScalesFactory; import org.orekit.time.TimeScalesFactory;
import org.orekit.utils.CartesianDerivativesFilter; import org.orekit.utils.CartesianDerivativesFilter;
...@@ -51,6 +52,7 @@ public class GPSPropagatorTest { ...@@ -51,6 +52,7 @@ public class GPSPropagatorTest {
@BeforeClass @BeforeClass
public static void setUpBeforeClass() { public static void setUpBeforeClass() {
Utils.setDataRoot("gnss"); Utils.setDataRoot("gnss");
GPSDate.setRolloverReference(new DateComponents(DateComponents.GPS_EPOCH, 7 * 512));
// Get the parser to read a SEM file // Get the parser to read a SEM file
SEMParser reader = new SEMParser(null); SEMParser reader = new SEMParser(null);
// Reads the SEM file // Reads the SEM file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment