Commit 3f578e88 authored by Luc Maisonobe's avatar Luc Maisonobe
Browse files

Replaced default attitude law.

parent 4cf60daa
Pipeline #1366 passed with stages
in 2 minutes and 39 seconds
......@@ -20,6 +20,7 @@ package org.orekit.tutorials.estimation.common;
import org.hipparchus.geometry.euclidean.threed.Vector3D;
import org.orekit.attitudes.AttitudeProvider;
import org.orekit.attitudes.BodyCenterPointing;
import org.orekit.attitudes.InertialProvider;
import org.orekit.attitudes.LofOffset;
import org.orekit.attitudes.NadirPointing;
import org.orekit.attitudes.YawCompensation;
......@@ -28,7 +29,6 @@ import org.orekit.bodies.CelestialBodyFactory;
import org.orekit.bodies.OneAxisEllipsoid;
import org.orekit.frames.Frame;
import org.orekit.frames.LOFType;
import org.orekit.propagation.Propagator;
/** Attitude modes.
* @author Luc Maisonobe
......@@ -41,7 +41,7 @@ enum AttitudeMode {
@Override
public AttitudeProvider getProvider(final Frame inertialFrame,
final OneAxisEllipsoid body) {
return Propagator.DEFAULT_LAW;
return InertialProvider.of(inertialFrame);
}
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment