« Basic principle » : différence entre les versions

De Gentleman
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
 
(2 versions intermédiaires par le même utilisateur non affichées)
Ligne 17 : Ligne 17 :
:3. Initialize a <font color=#556B2F>'''GENTLEMAN'''</font> [{{PathCurrentJavaDoc}}/fr/cnes/dynvol/gentleman/calc/data/tle/GtmObjectData.html GtmObjectData] object to characterize the considered space object (see [[API_TLE_data|here]]).
:3. Initialize a <font color=#556B2F>'''GENTLEMAN'''</font> [{{PathCurrentJavaDoc}}/fr/cnes/dynvol/gentleman/calc/data/tle/GtmObjectData.html GtmObjectData] object to characterize the considered space object (see [[API_TLE_data|here]]).


:4. Initialize a <font color=#556B2F>'''GENTLEMAN'''</font> <font color=#FF8C00 title="Two Lines Elements">TLE</font> data object to define how <font color=#FF8C00 title="Two Lines Elements">TLE(s)</font> will be built.
:4. Initialize a <font color=#556B2F>'''GENTLEMAN'''</font> <font color=#FF8C00 title="Two Lines Elements">TLE</font> data object to define how <font color=#FF8C00 title="Two Lines Elements">TLE(s)</font> will be built (see [[API_TLE_options|here]]).


:5. Initialize a <font color=#556B2F>'''GENTLEMAN'''</font> [{{PathCurrentJavaDoc}}/fr/cnes/dynvol/gentleman/calc/tles/GtmBuilder.html GtmBuilder] builder object.
:5. Initialize a <font color=#556B2F>'''GENTLEMAN'''</font> [{{PathCurrentJavaDoc}}/fr/cnes/dynvol/gentleman/calc/tles/GtmBuilder.html GtmBuilder] builder object then call the needed method of this builder object to generate <font color=#FF8C00 title="Two Lines Elements">TLE(s)</font> (see [[API_TLE_generation|here]]).
 
:6. Call the needed method of the builder object.
 
:7. Get the results via getters methods.

Dernière version du 10 septembre 2021 à 15:32

GENTLEMAN proposes a Java interface. Using this Java interface is relatively simple but as GENTLEMAN needs a lot of data as inputs the most important difficulty will be to initialize them.

So, the developer will have to:

1. Initialize data set and loggers:
  // Patrius dataset initialization
  PatriusDataset.addResourcesFromPatriusDataset();
        
  // Log4j initialization
  GtmLogger.iniLog4j(GtmConstants.DEF_LOG_FILE, false);
2. Initialize a GENTLEMAN propagator then execute the propagation (see here).
3. Initialize a GENTLEMAN GtmObjectData object to characterize the considered space object (see here).
4. Initialize a GENTLEMAN TLE data object to define how TLE(s) will be built (see here).
5. Initialize a GENTLEMAN GtmBuilder builder object then call the needed method of this builder object to generate TLE(s) (see here).