diff --git a/src/site/markdown/tutorials/direct-location.md b/src/site/markdown/tutorials/direct-location.md index 096228a96f89044e19668da4cfb7326aa8dfba6d..c5b951c9f93bbd5ce5de51241bde4f5184092de4 100644 --- a/src/site/markdown/tutorials/direct-location.md +++ b/src/site/markdown/tutorials/direct-location.md @@ -49,6 +49,7 @@ For this we need the following packages import org.orekit.rugged.los.LOSBuilder; import org.orekit.rugged.los.FixedRotation; import org.orekit.rugged.los.TimeDependentLOS; + org.orekit.rugged.utils.ParameterType; The raw viewing direction of pixel i with respect to the instrument is defined by the vector: @@ -64,7 +65,7 @@ The instrument is oriented 10° off nadir around the X-axis, we need to rotate t direction to obtain the line of sight in the satellite frame LOSBuilder losBuilder = new LOSBuilder(rawDirs); - losBuilder.addTransform(new FixedRotation(new Rotation(Vector3D.PLUS_I, FastMath.toRadians(10)))); + losBuilder.addTransform(new FixedRotation(ParameterType.FIXED, new Rotation(Vector3D.PLUS_I, FastMath.toRadians(10)))); Here we have considered that the viewing directions are constant with time, it is also possible to have time-dependent lines-of-sight by using other transforms. It is also possible to append several