GPAttitudeSequence

De Wiki
Révision de 29 juillet 2017 à 11:55 par Admin (discussion | contributions) (Page créée avec « == How to call it == For using the <font color=#4169E1>GPAttitudeSequence</font> class the developer has only to create such an object with these two possibilities: * Wi... »)

(diff) ← Version précédente | Voir la version courante (diff) | Version suivante → (diff)
Aller à : navigation, rechercher

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);