« Basic Principle » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
(3 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 11 : | Ligne 11 : | ||
For the first point, there are two possibilities: | For the first point, there are two possibilities: | ||
* Calling directly the [[https://logiciels.cnes.fr/en/content/patriusdataset Patrius Dataset]] method: | * Calling directly the [[https://logiciels.cnes.fr/en/content/patriusdataset Patrius Dataset]] method: | ||
Ligne 20 : | Ligne 21 : | ||
* Or calling a specific <font color=#556B2F>'''PSIMU'''</font> method allowing to manage both [[https://logiciels.cnes.fr/en/content/patriusdataset Patrius Dataset]] included Inside the <font color=#556B2F>'''PSIMU'''</font> jar and local data (see [[ | * Or calling a specific <font color=#556B2F>'''PSIMU'''</font> method allowing to manage both [[https://logiciels.cnes.fr/en/content/patriusdataset Patrius Dataset]] included Inside the <font color=#556B2F>'''PSIMU'''</font> jar and local data (see [[Earth_Features#Frames configuration|here]]): | ||
<syntaxhighlight lang="java"> | <syntaxhighlight lang="java"> |
Dernière version du 16 décembre 2020 à 11:26
PSIMU proposed a Java interface
Most of the objects to pass as input data are [PATRIUS] ones. Some of them are specific to PSIMU or [GENOPUS] but, in that case, most of the time, it is due to the fact that these objects are not yet included in the used [PATRIUS] version: their name will then start by “Custom…”.
So, to use this Java interface, the developer will have to:
- Initialize [Patrius Dataset].
- Create a PSIMU object using its available constructor.
- Calling for the propagation in master or slave mode.
- Calling for “getter” methods to extract after the propagation all useful information.
For the first point, there are two possibilities:
- Calling directly the [Patrius Dataset] method:
// Patrius Dataset initialization
PatriusDataset.addResourcesFromPatriusDataset() ;
- Or calling a specific PSIMU method allowing to manage both [Patrius Dataset] included Inside the PSIMU jar and local data (see here):
// Patrius data set initialization
final String addDataName = AppPSimuConfigurationProperties.getInstance().getAdditionalPatriusFolder();
AppPSimuConfigurationProperties.iniPatriusDataset(addDataName);