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

Updated Rugged to latests official Orekit version.

parent c153976c
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@
<!-- COTS version -->
<rugged.orekit.version>11.0.1</rugged.orekit.version>
<rugged.orekit.version>11.0.2</rugged.orekit.version>
<rugged.junit.version>4.13.2</rugged.junit.version>
<!-- Compilers and Tools version -->
......
......@@ -248,12 +248,12 @@ public class OrbitModel {
propagator.propagate(minDate);
final List<TimeStampedPVCoordinates> list = new ArrayList<TimeStampedPVCoordinates>();
propagator.setMasterMode(step,
(currentState, isLast) ->
list.add(new TimeStampedPVCoordinates(currentState.getDate(),
currentState.getPVCoordinates().getPosition(),
currentState.getPVCoordinates().getVelocity(),
Vector3D.ZERO)));
propagator.getMultiplexer().add(step,
currentState ->
list.add(new TimeStampedPVCoordinates(currentState.getDate(),
currentState.getPVCoordinates().getPosition(),
currentState.getPVCoordinates().getVelocity(),
Vector3D.ZERO)));
propagator.propagate(maxDate);
return list;
......@@ -269,12 +269,12 @@ public class OrbitModel {
propagator.setAttitudeProvider(createAttitudeProvider(earth, orbit));
propagator.propagate(minDate);
final List<TimeStampedAngularCoordinates> list = new ArrayList<>();
propagator.setMasterMode(step,
(currentState, isLast) ->
list.add(new TimeStampedAngularCoordinates(currentState.getDate(),
currentState.getAttitude().getRotation(),
Vector3D.ZERO,
Vector3D.ZERO)));
propagator.getMultiplexer().add(step,
currentState ->
list.add(new TimeStampedAngularCoordinates(currentState.getDate(),
currentState.getAttitude().getRotation(),
Vector3D.ZERO,
Vector3D.ZERO)));
propagator.propagate(maxDate);
return list;
......
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