From eb20dda221608fb9f5420252bfbddc7a12a4a2e3 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 19 May 2022 17:52:46 +0200 Subject: [PATCH 1/2] small fix for yocto script --- scripts/install-obsw-yocto.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install-obsw-yocto.sh b/scripts/install-obsw-yocto.sh index c27b67aa..059d7244 100755 --- a/scripts/install-obsw-yocto.sh +++ b/scripts/install-obsw-yocto.sh @@ -2,8 +2,8 @@ # This is a helper script to install the compiles EIVE OBSW files # into the yocto repository to re-generate the mission root filesystem build_dir=cmake-build-release-q7s -if [ !-z ${1} ]; then - if [ ${1} == "em" ]; then +if [ ! -z ${1} ]; then + if [[ "${1}" == "em" ]]; then echo "-I- Installing EM binaries" build_dir=cmake-build-release-q7s-em fi From a63e87f5f4d2c7618a1d2fa99db2f95e99db9d50 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 19 May 2022 18:46:49 +0200 Subject: [PATCH 2/2] subscribe for periodic core ctrl packet --- bsp_q7s/core/CoreController.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp_q7s/core/CoreController.cpp b/bsp_q7s/core/CoreController.cpp index 208999c2..5419e7a9 100644 --- a/bsp_q7s/core/CoreController.cpp +++ b/bsp_q7s/core/CoreController.cpp @@ -87,6 +87,7 @@ ReturnValue_t CoreController::initializeLocalDataPool(localpool::DataPool &local localDataPoolMap.emplace(core::TEMPERATURE, new PoolEntry({0})); localDataPoolMap.emplace(core::PS_VOLTAGE, new PoolEntry({0})); localDataPoolMap.emplace(core::PL_VOLTAGE, new PoolEntry({0})); + poolManager.subscribeForPeriodicPacket(hkSet.getSid(), false, 10.0, false); return HasReturnvaluesIF::RETURN_OK; }