Commit 4de33487 authored by Bryan Cazabonne's avatar Bryan Cazabonne
Browse files

Fixed checkstyle warnings.

parent 33a078a6
Pipeline #2471 passed with stages
in 15 minutes and 59 seconds
......@@ -300,7 +300,7 @@ public class Ephemeris extends AbstractAnalyticalPropagator implements BoundedPr
protected AbstractMatricesHarvester createHarvester(final String stmName, final RealMatrix initialStm,
final DoubleArrayDictionary initialJacobianColumns) {
// In order to not throw an Orekit exception during ephemeris based orbit determination
// The default behavior of the method is overrided to return a null parameter
// The default behavior of the method is overrided to return a null parameter
return null;
}
......
......@@ -38,8 +38,11 @@ import org.orekit.utils.ParameterDriversList;
*/
public class EphemerisPropagatorBuilder extends AbstractPropagatorBuilder implements OrbitDeterminationPropagatorBuilder {
/** List of spacecraft states. */
private final List<SpacecraftState> states;
/** Default position scale (not used for ephemeris based estimation). */
private static final double DEFAULT_SCALE = 10.0;
/** List of spacecraft states. */
private final List<SpacecraftState> states;
/** The extrapolation threshold beyond which the propagation will fail. **/
private final double extrapolationThreshold;
......@@ -50,30 +53,29 @@ public class EphemerisPropagatorBuilder extends AbstractPropagatorBuilder implem
/** Attitude provider. */
private final AttitudeProvider provider;
/** Constructor.
* @param states list of spacecraft states
* @param interpolationPoints number of points to use in interpolation
* @param extrapolationThreshold the extrapolation threshold beyond which the propagation will fail
* @param attitudeProvider
* @param angle attitude provider
*/
public EphemerisPropagatorBuilder(final List<SpacecraftState> states,
/** Constructor.
* @param states list of spacecraft states
* @param interpolationPoints number of points to use in interpolation
* @param extrapolationThreshold the extrapolation threshold beyond which the propagation will fail
* @param attitudeProvider attitude provider
*/
public EphemerisPropagatorBuilder(final List<SpacecraftState> states,
final int interpolationPoints,
final double extrapolationThreshold,
final AttitudeProvider attitudeProvider) {
super(states.get(0).getOrbit(), PositionAngle.TRUE, 1.0, false, attitudeProvider);
deselectDynamicParameters();
this.states = states;
this.interpolationPoints = interpolationPoints;
this.extrapolationThreshold = extrapolationThreshold;
this.provider = attitudeProvider;
}
super(states.get(0).getOrbit(), PositionAngle.TRUE, DEFAULT_SCALE, false, attitudeProvider);
deselectDynamicParameters();
this.states = states;
this.interpolationPoints = interpolationPoints;
this.extrapolationThreshold = extrapolationThreshold;
this.provider = attitudeProvider;
}
/** {@inheritDoc}. */
@Override
public Propagator buildPropagator(final double[] normalizedParameters) {
return new Ephemeris(states, interpolationPoints, extrapolationThreshold, provider);
}
/** {@inheritDoc}. */
@Override
public Propagator buildPropagator(final double[] normalizedParameters) {
return new Ephemeris(states, interpolationPoints, extrapolationThreshold, provider);
}
/** {@inheritDoc} */
@Override
......
Supports Markdown
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