GPAttitudeSequence
Aller à la navigation
Aller à la recherche
How to call it
For using the GPAttitudeSequence class the developer has only to create such an object with these two possibilities:
- With just a boolean to tell if the switches will be displayed one below the other (false) one or just one by one (true)
attSeq = new GPAttitudeSequence(false);
- Or with an additional parameter that corresponds to an absolute date which will be used as a reference date (for relative positioning of attitude laws).
AbsoluteDate date0 =
new AbsoluteDate(2010, 1, 1, TimeScalesFactory.getUTC());
attSeq = new GPAttitudeSequence(date0, false);
Display
Reference date
First, the user will have to select a reference date. There are two possibilities:
- “custom”: a specific date will be entered by the user
- “external”: in that case no modification of the date is available as it corresponds to the date initially defined (note that this date may be automatically updated if the initial orbit date is modified).
Listof attitude laws
Then, a button appears that allows displaying a new window to define a set of available attitude laws. Each law is defined as below:
- Name of the law
- Type of the law (local orbital frame (LOF), inertial, sun pointing …)
- Law evolution (constant or spinned)
- Then data linked to the type of law. As an example for LOF attitude law, the user will have to select which LOF to take into account and eventually angle bias.
Sequence
At last, the user will get a choice between:
- A simple attitude sequence with only a single law chosen in the previous list (not available in V1.2.1 version)
- A more sophisticated definition of the attitude sequence using the PATRIUS “event switch” possibility. The user will have to define one or several switches defined by the following data:
- The attitude law before the event (taken in the previous list)
- The attitude law once the event occurred (taken in the previous list)
- The type of event and data related to it.
This “event switch” is a very powerful option that allows defining relatively shortly a whole mission. For example, if we want to define the fact that the vehicle is LVLH oriented in eclipse and Sun pointing out of eclipse, we will only have to define two switches calling to two attitude laws:
- Switch #1 with entering in eclipse as orbital event and law before "Sun pointing" and law after "LVLH"
- Switch #2 with exiting in eclipse as orbital event and law before "LVLH" and law after "Sun pointing"