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
66e14e74
Commit
66e14e74
authored
10 years ago
by
Luc Maisonobe
Browse files
Options
Downloads
Patches
Plain Diff
Backport several fixes from the forge wiki.
parent
f6c6f818
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/site/markdown/tutorials/direct-location.md
+4
-5
4 additions, 5 deletions
src/site/markdown/tutorials/direct-location.md
with
4 additions
and
5 deletions
src/site/markdown/tutorials/direct-location.md
+
4
−
5
View file @
66e14e74
...
...
@@ -190,10 +190,10 @@ Finally we can initialize Rugged. It looks like this:
import org.orekit.rugged.api.EllipsoidId;
import org.orekit.rugged.api.InertialFrameId;
import org.orekit.rugged.api.Rugged;
import org.orekit.rugged.api.RuggedBuilder;
import org.orekit.rugged.errors.RuggedException;
import org.orekit.utils.AngularDerivativesFilter;
import org.orekit.utils.CartesianDerivativesFilter;
import org.orekit.utils.IERSConventions;
Rugged rugged = new RuggedBuilder().
setAlgorithm(demAlgoId).
setDigitalElevationModel(demTileUpdater, nbTiles).
...
...
@@ -225,7 +225,7 @@ Elevation Model in this tutorial, we could have omitted this call and it would h
We preferred to let it in so users do not forget to set the Digital Elevation Model for intersection
algorithms that really use them. As the model will be ignored, we can put the parameters for this
setter to
`null`
and
`0`
. Of course if another algorithm had been chosen, null parameters would clearly
not work, this is explained in another tutorial:
[
[Direct
L
ocation
W
ith
DEM|D
irect
location
with
a DEM]]
.
not work, this is explained in another tutorial:
[
Direct
l
ocation
w
ith
a DEM
](
d
irect
-
location
-
with
-DEM.html
)
.
The
*setEllipsoid*
setter defines the shape and orientation of the ellipsoid. We use simple predefined enumerates:
`EllipsoidId.WGS84`
,
`InertialFrameId.EME2000`
, but could also use a custom ellipsoid if needed.
...
...
@@ -246,14 +246,13 @@ final timeTolerance parameter is simply a margin used before and after the final
allow a slight extrapolation if during a search the interval is slightly overshoot. A typical value is
to allow a few images lines so for example a 5 lines tolerance would imply computing the tolerance as:
timeTolerance = 5 / lineSensor.getRate(0)).
`BodyRotatingFrameId.ITRF`
The
*setTrajectory*
setter defines the spacecraft evolution. The arguments are the list of time-stamped positions and
velocities as well as the inertial frame with respect to which they are defined and options for interpolation:
number of points to use and type of filter for derivatives. The interpolation polynomials for nbPVPoints
without any derivatives (case of CartesianDerivativesFilter.USE_P: only positions are used, without velocities)
without any derivatives (case of
`
CartesianDerivativesFilter.USE_P
`
: only positions are used, without velocities)
have a degree nbPVPoints - 1. In case of computation with velocities included (case of
CartesianDerivativesFilter.USE_PV), the interpolation polynomials have a degree 2
*
nbPVPoints - 1. If the
`
CartesianDerivativesFilter.USE_PV
`
), the interpolation polynomials have a degree 2
*
nbPVPoints - 1. If the
positions/velocities data are of good quality and separated by a few seconds, one may choose only a few points
but interpolate with both positions and velocities; in other cases, one may choose more points but interpolate
only with positions. We find similar arguments for the attitude quaternions.
...
...
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