Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Rugged
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Orekit
Rugged
Commits
8f78ad87
Commit
8f78ad87
authored
7 years ago
by
Guylaine Prat
Browse files
Options
Downloads
Patches
Plain Diff
Remove useless method
parent
0a0e6861
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/tutorials/java/fr/cs/examples/refiningPleiades/models/OrbitModel.java
+0
-34
0 additions, 34 deletions
...va/fr/cs/examples/refiningPleiades/models/OrbitModel.java
with
0 additions
and
34 deletions
src/tutorials/java/fr/cs/examples/refiningPleiades/models/OrbitModel.java
+
0
−
34
View file @
8f78ad87
...
@@ -250,40 +250,6 @@ public class OrbitModel {
...
@@ -250,40 +250,6 @@ public class OrbitModel {
}
}
}
}
/** Create the orbit propagator.
*/
public
Propagator
createPropagator
(
final
BodyShape
earth
,
final
NormalizedSphericalHarmonicsProvider
gravityField
,
final
Orbit
orbit
)
throws
OrekitException
{
final
AttitudeProvider
attitudeProvider
=
createAttitudeProvider
(
earth
,
orbit
);
final
SpacecraftState
state
=
new
SpacecraftState
(
orbit
,
attitudeProvider
.
getAttitude
(
orbit
,
orbit
.
getDate
(),
orbit
.
getFrame
()),
1180.0
);
// numerical model for improving orbit
final
OrbitType
type
=
OrbitType
.
CIRCULAR
;
final
double
[][]
tolerances
=
NumericalPropagator
.
tolerances
(
0.1
,
orbit
,
type
);
final
DormandPrince853Integrator
integrator
=
new
DormandPrince853Integrator
(
1.0
e
-
4
*
orbit
.
getKeplerianPeriod
(),
1.0
e
-
1
*
orbit
.
getKeplerianPeriod
(),
tolerances
[
0
],
tolerances
[
1
]);
integrator
.
setInitialStepSize
(
1.0
e
-
2
*
orbit
.
getKeplerianPeriod
());
final
NumericalPropagator
numericalPropagator
=
new
NumericalPropagator
(
integrator
);
numericalPropagator
.
addForceModel
(
new
HolmesFeatherstoneAttractionModel
(
earth
.
getBodyFrame
(),
gravityField
));
numericalPropagator
.
addForceModel
(
new
ThirdBodyAttraction
(
CelestialBodyFactory
.
getSun
()));
numericalPropagator
.
addForceModel
(
new
ThirdBodyAttraction
(
CelestialBodyFactory
.
getMoon
()));
numericalPropagator
.
setOrbitType
(
type
);
numericalPropagator
.
setInitialState
(
state
);
numericalPropagator
.
setAttitudeProvider
(
attitudeProvider
);
return
numericalPropagator
;
}
/** Generate the orbit.
/** Generate the orbit.
*/
*/
public
List
<
TimeStampedPVCoordinates
>
orbitToPV
(
final
Orbit
orbit
,
final
BodyShape
earth
,
public
List
<
TimeStampedPVCoordinates
>
orbitToPV
(
final
Orbit
orbit
,
final
BodyShape
earth
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment