From a7e2620fcfa5e8fa8c67b95db9d65ed5d7ef85aa Mon Sep 17 00:00:00 2001 From: BarbourSmith Date: Fri, 27 Jul 2018 15:51:47 -0700 Subject: [PATCH] fix missing prop weight --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index fea8e22e..e2e909c6 100755 --- a/main.py +++ b/main.py @@ -196,7 +196,7 @@ def computeSettings(self, section, key, value): value = maslowSettings.getDefaultValue('Advanced Settings', key) self.config.set('Computed Settings', key + "Main", value) #updated computed values for z-axis - for key in ('KpPosZ', 'KiPosZ', 'KdPosZ', 'propWeightZ'): + for key in ('KpPosZ', 'KiPosZ', 'KdPosZ'): if int(self.config.get('Advanced Settings', 'enablePosPIDValues')) == 1: value = float(self.config.get('Advanced Settings', key)) else: