From 75c28cc7e5ab4ee8d51f568485a4845bf8efc7cb Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 17 Aug 2022 17:25:16 +0200 Subject: [PATCH] small bugfix --- tmtc/acs_ctrl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmtc/acs_ctrl.py b/tmtc/acs_ctrl.py index e794461..e0b108b 100644 --- a/tmtc/acs_ctrl.py +++ b/tmtc/acs_ctrl.py @@ -154,7 +154,7 @@ def perform_mgm_calibration(pw: PrintWrapper, mgm_tuple: Tuple): ) if len(mgm_tuple) != 3: pw.dlog(f"MGM tuple has invalid length {len(mgm_tuple)}") - mgm_list = [mgm / 10e6 for mgm in mgm_tuple] + mgm_list = [mgm / 1e6 for mgm in mgm_tuple] command = ( f"magnetometer_field {mgm_list[0]} {mgm_list[1]} {mgm_list[2]}\n".encode() )