User Manual 4.3 Multi Propagation : Différence entre versions

De Wiki
Aller à : navigation, rechercher
(Add attitude provider)
Ligne 4 : Ligne 4 :
 
*a [{{JavaDoc4.3}}/fr/cnes/sirius/patrius/attitudes/multi/MultiAttitudeProvider.html MultiAttitudeProvider] returning the attitude of one satellite correlated to the other using '''''setAttitudeProvider(MultiAttitudeProvider, String)'''''
 
*a [{{JavaDoc4.3}}/fr/cnes/sirius/patrius/attitudes/multi/MultiAttitudeProvider.html MultiAttitudeProvider] returning the attitude of one satellite correlated to the other using '''''setAttitudeProvider(MultiAttitudeProvider, String)'''''
  
Note that method '''''getAttitudeProvider()''''' always returns a '''''MultiAttitudeProvider''''' whether you provided a single or multi attitude provider.
+
Note that method <code>getAttitudeProvider()</code> always returns a <code>MultiAttitudeProvider</code> whether you provided a single or multi attitude provider.
If you provided a single '''''AttitudeProvider''''' then you can retrive it by calling '''''((MultiAttitudeProviderWrapper) multiNumericalPropagator.getAttitudeProvider()).getAttitudeProvider()'''''
+
If you provided a single <code>AttitudeProvider</code> then you can retrive it by calling <code>((MultiAttitudeProviderWrapper) multiNumericalPropagator.getAttitudeProvider()).getAttitudeProvider()</code>
  
 
[[Category:User_Manual_4.3_Orbit_Propagation]]
 
[[Category:User_Manual_4.3_Orbit_Propagation]]

Version du 18 mai 2019 à 19:40

Add attitude provider

The user could add :

  • an AttitudeProvider returning the independant attitude of one satellite using setAttitudeProvider(AttitudeProvider, String)
  • a MultiAttitudeProvider returning the attitude of one satellite correlated to the other using setAttitudeProvider(MultiAttitudeProvider, String)

Note that method getAttitudeProvider() always returns a MultiAttitudeProvider whether you provided a single or multi attitude provider. If you provided a single AttitudeProvider then you can retrive it by calling ((MultiAttitudeProviderWrapper) multiNumericalPropagator.getAttitudeProvider()).getAttitudeProvider()