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

Updated FixedRotation constructor.

parent a078ce20
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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