Commit fe5873c3 authored by Bryan Cazabonne's avatar Bryan Cazabonne

Improved accuracy of DSST orbit determination tutorial.

parent 8c3daff6
......@@ -111,7 +111,7 @@ public class DSSTOrbitDetermination extends AbstractOrbitDetermination<DSSTPropa
final double positionScale) {
final EquinoctialOrbit equiOrbit = (EquinoctialOrbit) OrbitType.EQUINOCTIAL.convertType(referenceOrbit);
return new DSSTPropagatorBuilder(equiOrbit, builder, positionScale,
PropagationType.MEAN, PropagationType.MEAN);
PropagationType.OSCULATING, PropagationType.OSCULATING);
}
/** {@inheritDoc} */
......@@ -128,14 +128,11 @@ public class DSSTOrbitDetermination extends AbstractOrbitDetermination<DSSTPropa
// tesseral terms
final DSSTForceModel tesseral = new DSSTTesseral(body.getBodyFrame(),
Constants.WGS84_EARTH_ANGULAR_VELOCITY, gravityField,
gravityField.getMaxDegree(), gravityField.getMaxOrder(), 4, 12,
gravityField.getMaxDegree(), gravityField.getMaxOrder(), 4);
Constants.WGS84_EARTH_ANGULAR_VELOCITY, gravityField);
propagatorBuilder.addForceModel(tesseral);
// zonal terms
final DSSTForceModel zonal = new DSSTZonal(gravityField, gravityField.getMaxDegree(), 4,
2 * gravityField.getMaxDegree() + 1);
final DSSTForceModel zonal = new DSSTZonal(gravityField);
propagatorBuilder.addForceModel(zonal);
// gather all drivers
......
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