User Manual 4.3 Multi Propagation : Différence entre versions
De Wiki
(Page créée avec « === Add attitude provider === The user could add : *an [{{JavaDoc4.3}}/fr/cnes/sirius/patrius/attitudes/AttitudeProvider.html AttitudeProvider] returning the independant... ») |
|||
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()''''' returns | + | 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()''''' | ||
[[Category:User_Manual_4.3_Orbit_Propagation]] | [[Category:User_Manual_4.3_Orbit_Propagation]] |
Version du 18 mai 2019 à 19:39
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()