From 524f265ee34e745cb505bd38d38c118221da9f9d Mon Sep 17 00:00:00 2001 From: "Robin.Mueller" <robin.mueller.m@gmail.com> Date: Thu, 10 Sep 2020 21:26:53 +0200 Subject: [PATCH] fixed srv3 printout --- tm/obsw_tm_service_3.py | 3 +-- tmtc_core | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tm/obsw_tm_service_3.py b/tm/obsw_tm_service_3.py index 3acfad2..3fe2014 100644 --- a/tm/obsw_tm_service_3.py +++ b/tm/obsw_tm_service_3.py @@ -19,7 +19,6 @@ class Service3TM(PusTelemetry): def __init__(self, byte_array: bytearray): super().__init__(byte_array) # print("Length of TM data: " + str(len(self._tm_data))) - self.print_source_data() self.objectId = struct.unpack('!I', self._tm_data[0:4])[0] self.objectIdRaw = self._tm_data[0:4] self.setId = struct.unpack('!I', self._tm_data[4:8])[0] @@ -142,7 +141,7 @@ class Service3TM(PusTelemetry): if len(self._tm_data) < 21: LOGGER.error("Format of thermal sensor HK data might be invalid!") return - + self.hkHeader = ["AngVel X", "Ang Vel Y", "AngVel Z"] angular_velocity_x = struct.unpack('!f', self._tm_data[8:12])[0] angular_velocity_y = struct.unpack('!f', self._tm_data[12:16])[0] diff --git a/tmtc_core b/tmtc_core index fc82789..4848402 160000 --- a/tmtc_core +++ b/tmtc_core @@ -1 +1 @@ -Subproject commit fc827894676abd7fd464a15eea6d2aa510b7694b +Subproject commit 48484022641af9e10231c39651d7d0685e6f1598 -- GitLab