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