From 24e9c25ba4c677ae900b6ad477272ae32bd3bc0d Mon Sep 17 00:00:00 2001 From: Jakob Meier Date: Wed, 22 Feb 2023 14:50:12 +0100 Subject: [PATCH 01/11] parameter commands for pdec handler --- eive_tmtc/pus_tc/cmd_definitions.py | 8 ---- eive_tmtc/pus_tc/procedure_packer.py | 3 +- eive_tmtc/tmtc/com/pdec_handler.py | 67 ++++++++++++++++++++++++++-- 3 files changed, 65 insertions(+), 13 deletions(-) diff --git a/eive_tmtc/pus_tc/cmd_definitions.py b/eive_tmtc/pus_tc/cmd_definitions.py index 950796a..bf2659d 100644 --- a/eive_tmtc/pus_tc/cmd_definitions.py +++ b/eive_tmtc/pus_tc/cmd_definitions.py @@ -23,14 +23,6 @@ def get_eive_service_op_code_dict() -> TmtcDefinitionWrapper: return def_wrapper -@tmtc_definitions_provider -def add_pdec_cmds(defs: TmtcDefinitionWrapper): - oce = OpCodeEntry() - oce.add("0", "PDEC Handler: Print CLCW") - oce.add("1", "PDEC Handler: Print PDEC monitor") - defs.add_service(CustomServiceList.PDEC_HANDLER.value, "PDEC Handler", oce) - - @tmtc_definitions_provider def add_str_cmds(defs: TmtcDefinitionWrapper): oce = OpCodeEntry() diff --git a/eive_tmtc/pus_tc/procedure_packer.py b/eive_tmtc/pus_tc/procedure_packer.py index 853977c..7560ca9 100644 --- a/eive_tmtc/pus_tc/procedure_packer.py +++ b/eive_tmtc/pus_tc/procedure_packer.py @@ -32,6 +32,7 @@ from eive_tmtc.tmtc.com.ccsds_handler import pack_ccsds_handler_test from eive_tmtc.tmtc.core import pack_core_commands from eive_tmtc.tmtc.acs.star_tracker import pack_star_tracker_commands from eive_tmtc.tmtc.com.syrlinks_handler import pack_syrlinks_command +from eive_tmtc.tmtc.com.pdec_handler import pack_pdec_handler_test from eive_tmtc.tmtc.acs.acs_board import pack_acs_command from eive_tmtc.config.definitions import CustomServiceList from eive_tmtc.config.object_ids import ( @@ -170,7 +171,7 @@ def handle_default_procedure( object_id=object_id, q=queue_helper, op_code=op_code ) if service == CustomServiceList.PDEC_HANDLER.value: - return pack_ccsds_handler_test( + return pack_pdec_handler_test( object_id=PDEC_HANDLER_ID, q=queue_helper, op_code=op_code ) if service == CustomServiceList.SYRLINKS.value: diff --git a/eive_tmtc/tmtc/com/pdec_handler.py b/eive_tmtc/tmtc/com/pdec_handler.py index ec60190..c11d99c 100644 --- a/eive_tmtc/tmtc/com/pdec_handler.py +++ b/eive_tmtc/tmtc/com/pdec_handler.py @@ -8,6 +8,22 @@ from spacepackets.ecss.tc import PusTelecommand from tmtccmd.tc import DefaultPusQueueHelper +from tmtccmd.tc.pus_20_fsfw_param import ( + create_load_param_cmd +) + +from tmtccmd.pus.s20_fsfw_param_defs import ( + create_scalar_u8_parameter +) + +from tmtccmd.config.tmtc import ( + tmtc_definitions_provider, + TmtcDefinitionWrapper, + OpCodeEntry, +) + +from eive_tmtc.config.definitions import CustomServiceList + class CommandId: # prints the clcw to the console. Useful for debugging @@ -16,15 +32,58 @@ class CommandId: PRINT_PDEC_MON = bytearray([0x0, 0x0, 0x0, 0x1]) +class ParameterId: + POSITIVE_WINDOW = 0 + NEGATIVE_WINDOW = 1 + + +class OpCode: + PRINT_CLCW = "print_clcw" + PRINT_MON_REG = "print_mon_reg" + POSITIVE_WINDOW = "positive_window" + NEGATIVE_WINDOW = "negative_window" + + +class Info: + PRINT_CLCW = "Will cause the OBSW to print the current CLCW to the debug console" + PRINT_MON_REG = "Will cause the OBSW to print the PDEC monitor register to the console" + POSITIVE_WINDOW = "Change positive window parameter for AD frames" + NEGATIVE_WINDOW = "Change negative window parameter for AD frames" + + def pack_pdec_handler_test( object_id: bytearray, q: DefaultPusQueueHelper, op_code: str ): q.add_log_cmd(f"Testing PDEC handler with object id: {object_id.hex()}") - if op_code == "0": - q.add_log_cmd("PDEC Handler: Print CLCW") + prefix = "PDEC Handler " + if op_code == OpCode.PRINT_CLCW: + q.add_log_cmd(f"{prefix}: {Info.PRINT_CLCW}") command = object_id + CommandId.PRINT_CLCW q.add_pus_tc(PusTelecommand(service=8, subservice=128, app_data=command)) - if op_code == "1": - q.add_log_cmd("PDEC Handler: Print PDEC monitor register") + if op_code == OpCode.PRINT_MON_REG: + q.add_log_cmd(f"{prefix}: {Info.PRINT_MON_REG}") command = object_id + CommandId.PRINT_PDEC_MON q.add_pus_tc(PusTelecommand(service=8, subservice=128, app_data=command)) + if op_code == OpCode.POSITIVE_WINDOW: + q.add_log_cmd(f"{prefix}: {Info.POSITIVE_WINDOW}") + pw = int(input("Specify positive window to set: ")) + q.add_pus_tc( + create_load_param_cmd( + create_scalar_u8_parameter( + object_id, + 0, + ParameterId.POSITIVE_WINDOW, + pw, + ).pack() + ) + ) + + +@tmtc_definitions_provider +def add_pdec_cmds(defs: TmtcDefinitionWrapper): + oce = OpCodeEntry() + oce.add(OpCode.PRINT_CLCW, Info.PRINT_CLCW) + oce.add(OpCode.PRINT_MON_REG, Info.PRINT_MON_REG) + oce.add(OpCode.POSITIVE_WINDOW, Info.POSITIVE_WINDOW) + oce.add(OpCode.NEGATIVE_WINDOW, Info.NEGATIVE_WINDOW) + defs.add_service(CustomServiceList.PDEC_HANDLER.value, "PDEC Handler", oce) From 4eb470c72447fb90f74ee33681d1e9e75c932d0f Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 23 Feb 2023 15:13:35 +0100 Subject: [PATCH 02/11] prep v2.15.0 --- .flake8 | 17 ++++++++++++ CHANGELOG.md | 18 +++++++++++++ eive_tmtc/__init__.py | 4 +-- eive_tmtc/tmtc/acs/gyros.py | 43 ++++++++++++++++++++++------- eive_tmtc/tmtc/com/subsystem.py | 4 +-- pyproject.toml | 48 +++++++++++++++++++++++++++++++++ setup.cfg | 16 ----------- 7 files changed, 119 insertions(+), 31 deletions(-) create mode 100644 .flake8 create mode 100644 pyproject.toml diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..9dca1e5 --- /dev/null +++ b/.flake8 @@ -0,0 +1,17 @@ +[flake8] +max-line-length = 100 +ignore = D203, W503 +per-file-ignores = + */__init__.py: F401 +exclude = + .git, + __pycache__, + docs/conf.py, + old, + build, + dist, + venv +max-complexity = 10 +extend-ignore = + # See https://github.com/PyCQA/pycodestyle/issues/373 + E203, diff --git a/CHANGELOG.md b/CHANGELOG.md index aa7457f..5f658f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,24 @@ list yields a list of all related PRs for each release. # [unreleased] +# [v2.15.0] 2023-02-23 + +tmtccmd version v4.1.1 + +## Changed + +- Moved to `pyproject.toml` package file + +## Fixed + +- Correction in `tmtccmd` dependency, added missing function + +# [v2.14.0] 2023-02-22 + +## Changed + +- Generated CSV files for PDEC handler + # [v2.13.0] 2023-02-21 tmtccmd version 4.0.0 diff --git a/eive_tmtc/__init__.py b/eive_tmtc/__init__.py index b6e6626..eb854bc 100644 --- a/eive_tmtc/__init__.py +++ b/eive_tmtc/__init__.py @@ -1,11 +1,11 @@ -__version__ = "2.14.0" +__version__ = "2.15.0" import logging from pathlib import Path SW_NAME = "eive-tmtc" VERSION_MAJOR = 2 -VERSION_MINOR = 14 +VERSION_MINOR = 15 VERSION_REVISION = 0 EIVE_TMTC_ROOT = Path(__file__).parent diff --git a/eive_tmtc/tmtc/acs/gyros.py b/eive_tmtc/tmtc/acs/gyros.py index 66215f6..9ac60e0 100644 --- a/eive_tmtc/tmtc/acs/gyros.py +++ b/eive_tmtc/tmtc/acs/gyros.py @@ -6,8 +6,17 @@ from tmtccmd.tc import DefaultPusQueueHelper import eive_tmtc.config.object_ids as obj_ids from tmtccmd.tc.pus_3_fsfw_hk import create_request_one_hk_command, make_sid -from tmtccmd.config.tmtc import tmtc_definitions_provider, OpCodeEntry, TmtcDefinitionWrapper -from eive_tmtc.config.object_ids import GYRO_0_ADIS_HANDLER_ID, GYRO_1_L3G_HANDLER_ID, GYRO_2_ADIS_HANDLER_ID, GYRO_3_L3G_HANDLER_ID +from tmtccmd.config.tmtc import ( + tmtc_definitions_provider, + OpCodeEntry, + TmtcDefinitionWrapper, +) +from eive_tmtc.config.object_ids import ( + GYRO_0_ADIS_HANDLER_ID, + GYRO_1_L3G_HANDLER_ID, + GYRO_2_ADIS_HANDLER_ID, + GYRO_3_L3G_HANDLER_ID, +) from eive_tmtc.config.definitions import CustomServiceList from eive_tmtc.pus_tm.defs import PrintWrapper @@ -64,9 +73,13 @@ def handle_gyr_cmd(q: DefaultPusQueueHelper, op_code: str): if not is_adis: raise ValueError("No config HK for L3 device") q.add_log_cmd(f"Gyro {gyr_info[0]} CFG HK") - q.add_pus_tc(create_request_one_hk_command(make_sid(gyr_obj_id, AdisGyroSetId.CFG_HK))) + q.add_pus_tc( + create_request_one_hk_command(make_sid(gyr_obj_id, AdisGyroSetId.CFG_HK)) + ) else: - logging.getLogger(__name__).warning(f"invalid op code {op_code} for gyro command") + logging.getLogger(__name__).warning( + f"invalid op code {op_code} for gyro command" + ) def handle_gyros_hk_data( @@ -95,9 +108,15 @@ def handle_adis_gyro_hk( pw = PrintWrapper(printer) fmt_str = "!ddddddf" inc_len = struct.calcsize(fmt_str) - (ang_veloc_x, ang_veloc_y, ang_veloc_z, accel_x, accel_y, accel_z, temp) = struct.unpack( - fmt_str, hk_data[0 : 0 + inc_len] - ) + ( + ang_veloc_x, + ang_veloc_y, + ang_veloc_z, + accel_x, + accel_y, + accel_z, + temp, + ) = struct.unpack(fmt_str, hk_data[0 : 0 + inc_len]) pw.dlog(f"Received ADIS1650X Gyro HK data from object {object_id}") pw.dlog( f"Angular Velocities (degrees per second): X {ang_veloc_x} | " @@ -110,9 +129,13 @@ def handle_adis_gyro_hk( fmt_str = "!HBHHH" inc_len = struct.calcsize(fmt_str) print(len(hk_data)) - (diag_stat_reg, filter_setting, range_mdl, msc_ctrl_reg, dec_rate_reg) = struct.unpack( - fmt_str, hk_data[0 : 0 + inc_len] - ) + ( + diag_stat_reg, + filter_setting, + range_mdl, + msc_ctrl_reg, + dec_rate_reg, + ) = struct.unpack(fmt_str, hk_data[0 : 0 + inc_len]) pw.dlog(f"Diagnostic Status Register {diag_stat_reg:#018b}") pw.dlog(f"Range MDL {range_mdl}") pw.dlog(f"Filter Settings {filter_setting:#010b}") diff --git a/eive_tmtc/tmtc/com/subsystem.py b/eive_tmtc/tmtc/com/subsystem.py index d73a6e3..6bd6c14 100644 --- a/eive_tmtc/tmtc/com/subsystem.py +++ b/eive_tmtc/tmtc/com/subsystem.py @@ -21,9 +21,7 @@ from tmtccmd.tc.pus_20_fsfw_param import ( pack_scalar_u8_parameter_app_data, ) -from tmtccmd.pus.s20_fsfw_param_defs import ( - create_scalar_u32_parameter -) +from tmtccmd.pus.s20_fsfw_param import create_scalar_u32_parameter class ParameterId(enum.IntEnum): diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..56dc51c --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,48 @@ +[build-system] +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" + +[project] +name = "eive-tmtc" +description = "TMTC Commander EIVE" +readme = "README.md" +dynamic = ["version"] +requires-python = ">=3.10" +license = {text = "Apache-2.0"} +authors = [ + {name = "Robin Mueller", email = "muellerr@irs.uni-stuttgart.de"}, + {name = "Jakob Meier", email = "meierj@irs.uni-stuttgart.de"}, +] +keywords = ["eive", "space", "communication", "commanding"] +classifiers = [ + "Development Status :: 5 - Production/Stable", + "License :: OSI Approved :: Apache Software License", + "Natural Language :: English", + "Operating System :: POSIX", + "Operating System :: Microsoft :: Windows", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Topic :: Communications", + "Topic :: Software Development :: Libraries", + "Topic :: Software Development :: Libraries :: Python Modules", + "Topic :: Scientific/Engineering" +] +dependencies = [ + "tmtccmd ~= 4.0", + "python-dateutil ~= 2.8", + # tmtccmd @ git+https://github.com/robamu-org/tmtccmd@#egg=tmtccmd +] + +[project.urls] +"Homepage" = "https://egit.irs.uni-stuttgart.de/eive/eive-tmtc" + +[tool.setuptools] +include-package-data = true + +[tool.setuptools.dynamic] +version = {attr = "eive_tmtc.__version__"} + +# Auto-Discovery is problematic for some reason, so use custom-discovery +[tool.setuptools.packages] +find = {} diff --git a/setup.cfg b/setup.cfg index 4f754fe..ccf8625 100644 --- a/setup.cfg +++ b/setup.cfg @@ -36,19 +36,3 @@ include_package_data = True [options.extras_require] mib = - -[flake8] -max-line-length = 100 -ignore = D203, W503 -exclude = - .git, - __pycache__, - docs/conf.py, - old, - build, - dist, - venv -max-complexity = 10 -extend-ignore = - # See https://github.com/PyCQA/pycodestyle/issues/373 - E203, From ed640dbbb1dfde0bf0534853cbdf34ef0660c945 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 23 Feb 2023 15:16:35 +0100 Subject: [PATCH 03/11] add deprecation comment on setup.cfg --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index ccf8625..98a0397 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,4 @@ +# Obsolete and to be removed soon [metadata] name = eive-tmtc description = TMTC Commander EIVE From ddf19003765b363a55f3375143ab3eb545b4e6b8 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 23 Feb 2023 15:18:14 +0100 Subject: [PATCH 04/11] prep v2.15.1 --- CHANGELOG.md | 4 ++++ eive_tmtc/__init__.py | 4 ++-- pyproject.toml | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f658f0..60d4b68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ list yields a list of all related PRs for each release. # [unreleased] +# [v2.15.1] 2023-02-23 + +- Actually use `tmtccmd` 4.1 in requirements. + # [v2.15.0] 2023-02-23 tmtccmd version v4.1.1 diff --git a/eive_tmtc/__init__.py b/eive_tmtc/__init__.py index eb854bc..8852f02 100644 --- a/eive_tmtc/__init__.py +++ b/eive_tmtc/__init__.py @@ -1,4 +1,4 @@ -__version__ = "2.15.0" +__version__ = "2.15.1" import logging from pathlib import Path @@ -6,7 +6,7 @@ from pathlib import Path SW_NAME = "eive-tmtc" VERSION_MAJOR = 2 VERSION_MINOR = 15 -VERSION_REVISION = 0 +VERSION_REVISION = 1 EIVE_TMTC_ROOT = Path(__file__).parent PACKAGE_ROOT = EIVE_TMTC_ROOT.parent diff --git a/pyproject.toml b/pyproject.toml index 56dc51c..c1ef478 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ classifiers = [ "Topic :: Scientific/Engineering" ] dependencies = [ - "tmtccmd ~= 4.0", + "tmtccmd ~= 4.1", "python-dateutil ~= 2.8", # tmtccmd @ git+https://github.com/robamu-org/tmtccmd@#egg=tmtccmd ] From cf342fb14cbef21fe23547fbfd5c8463a986671e Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 23 Feb 2023 15:18:36 +0100 Subject: [PATCH 05/11] remove setup.cfg all together --- setup.cfg | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 setup.cfg diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 98a0397..0000000 --- a/setup.cfg +++ /dev/null @@ -1,39 +0,0 @@ -# Obsolete and to be removed soon -[metadata] -name = eive-tmtc -description = TMTC Commander EIVE -version = attr: eive_tmtc.__version__ -long_description = file: README.md -long_description_content_type = text/markdown -license = Apache-2.0 -author = Robin Mueller, Jakob Meier -author_email = muellerr@irs.uni-stuttgart.de -platform = any - -url = https://egit.irs.uni-stuttgart.de/eive/eive-tmtc -classifiers = - Development Status :: 5 - Production/Stable - Intended Audience :: Developers - License :: OSI Approved :: Apache Software License - Natural Language :: English - Operating System :: POSIX - Operating System :: Microsoft :: Windows - Programming Language :: Python :: 3 - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Topic :: Communications - Topic :: Software Development :: Libraries - Topic :: Software Development :: Libraries :: Python Modules - Topic :: Scientific/Engineering - -[options] -install_requires = - tmtccmd ~= 4.0 - python-dateutil ~= 2.8 - # tmtccmd @ git+https://github.com/robamu-org/tmtccmd@#egg=tmtccmd -packages = find: -python_requires = >=3.10 -include_package_data = True - -[options.extras_require] -mib = From 7e06043df736e167323f7df701291ee25071eba9 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 23 Feb 2023 15:19:09 +0100 Subject: [PATCH 06/11] changelog bump --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 60d4b68..f1db318 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ list yields a list of all related PRs for each release. # [v2.15.1] 2023-02-23 - Actually use `tmtccmd` 4.1 in requirements. +- Remove `setup.cfg` completely # [v2.15.0] 2023-02-23 From e47eb577fada9e1d84abc4d5fdd13862f5f4e7bf Mon Sep 17 00:00:00 2001 From: Jakob Meier Date: Thu, 23 Feb 2023 15:20:46 +0100 Subject: [PATCH 07/11] parameter command to set negative window for AD frames --- eive_tmtc/tmtc/com/pdec_handler.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/eive_tmtc/tmtc/com/pdec_handler.py b/eive_tmtc/tmtc/com/pdec_handler.py index c11d99c..508a5da 100644 --- a/eive_tmtc/tmtc/com/pdec_handler.py +++ b/eive_tmtc/tmtc/com/pdec_handler.py @@ -77,6 +77,19 @@ def pack_pdec_handler_test( ).pack() ) ) + if op_code == OpCode.NEGATIVE_WINDOW: + q.add_log_cmd(f"{prefix}: {Info.NEGATIVE_WINDOW}") + nw = int(input("Specify negative window to set: ")) + q.add_pus_tc( + create_load_param_cmd( + create_scalar_u8_parameter( + object_id, + 0, + ParameterId.NEGATIVE_WINDOW, + nw, + ).pack() + ) + ) @tmtc_definitions_provider From a04bd8aa738ca14cb3d5badffd00e91047730d5e Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 23 Feb 2023 15:21:58 +0100 Subject: [PATCH 08/11] update csvs --- eive_tmtc/config/events.csv | 2 ++ eive_tmtc/config/returnvalues.csv | 10 +++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/eive_tmtc/config/events.csv b/eive_tmtc/config/events.csv index f1188b4..4542daa 100644 --- a/eive_tmtc/config/events.csv +++ b/eive_tmtc/config/events.csv @@ -87,6 +87,8 @@ Event ID (dec); Event ID (hex); Name; Severity; Description; File Path 11200;0x2bc0;SAFE_RATE_VIOLATION;MEDIUM;No description;mission/acsDefs.h 11201;0x2bc1;SAFE_RATE_RECOVERY;MEDIUM;No description;mission/acsDefs.h 11202;0x2bc2;MULTIPLE_RW_INVALID;HIGH;No description;mission/acsDefs.h +11203;0x2bc3;MEKF_INVALID_INFO;INFO;No description;mission/acsDefs.h +11204;0x2bc4;MEKF_INVALID_MODE_VIOLATION;HIGH;No description;mission/acsDefs.h 11300;0x2c24;SWITCH_CMD_SENT;INFO;Indicates that a FSFW object requested setting a switch P1: 1 if on was requested, 0 for off | P2: Switch Index;mission/devices/devicedefinitions/powerDefinitions.h 11301;0x2c25;SWITCH_HAS_CHANGED;INFO;Indicated that a switch state has changed P1: New switch state, 1 for on, 0 for off | P2: Switch Index;mission/devices/devicedefinitions/powerDefinitions.h 11302;0x2c26;SWITCHING_Q7S_DENIED;MEDIUM;No description;mission/devices/devicedefinitions/powerDefinitions.h diff --git a/eive_tmtc/config/returnvalues.csv b/eive_tmtc/config/returnvalues.csv index 5b1dd40..449307c 100644 --- a/eive_tmtc/config/returnvalues.csv +++ b/eive_tmtc/config/returnvalues.csv @@ -53,9 +53,13 @@ Full ID (hex); Name; Description; Unique ID; Subsytem Name; File Path 0x6a01;ACSSAF_SafectrlMekfInputInvalid;No description;1;ACS_SAFE;mission/controller/acs/control/SafeCtrl.h 0x6b01;ACSPTG_PtgctrlMekfInputInvalid;No description;1;ACS_PTG;mission/controller/acs/control/PtgCtrl.h 0x6c01;ACSDTB_DetumbleNoSensordata;No description;1;ACS_DETUMBLE;mission/controller/acs/control/Detumble.h -0x6901;ACSKAL_KalmanNoGyrMeas;No description;1;ACS_KALMAN;mission/controller/acs/MultiplicativeKalmanFilter.h -0x6902;ACSKAL_KalmanNoModel;No description;2;ACS_KALMAN;mission/controller/acs/MultiplicativeKalmanFilter.h -0x6903;ACSKAL_KalmanInversionFailed;No description;3;ACS_KALMAN;mission/controller/acs/MultiplicativeKalmanFilter.h +0x6902;ACSKAL_KalmanUninitialized;No description;2;ACS_KALMAN;mission/controller/acs/MultiplicativeKalmanFilter.h +0x6903;ACSKAL_KalmanNoGyrData;No description;3;ACS_KALMAN;mission/controller/acs/MultiplicativeKalmanFilter.h +0x6904;ACSKAL_KalmanNoModelVectors;No description;4;ACS_KALMAN;mission/controller/acs/MultiplicativeKalmanFilter.h +0x6905;ACSKAL_KalmanNoSusMgmStrData;No description;5;ACS_KALMAN;mission/controller/acs/MultiplicativeKalmanFilter.h +0x6906;ACSKAL_KalmanCovarianceInversionFailed;No description;6;ACS_KALMAN;mission/controller/acs/MultiplicativeKalmanFilter.h +0x6907;ACSKAL_KalmanInitialized;No description;7;ACS_KALMAN;mission/controller/acs/MultiplicativeKalmanFilter.h +0x6908;ACSKAL_KalmanRunning;No description;8;ACS_KALMAN;mission/controller/acs/MultiplicativeKalmanFilter.h 0x4500;HSPI_OpeningFileFailed;No description;0;HAL_SPI;fsfw/src/fsfw_hal/linux/spi/SpiComIF.h 0x4501;HSPI_FullDuplexTransferFailed;No description;1;HAL_SPI;fsfw/src/fsfw_hal/linux/spi/SpiComIF.h 0x4502;HSPI_HalfDuplexTransferFailed;No description;2;HAL_SPI;fsfw/src/fsfw_hal/linux/spi/SpiComIF.h From 0bb1f57599bfa0120e527fb24ffddae425ef1910 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 23 Feb 2023 15:28:44 +0100 Subject: [PATCH 09/11] prep v2.15.2 --- CHANGELOG.md | 4 ++++ eive_tmtc/__init__.py | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f1db318..108f06e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ list yields a list of all related PRs for each release. # [unreleased] +# [v2.15.2] 2023-02-23 + +- Update of generated returnvalue and event files. + # [v2.15.1] 2023-02-23 - Actually use `tmtccmd` 4.1 in requirements. diff --git a/eive_tmtc/__init__.py b/eive_tmtc/__init__.py index 8852f02..430e480 100644 --- a/eive_tmtc/__init__.py +++ b/eive_tmtc/__init__.py @@ -1,4 +1,4 @@ -__version__ = "2.15.1" +__version__ = "2.15.2" import logging from pathlib import Path @@ -6,7 +6,7 @@ from pathlib import Path SW_NAME = "eive-tmtc" VERSION_MAJOR = 2 VERSION_MINOR = 15 -VERSION_REVISION = 1 +VERSION_REVISION = 2 EIVE_TMTC_ROOT = Path(__file__).parent PACKAGE_ROOT = EIVE_TMTC_ROOT.parent From 75a8712f9124ca1ea51f12aed4d66f6946d8231c Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 23 Feb 2023 15:39:53 +0100 Subject: [PATCH 10/11] skip private retval --- eive_tmtc/config/returnvalues.csv | 1 - 1 file changed, 1 deletion(-) diff --git a/eive_tmtc/config/returnvalues.csv b/eive_tmtc/config/returnvalues.csv index 449307c..6f215a9 100644 --- a/eive_tmtc/config/returnvalues.csv +++ b/eive_tmtc/config/returnvalues.csv @@ -2,7 +2,6 @@ Full ID (hex); Name; Description; Unique ID; Subsytem Name; File Path 0x0000;OK;System-wide code for ok.;0;HasReturnvaluesIF;fsfw/returnvalues/returnvalue.h 0x0001;Failed;Unspecified system-wide code for failed.;1;HasReturnvaluesIF;fsfw/returnvalues/returnvalue.h 0x63a0;NVMB_KeyNotExists;Specified key does not exist in json file;160;NVM_PARAM_BASE;mission/memory/NVMParameterBase.h -0x6300;NVMB_Busy;No description;0;NVM_PARAM_BASE;mission/system/objects/Stack5VHandler.h 0x5100;IMTQ_InvalidCommandCode;No description;0;IMTQ_HANDLER;mission/devices/devicedefinitions/imtqHelpers.h 0x5101;IMTQ_MgmMeasurementLowLevelError;No description;1;IMTQ_HANDLER;mission/devices/devicedefinitions/imtqHelpers.h 0x5102;IMTQ_ActuateCmdLowLevelError;No description;2;IMTQ_HANDLER;mission/devices/devicedefinitions/imtqHelpers.h From fda044c2ffd4134cca8d171c5575e6ad26730e13 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 23 Feb 2023 15:44:06 +0100 Subject: [PATCH 11/11] prep v2.16.0 --- CHANGELOG.md | 10 ++++++++++ eive_tmtc/__init__.py | 6 +++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f1db318..6cc4c69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,16 @@ list yields a list of all related PRs for each release. # [unreleased] +# [v2.16.0] 2023-02-23 + +## Added + +- PDEC parameter commands to change size of positive and negative window of AD frames- + +## Fixed + +- Added missing skip directive for private resultcode. + # [v2.15.1] 2023-02-23 - Actually use `tmtccmd` 4.1 in requirements. diff --git a/eive_tmtc/__init__.py b/eive_tmtc/__init__.py index 8852f02..ef2c5df 100644 --- a/eive_tmtc/__init__.py +++ b/eive_tmtc/__init__.py @@ -1,12 +1,12 @@ -__version__ = "2.15.1" +__version__ = "2.16.0" import logging from pathlib import Path SW_NAME = "eive-tmtc" VERSION_MAJOR = 2 -VERSION_MINOR = 15 -VERSION_REVISION = 1 +VERSION_MINOR = 16 +VERSION_REVISION = 0 EIVE_TMTC_ROOT = Path(__file__).parent PACKAGE_ROOT = EIVE_TMTC_ROOT.parent