INSTRU: Issueshttps://hephaistos.lpp.polytechnique.fr/redmine/https://hephaistos.lpp.polytechnique.fr/redmine/redmine/favicon.ico?15080976012021-11-24T13:42:15ZRedmine
Redmine LFR-FSW - Feature #3905 (Closed): La TM_KCOEFF_DUMP n'a plus la structure dédcrite dans l'ICDhttps://hephaistos.lpp.polytechnique.fr/redmine/issues/39052021-11-24T13:42:15Zbruno katra
<p>L'ICD précise qu'un KCOEFF_DUMP contient :</p>
<p>n blocs de [KCOEFF_FREQ + 32xKCOEFF] où KCOEFF_FREQ est un UINT16 et KCOEFF des floats.</p>
<p>Or dans FSW > 3.3 : le paramètre KCOEFF_FREQ n'a plus de sens et son espace est utilisé pour stocker directement des floats.</p>
<p>Les conséquences :<br />- <del>Il faut mettre à jour la decom LFR (Bruno)</del> : <del>en cours</del> fait!<br />- <del>Le bouton du LFR GSE pour dumper les KCOEFF n'est plus utilisable car elle décommute à la volée selon l'ICD et donc lit 1 float sur 32 comme un entier 16 bits</del><br />- <del>Le champ BLOCK_NUMBER qui est 30 ou 6 (selon que c'est le 1er ou le 2eme paquet de KCOEFF_DUMP) n'est plus applicable, on pourrait le modifier pour qu'il donne le nombre de float à lire (changer les DEFINE dans le code du FSW)</del> : Alexis <del>> <strong>FAIT</strong><br /></del> Il va falloir prévenir Plasson ou Leeroy pour modifier l'ICD avec les remarques ci-dessus car le segment sol du LESIA l'utilise pour nous générer les L1 : Bruno</p> LFR-FSW - Feature #3221 (Closed): Test Watchdog https://hephaistos.lpp.polytechnique.fr/redmine/issues/32212018-11-16T13:31:32ZVeronique bouzid
<p>Version 3.2.0.24-gcov</p>
<p>La fonction watchdog_stop() du fichier fsw_misc.c n est jamais atteinte en utilisant la version du soft de GCOV.</p>
<p>Un test a été effectué à la main pour forcer le watcdog a se déclencher (ecrire du 0 dans le register correspondant ).</p>
<p>GPTIMER_BASE_ADDR=0x80000300<br />WATCHDOG_TIMER_OFFSET=0x20<br />def trigger_watchdog():<br />... SpwPlugin0.Write(GPTIMER_BASE_ADDR+WATCHDOG_TIMER_OFFSET,[3])<br />trigger_watchdog()</p>
<p>--> LFR s'arrete</p>
<p>Les 3 requirements liés au watchdog sont<br />SSS-CP-FS-520 (REQ-LFR-SRS-5230) Test couvert par SVS-0057 <br />SSS-CP-FS-530 (REQ-LFR-SRS-5231) Inspection<br />SSS-CP-FS-540 (REQ-LFR-SRS-5232) Inspection</p>
<p>Concernant le SSS-CP-FS-530, la couverture GCOV montre que la fonction watchdog_reload() (fichier fsw_misc.c) est appelée un tres grand nombre de fois. La fonction watchdog_stop () n a pas été atteinte durant la campagne de validation le version 3.2.0.24.</p>
<p>Concernant le SSS-CP-FS-540, un script manuel ecrit 0 dans le watchdog counter . LFR s'arrete.<br />Ce requirement est donc vérifié en inspection et en test.<br />L'utilisation de la fonction watchdog_stop() ne peut etre verifiée dans la version GCOV ( exit(0) et donc pas possible d envoyer TC_LFR_RESET).</p>
<p>Il faut donc mettre à jour la matrice de compliance et la SVS ( SVS-0058 et test_watchdog.py).</p> LFR-FSW - Feature #1068 (Closed): Champ CP_LFR_CALIB_ENABLED sur TC_LFR_UPDATE_INFOhttps://hephaistos.lpp.polytechnique.fr/redmine/issues/10682017-04-20T10:28:34ZVeronique bouzid
<p>Quand tu recois dans une TC_LFR_UPDATE_INFO, comment traites-tu le champ<br />CP_LFR_CALIB_ENABLED?<br />Vérifies-tu si ce champ est conforme avec le fait que la calibration a été demandée??</p> LFR-FSW - Feature #1038 (Closed): 3.2.0.12 (compilée au LPP)https://hephaistos.lpp.polytechnique.fr/redmine/issues/10382017-03-29T09:14:20Zbruno katra
<p>Version compilée sur le pc d'Alexis.</p>
<p>CHANGELOG :<br />Division by MOVING_AVERAGE removed to get correct scale factor</p> DECOM LFR - Feature #954 (Closed): Paramètres FBINS dans PAR_DUMPhttps://hephaistos.lpp.polytechnique.fr/redmine/issues/9542017-03-02T09:31:38Zbruno katraLFR-FSW - Feature #877 (Closed): Cppcheckhttps://hephaistos.lpp.polytechnique.fr/redmine/issues/8772017-01-03T22:39:58ZAlexis Jeandet
<p>J'ai ajouté le support de cppcheck pour le FSW, voir le pull request <a href="https://hephaistos.lpp.polytechnique.fr/rhodecode/HG_REPOSITORIES/LPP/INSTRUMENTATION/SOLO_LFR/DEV_PLE/pull-request/54" class="external">ici</a></p>
<p>voici ce que ça donne sur la R3+</p>
<p>à noter le:<br /><pre>
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:1058: error: Array 'binToRemove[3]' accessed at index 3, which is out of bounds.
</pre></p>
<pre>
FSW_cppcheck_test: Running cppcheck on target FSW...
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_globals.c:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 31 configurations. Use --force to check all
configurations.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_init.c:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 178 configurations. Use --force to check all c
onfigurations.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 38 configurations. Use --force to check all co
nfigurations.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:260: style: Variable 'status' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:272: style: Variable 'status' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:795: style: Variable 'hk_lfr_le_cnt' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:813: style: Variable 'hk_lfr_me_cnt' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:821: style: Variable 'hk_lfr_he_cnt' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/header/processing/fsw_processing.h:173: style: The scope of the variable 'sum' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/header/processing/fsw_processing.h:178: style: The scope of the variable 'isValid' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/LFR_basic-parameters/basic_parameters.h:39: style: The scope of the variable 'PSDB' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/LFR_basic-parameters/basic_parameters.h:40: style: The scope of the variable 'PSDE' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/LFR_basic-parameters/basic_parameters.h:41: style: The scope of the variable 'tmp' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/LFR_basic-parameters/basic_parameters.h:46: style: The scope of the variable 'tr_SB_SB' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/LFR_basic-parameters/basic_parameters.h:51: style: The scope of the variable 'ny' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/LFR_basic-parameters/basic_parameters.h:52: style: The scope of the variable 'nz' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/LFR_basic-parameters/basic_parameters.h:53: style: The scope of the variable 'bx_bx_star' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/LFR_basic-parameters/basic_parameters.h:55: style: The scope of the variable 'significand' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/LFR_basic-parameters/basic_parameters.h:61: style: The scope of the variable 'tmp_uint8' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/LFR_basic-parameters/basic_parameters.h:62: style: The scope of the variable 'pt_uint8' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/LFR_basic-parameters/basic_parameters.h:66: style: The scope of the variable 'psd' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/LFR_basic-parameters/basic_parameters.h:67: style: The scope of the variable 'exp' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/LFR_basic-parameters/basic_parameters.h:496: style: The scope of the variable 'aux' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/LFR_basic-parameters/basic_parameters.h:497: style: The scope of the variable 'significand' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/LFR_basic-parameters/basic_parameters.h:501: style: The scope of the variable 'pt_uint8' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/LFR_basic-parameters/basic_parameters.h:505: style: The scope of the variable 'autocor' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/LFR_basic-parameters/basic_parameters.h:506: style: The scope of the variable 'exp' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:434: style: The scope of the variable 'intEventOut' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:435: style: The scope of the variable 'coarse_time' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:436: style: The scope of the variable 'fine_time' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/LFR_basic-parameters/basic_parameters.h:169: style: Variable 'tmp_uint16' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/LFR_basic-parameters/basic_parameters.h:938: style: Variable 'pt_uint8' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/LFR_basic-parameters/basic_parameters.h:935: style: Variable 'tmp_uint16' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:88: style: Variable 'status_code' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:210: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:216: style: Variable 'j' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:418: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:401: style: Variable 'average_v' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:402: style: Variable 'average_e1' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:403: style: Variable 'average_e2' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:469: style: Variable 'coarse_time' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:470: style: Variable 'fine_time' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:792: style: Variable 'current_hk_lfr_he_cnt' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:222: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 37 configurations. Use --force to check a
ll configurations.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:105: style: Variable 'status' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:352: style: Variable 'status' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:424: style: Variable 'status' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:591: style: Variable 'status' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:1018: style: Variable 'header.time[0]' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:1019: style: Variable 'header.time[0]' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:1020: style: Variable 'header.time[0]' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:1021: style: Variable 'header.time[0]' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:1022: style: Variable 'header.time[0]' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:1048: style: Variable 'header.time[0]' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:1049: style: Variable 'header.time[0]' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:1050: style: Variable 'header.time[0]' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:1051: style: Variable 'header.time[0]' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:1052: style: Variable 'header.time[0]' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:1080: style: Variable 'header.time[0]' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:1081: style: Variable 'header.time[0]' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:1082: style: Variable 'header.time[0]' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:1083: style: Variable 'header.time[0]' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:1084: style: Variable 'header.time[0]' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:123: style: The scope of the variable 'len' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:1512: style: The scope of the variable 'length' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:193: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:591: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:649: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:652: style: Variable 'coarseTime' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:653: style: Variable 'fineTime' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:406: error: Uninitialized variable: status
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/lfr_cpu_usage_report.c:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 28 configurations. Use --force to
check all configurations.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf0_prc0.c:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 37 configurations. Use --force to
check all configurations.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf0_prc0.c:198: style: The scope of the variable 'nbSMInASMNORM' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf0_prc0.c:199: style: The scope of the variable 'nbSMInASMSBM' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf0_prc0.c:360: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf1_prc1.c:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 37 configurations. Use --force to
check all configurations.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf1_prc1.c:199: style: The scope of the variable 'nbSMInASMNORM' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf1_prc1.c:200: style: The scope of the variable 'nbSMInASMSBM' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf1_prc1.c:352: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf2_prc2.c:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 37 configurations. Use --force to
check all configurations.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf2_prc2.c:42: style: The scope of the variable 'nodeForAveraging' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf2_prc2.c:146: style: The scope of the variable 'nbSMInASMNORM' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf2_prc2.c:148: style: The scope of the variable 'localTime' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf2_prc2.c:264: style: The scope of the variable 'sum' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf2_prc2.c:238: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf2_prc2.c:184: style: Variable 'localTime' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/fsw_processing.c:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 37 configurations. Use --forc
e to check all configurations.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/fsw_processing.c:419: style: Variable 'packet.time[0]' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/fsw_processing.c:420: style: Variable 'packet.time[0]' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/fsw_processing.c:421: style: Variable 'packet.time[0]' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/fsw_processing.c:422: style: Variable 'packet.time[0]' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/fsw_processing.c:423: style: Variable 'packet.time[0]' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/fsw_processing.c:580: style: The scope of the variable 're' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/fsw_processing.c:581: style: The scope of the variable 'im' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/fsw_processing.c:594: style: The scope of the variable 're' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/fsw_processing.c:240: style: Variable 'status_code' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_acceptance.c:40: style: The scope of the variable 'tmp' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 39 configurations. Use --force to check all
configurations.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:1571: style: Boolean result is used in bitwise operation. Clarify expression with parentheses.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:322: style: Variable 'result' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:342: style: Variable 'result' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:521: style: Variable 'status' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:685: style: Variable 'status' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:694: style: Variable 'status' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:699: style: Variable 'status' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:739: style: Variable 'status' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:793: style: Variable 'status' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:798: style: Variable 'status' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:807: style: Variable 'status' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:861: style: Variable 'status' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:866: style: Variable 'status' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:875: style: Variable 'status' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:256: style: The scope of the variable 'val' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:478: style: The scope of the variable 'localCoarseTime' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:479: style: The scope of the variable 'deltaCoarseTime' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:1359: style: The scope of the variable 'data' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:1360: style: The scope of the variable 'val' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:1387: style: The scope of the variable 'val' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:1393: style: The scope of the variable 'dataPtr' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:1566: style: The scope of the variable 'requestedMode' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 37 configurations. Use --force
to check all configurations.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:68: style: Variable 'result' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:69: style: Variable 'result' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:70: style: Variable 'result' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:71: style: Variable 'result' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:72: style: Variable 'result' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:139: style: Variable 'flag' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:204: style: Variable 'flag' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:271: style: Variable 'flag' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:290: style: Variable 'flag' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:308: style: Variable 'flag' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:326: style: Variable 'flag' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:1319: style: Variable 'status' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:46: style: The scope of the variable 'result' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:91: style: The scope of the variable 'aux' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:158: style: The scope of the variable 'aux' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:223: style: The scope of the variable 'aux' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:1301: style: The scope of the variable 'kcoeffNormPtr' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:1302: style: The scope of the variable 'kcoeffSbmPtr_a' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:1303: style: The scope of the variable 'kcoeffSbmPtr_b' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:1266: style: Checking if unsigned variable 'sy_lfr_pas_filter_offset' is less than zero.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:1323: style: Unsigned variable 'sy_lfr_kcoeff_frequency' can't be negative so it is unnecessary to test it.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:72: style: Variable 'result' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:54: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:130: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:195: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:262: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:627: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:565: style: Variable 'sy_lfr_n_cwf_long_f3' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:1278: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:1222: style: Variable 'sy_lfr_pas_filter_enabled' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:1058: error: Array 'binToRemove[3]' accessed at index 3, which is out of bounds.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:1468: error: Array 'parameter_dump_packet.sy_lfr_fbins_f0_word1[4]' accessed at index 47, which is out of b
ounds.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:1483: error: Array 'parameter_dump_packet.sy_lfr_rw_mask_f0_word1[4]' accessed at index 47, which is out of
bounds.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tm_lfr_tc_exe.c:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 37 configurations. Use --force to check a
ll configurations.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tm_lfr_tc_exe.c:379: style: Variable 'packetLength' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 37 configurations. Use --force to check all
configurations.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:363: style: Variable 'status' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:364: style: Variable 'status' is reassigned a value before the old one has been used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:1256: style: The scope of the variable 'segmentation_grouping_flag' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:1257: style: The scope of the variable 'new_packet_sequence_control' can be reduced.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:863: style: Checking if unsigned variable 'nbSamplesPart1_asLong' is less than zero.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:134: style: Variable 'spare_status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:256: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:364: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:421: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:482: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:560: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:1313: style: Variable 'status' is assigned a value that is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/fsw_processing.c:313: style: The function 'SM_init_rings' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:603: style: The function 'WFP_init_rings' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:19: style: The function 'actn_task' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf0_prc0.c:37: style: The function 'avf0_task' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf1_prc1.c:38: style: The function 'avf1_task' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf2_prc2.c:36: style: The function 'avf2_task' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:338: style: The function 'avgv_task' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:1593: style: The function 'commutation_isr1' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:1600: style: The function 'commutation_isr2' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_handler.c:1475: style: The function 'configureCalibration' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:506: style: The function 'cwf1_task' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:437: style: The function 'cwf2_task' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:373: style: The function 'cwf3_task' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:423: style: The function 'dumb_task' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:153: style: The function 'enable_apbuart_transmitter' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:77: style: The function 'getRingNodeToSendSWF' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:228: style: The function 'hous_task' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:491: style: The function 'init_housekeeping_parameters' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf0_prc0.c:408: style: The function 'init_k_coefficients_prc0' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf1_prc1.c:393: style: The function 'init_k_coefficients_prc1' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf2_prc2.c:324: style: The function 'init_k_coefficients_prc2' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:1487: style: The function 'init_kcoefficients_dump' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/tc_load_dump_parameters.c:1401: style: The function 'init_parameter_dump' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:334: style: The function 'link_task' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:183: style: The function 'load_task' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf0_prc0.c:183: style: The function 'prc0_task' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf1_prc1.c:184: style: The function 'prc1_task' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/avf2_prc2.c:134: style: The function 'prc2_task' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:110: style: The function 'recv_task' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:600: style: The function 'send_dumb_hk' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:204: style: The function 'send_task' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:162: style: The function 'set_apbuart_scaler_reload_register' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:867: style: The function 'set_hk_lfr_ahb_correctable' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:1191: style: The function 'set_wfp_delta_f1' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:430: style: The function 'spacewire_configure_link' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:388: style: The function 'spacewire_open_link' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:409: style: The function 'spacewire_start_link' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/processing/fsw_processing.c:247: style: The function 'spectral_matrices_isr' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:30: style: The function 'spiq_task' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:567: style: The function 'swbd_task' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_spacewire.c:899: style: The function 'timecode_irq_handler' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:39: style: The function 'timer_start' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/fsw_misc.c:113: style: The function 'watchdog_stop' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:260: style: The function 'waveforms_isr' is never used.
/home/jeandet/Documents/prog/sparc/DEV_PLE (copie)/src/wf_handler.c:321: style: The function 'wfrm_task' is never used.
</pre> LFR-FSW - Feature #870 (Closed): R3++: Adaptations SSS4.3 et ICD4.3https://hephaistos.lpp.polytechnique.fr/redmine/issues/8702016-12-30T10:39:58ZVeronique bouzid
<p>Le travail laissé par Gérald s'appuyait sur les versions suivantes des documents de la R3+<br />- ICD 4.1<br />- SSS 4.1</p>
<p>Pour la R3++, les documents de références sont<br />- ICD 4.3<br />- SSS 4.3</p>
<p>Voici donc les évolutions à prendre en compte et à répercuter sur la SRS, la SVS et le soft de vol.</p>
<p><ins>SSS</ins> <br />non traité par Gérald<br />SSS-CP-EQS-526 a mean of the last 16 values of the electric field components sampled at f3</p>
<p>A modifier / à ce que Gérald a laissé<br />SSS-CP-EQS-750 16 S/C reaction wheel emission frequencies (in 4.1 = 8) + nouveau calcul du filtrage tenant compte des kxy factor coefficients<br />SSS-CP-EQS-751 16 S/C reaction wheel emission frequencies (in 4.1 = 8) dans TC_LFR_UPDATE_INFO packet<br />SSS-CP-EQS-752 16 S/C reaction wheel emission frequencies (in 4.1 = 8)<br />SSS-CP-EQS-753 SY_LFR_SC_RW_DELTA_F (default value 0.045) and kxy factor coefficients<br />SSS-CP-EQS-754 masques doivent tenir compte des kxy factor coeffcients</p>
<p>A créer<br />SSS-CP-EQS-755</p>
<p><ins>Concernant les modifs de l'ICD:</ins><br /><strong>Version 4.2</strong><br />TC_LFR_LOAD_NORMAL_PAR<br />SY_LFR_N_SWF_P (default value changed 300s au lieu de 2048)<br />TC_LFR_LOAD_FILTER_PAR<br />--> ajout des unités (rien pour nous)<br />TM_LFR_HK changé<br />--> nouvelle description du champ HK_LFR_SC_POTENTIAL_FLAG (??? pas trouvé)</p>
<p><strong>Version 4.3</strong><br />ATTENTION la TC_LFR_LOAD_FILTER_PAR a été modifiée mais n est<br />pas indiquée dans le changelog de l ICD. Bruno a ouvert un JIRA.<br />TC_LFR_LOAD_FILTER_PAR<br />ATTENTION la longueur de cette TC a changé elle vaut 92<br />--> ajout des champs SY_LFR_RW[1-4]_K[1-4]</p>
<p>TC_LFR_UPDATE_INFO<br />--> ajout des champs CP_RPW_SC_RW[1-4]_F[3-4]<br />--> suppression des champs CP_RPW_SC_RW[1-4]_F[1-2]_FLAG</p>
<p>TM_LFR_HK<br />--> suppression du champ HK_LFR_AHB_UNCORRECTABLE<br />Paul, cela impacte le calcul du compteur d'erreurs Medium Severity</p>
<p>--> ajout des champs de type HK_LFR_SC_RW[1-4]_F[3-4]<br />Paul ces flags ne sont plus recopiés de la TC_LFR_UPDATE_INFO mais calculés</p>
<p>TM_LFR_PARAMETER_DUMP<br />ATTENTION la longueur de cette TM a changé elle vaut 212<br />--> ajout des champs SY_LFR_PAS_FILTER_ENABLED_D SY_LFR_PAS_FILTER_MODULUS<br /> SY_LFR_PAS_FILTER_TBAD SY_LFR_PAS_FILTER_OFFSET SY_LFR_PAS_FILTER_SHIFT<br /> SY_LFR_RW_DELTA_F<br />--> ajout des champs SY_LFR_RW[1-4]_K[1-4]<br />--> ajout des champs PA_LFR_RW_MASK_F[0-2]_WORD[1-4]</p> LFR-FSW - Feature #827 (Closed): moyenne des données à 16 Hzhttps://hephaistos.lpp.polytechnique.fr/redmine/issues/8272016-11-03T09:03:16Zpaul leroy
<p>Faire la moyenne des données à 16 Hz avant transmission dans les paquets HK</p> LFR-FSW - Feature #705 (Closed): R3+: ICD 4.1 Adaptationshttps://hephaistos.lpp.polytechnique.fr/redmine/issues/7052016-06-08T11:56:36ZVeronique bouzid
<p>- <strong>Creer TC_LFR_LOAD_FILTER_PAR</strong><br /> - Classe + Detail<br /> description p59 ICD 4.1</p>
<p>- <strong>Modifier TM_LFR_PARAMETER_DUMP</strong><br /> - longueur est 148<br /> - ajouter section /SOURCE_DATA/LFR_FILTER_PARAMETERS/<br /> sauf le champ PA_RPW_SPARE8_2<br /> - ajouter section /SOURCE_DATA/LFR_RW_MASK<br /> - ajouter le champ PA_RPW_SPARE8_3</p>
<p>- <strong>Modifier TC_LFR_UPDATE_INFO</strong><br /> - ajouter section APPLICATION_DATA/UPDATE_INFO_PARAMETERS/UPDATE_INFO_PARAMETERS_SET8<br /> ( details pour decrire les champs)<br /> Les emplacements etaient taggés SPARE dans les versions précédentes</p>
<p>- <strong>Modifier TM_LFR_HK</strong><br /> - renommer le champ HK_LFR_MAG_FIELDS_FLAG en SY_LFR_PAS_FILTER_ENABLED<br /> (details pour décrire le champ)<br /> - ajouter la section SOURCE_DATA/PARAMETERS/REACTION_WHEELS_FREQUENCY<br /> - supprimer le champ PA_RPW_SPARE8_1<br /> (details pour décrire les champs)</p>
<p>- <strong>Modifier TM_LFR_TC_EXE_NOT_EXECUTABLE</strong><br /> - renommer le champ HK_LFR_MAG_FIELDS_FLAG en SY_LFR_PAS_FILTER_ENABLED<br /> (details pour décrire le champ)</p> LFR-FSW - Feature #691 (Closed): [R3+] Validation R3+https://hephaistos.lpp.polytechnique.fr/redmine/issues/6912016-05-23T14:32:27ZGerald Saule
<p>+LFR filtering of S/C reaction wheel emissions<br />+LFR filtering of PAS perturbations</p> LFR-FSW - Feature #588 (Closed): traitement des champs TIMECODE et TIME dans les paquets HKhttps://hephaistos.lpp.polytechnique.fr/redmine/issues/5882016-01-21T09:20:54Zpaul leroy
<p>Expliquer comment sont gérer les champs suivants dans les paquets HK:</p>
<p>SOURCE_DATA/PARAMETERS/ERRORS_COUNTERS/TIMECODE<br />HK_LFR_TIMECODE_ERRONEOUS --> 0<br />HK_LFR_TIMECODE_MISSING --> 0<br />HK_LFR_TIMECODE_INVALID --> 0</p>
<p>SOURCE_DATA/PARAMETERS/ERRORS_COUNTERS/TIME<br />HK_LFR_TIME_TIMECODE_IT --> 0<br />HK_LFR_TIME_TIMECODE_NOT_SYNCHRO --> 0</p> LFR-FSW - Feature #481 (Closed): Cohérence/Intégrité sur TC_LFR_LOAD_NORMAL_PARhttps://hephaistos.lpp.polytechnique.fr/redmine/issues/4812015-08-10T11:27:10ZVeronique bouzid
<p>Voici les régles appliquées pour valider las paramètres utilisés dans TC_LFR_LOAD_NORMAL_PAR:<br />6 parametres sont disponibles pour configurer le NORMAL MODE</p>
<p>SY_LFR_N_SWF_L <br />SY_LFR_N_SWP_P<br />SY_LFR_N_ASM_P<br />SY_LFR_N_BP_P0<br />SY_LFR_N_BP_P1 <br />SY_LFR_N_CWF_LONG_F3</p>
<p>Le parametre SY_LFR_N_CWF_LONG_F3 étant codé sur 1 bit,aucun test n'est effectué.</p>
<p>2 types de vérification sont effectués<br />- le parametre doit appartenir à son domaine de définition (cf ICD)<br />- le parametre doit etre coherent avec les objectifs scientifiques</p>
<p>Voici l'ordre dans lequel les parametres sont évalués</p>
<p>La référence est ICD 3.9</p>
<p><strong>SY_LFR_N_SWF_L</strong><br />--> ICD indique [16,2048] par défaut 2048<br />SY_LFR_N_SWF_L = 2048 --> VALEUR FIXEE, on ne peut pas la modifiée<br /> --> INCONSISTENT si cette valeur n'est pas 2048<br /> <strong>Voir s'il faut mettre à jour l'ICD</strong></p>
<p><strong>SY_LFR_N_SWP_P</strong> <br />--> ICD indique [16,65528] par défaut 300<br />SY_LFR_N_SWP_P < 16<br /> --> INCONSISTENT <br /><strong>Par contre 65528 n'est plus correcte (plus besoin de multiple de 8), on peut accepter 65535.<br /> --> Mettre à jour l'ICD</strong></p>
<p><strong>Attention, je me suis rendue compte que Le parametre SY_LFR_N_BP_P0 etait testé avant SY_LFR_N_ASM_P (cf Bug xxx)</strong></p>
<p><strong>SY_LFR_N_BP_P0</strong><br />Aucun domaine de définition valeur par défaut = 4<br />SY_LFR_N_BP_P0 < 4<br /> --> INCONSISTENT <br /> <strong>Voir s'il faut mettre à jour l'ICD</strong></p>
<p><strong>SY_LFR_N_ASM_P</strong><br />Aucun domaine de définition valeur par défaut = 3600s<br />SY_LFR_N_ASM_P = 0<br /> --> INCONSISTENT <br /> <strong>Voir s'il faut mettre à jour l'ICD</strong></p>
<p><strong>SY_LFR_N_BP_P1</strong> <br />Aucun domaine de définition valeur par défaut = 20s<br />SY_LFR_N_BP_P1 < 20<br /> --> INCONSISTENT <br /> <strong>Voir s'il faut mettre à jour l'ICD</strong></p>
<p><ins>Cohérence entre parametres</ins><br />Ces vérifications ne sont effectuées que si les paramètres respectent leur domaine de définition.</p>
<p>1- on accepte que SY_LFR_N_ASM_P = 4s si SY_LFR_N_BP_P0 = 4s par exemple, cela un sens scientifiquement<br />donc<br />si SY_LFR_N_ASM_P est un multiple de SY_LFR_N_BP_P0 --> OK</p>
<p>2- on accepte que SY_LFR_N_BP_P1 = 24 et SY_LFR_N_BP_P0 = 4s<br />donc<br />si SY_LFR_N_BP_P1 est un multiple de SY_LFR_N_BP_P0 --> OK</p>
<p>De meme SY_LFR_N_BP_P0 = SY_LFR_N_BP_P1 = 255 sera accepté</p> SciQLOP - Feature #466 (Closed): Add some extra formats to export datahttps://hephaistos.lpp.polytechnique.fr/redmine/issues/4662015-07-13T13:18:30ZAlexis Jeandet
<p>It may be a good feature to be able to export electric or magnetic fields to wav,mp3 or ogg formats. It as already been asked by users.</p> SciQLOP - Feature #435 (Closed): Full integration of IPython.https://hephaistos.lpp.polytechnique.fr/redmine/issues/4352015-06-11T16:25:42ZAlexis Jeandet
<p>Seems possible:</p>
<pre><code class="python syntaxhl"><span class="kn">from</span> <span class="nn">IPython</span> <span class="kn">import</span> <span class="n">embed</span><span class="p">;</span> <span class="n">embed</span><span class="p">()</span>
</code></pre>
<p>But gives this output:</p>
<pre><code class="python syntaxhl"><span class="n">Traceback</span> <span class="p">(</span><span class="n">most</span> <span class="n">recent</span> <span class="n">call</span> <span class="n">last</span><span class="p">):</span>
<span class="n">File</span> <span class="s">"<string>"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">2</span><span class="p">,</span> <span class="ow">in</span> <span class="o"><</span><span class="n">module</span><span class="o">></span>
<span class="n">File</span> <span class="s">"/usr/lib/python2.7/site-packages/IPython/terminal/embed.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">290</span><span class="p">,</span> <span class="ow">in</span> <span class="n">embed</span>
<span class="n">shell</span> <span class="o">=</span> <span class="n">InteractiveShellEmbed</span><span class="p">.</span><span class="n">instance</span><span class="p">(</span><span class="o">**</span><span class="n">kwargs</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/usr/lib/python2.7/site-packages/IPython/config/configurable.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">354</span><span class="p">,</span> <span class="ow">in</span> <span class="n">instance</span>
<span class="n">inst</span> <span class="o">=</span> <span class="n">cls</span><span class="p">(</span><span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/usr/lib/python2.7/site-packages/IPython/terminal/embed.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">92</span><span class="p">,</span> <span class="ow">in</span> <span class="n">__init__</span>
<span class="n">display_banner</span><span class="o">=</span><span class="n">display_banner</span>
<span class="n">File</span> <span class="s">"/usr/lib/python2.7/site-packages/IPython/terminal/interactiveshell.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">328</span><span class="p">,</span> <span class="ow">in</span> <span class="n">__init__</span>
<span class="o">**</span><span class="n">kwargs</span>
<span class="n">File</span> <span class="s">"/usr/lib/python2.7/site-packages/IPython/core/interactiveshell.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">483</span><span class="p">,</span> <span class="ow">in</span> <span class="n">__init__</span>
<span class="bp">self</span><span class="p">.</span><span class="n">init_readline</span><span class="p">()</span>
<span class="n">File</span> <span class="s">"/usr/lib/python2.7/site-packages/IPython/core/interactiveshell.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">1884</span><span class="p">,</span> <span class="ow">in</span> <span class="n">init_readline</span>
<span class="bp">self</span><span class="p">.</span><span class="n">refill_readline_hist</span><span class="p">()</span>
<span class="n">File</span> <span class="s">"/usr/lib/python2.7/site-packages/IPython/core/interactiveshell.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">1893</span><span class="p">,</span> <span class="ow">in</span> <span class="n">refill_readline_hist</span>
<span class="n">stdin_encoding</span> <span class="o">=</span> <span class="n">sys</span><span class="p">.</span><span class="n">stdin</span><span class="p">.</span><span class="n">encoding</span> <span class="ow">or</span> <span class="s">"utf-8"</span>
<span class="nb">AttributeError</span><span class="p">:</span> <span class="s">'PythonQtStdInRedirect'</span> <span class="nb">object</span> <span class="n">has</span> <span class="n">no</span> <span class="n">attribute</span> <span class="s">'encoding'</span>
</code></pre>
<p><a href="http://sourceforge.net/p/pythonqt/discussion/631393/thread/82f8056d/" class="external">here</a> we can find some hints about how to extend PythonQtStdIn.</p> SciQLOP - Feature #352 (Closed): visualisation des distribution moyennées ou au spin sur des inte...https://hephaistos.lpp.polytechnique.fr/redmine/issues/3522015-03-05T20:08:08ZNicolas Aunainicolas.aunai@lpp.polytechnique.fr
<p>L'idée est de pouvoir visualiser les distributions de particules de façon interactive en sélectionnant des intervalles sur des séries temporelles (par ex. de B). Les distributions seraient soit données au spin sur le nombre de spin/intervalles, ou moyennées sur les intervalles sélectionnés pour augmenter la stat. On devrait pouvoir les visualiser en mode projection (Vx,Vy) (Vx,Vz), (Vy,Vz), en GSE, en GSM, dans un repère donnée par l'utilisateur, ou alors dans un plan de coupe obtenu avec un curseur sur chaque dimension. On devrait aussi pouvoir les visualiser en 3D sous forme d'isocontour avec le niveau du contour changeable avec un curseur.<br />Sur ces distributions, on peut afficher diverses informations utiles comme :</p>
<p>la position de la vitesse moyenne<br />la position de la vitesse de dérive ExB dans le plan représenté<br />la direction locale du champ magnétique (ou moyennées sur l'intervalle de sélection)<br />une ellipse de demi grand et petit axes données par la température Perp et Para.</p>
<p>Afin de pouvoir voir l'effet de moyenne, on pourrait imaginer un curseur qui ferait dynamiquement la moyenne sur les N spins présents dans l'intervalle sélectionné.</p>
<p>On peut aussi afficher des informations, comme la valeur des températures perp/para, le coefficient de nongyrotropie de la distribution etc. a voir par la suite.</p>
<p>A voir plus tard : la visualisation de distributions sub-spin.</p>