From d66212048c3de4f94569c4b0ad481bcb2815201f Mon Sep 17 00:00:00 2001 From: detlefarend Date: Sun, 10 Nov 2024 10:45:09 +0100 Subject: [PATCH] BF: Basics of closed-loop control #1046 --- src/mlpro/bf/control/operators/converter.py | 6 ++++-- .../control/howto_bf_control_003_cascade_control_system.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/mlpro/bf/control/operators/converter.py b/src/mlpro/bf/control/operators/converter.py index 4e685aaba..6693d9271 100644 --- a/src/mlpro/bf/control/operators/converter.py +++ b/src/mlpro/bf/control/operators/converter.py @@ -6,10 +6,11 @@ ## -- History : ## -- yyyy-mm-dd Ver. Auth. Description ## -- 2024-11-05 0.1.0 AP Creation and initial implementation +## -- 2024-11-10 0.2.0 DA Turned off visualization ## ------------------------------------------------------------------------------------------------- """ -Ver. 0.1.0 (2024-11-05) +Ver. 0.2.0 (2024-11-10) This module provides an implementation of a converter that convertsdetermins the next control variable by buffering and cumulating it. @@ -40,7 +41,8 @@ class Converter (Operator): ... """ - C_NAME = 'Converter' + C_NAME = 'Converter' + C_PLOT_ACTIVE = False ## ------------------------------------------------------------------------------------------------- def __init__(self, diff --git a/test/howtos/bf/control/howto_bf_control_003_cascade_control_system.py b/test/howtos/bf/control/howto_bf_control_003_cascade_control_system.py index e60ade005..3c3947378 100644 --- a/test/howtos/bf/control/howto_bf_control_003_cascade_control_system.py +++ b/test/howtos/bf/control/howto_bf_control_003_cascade_control_system.py @@ -59,7 +59,7 @@ if __name__ == '__main__': i = input(f'\n\nDimensionality (press ENTER for {num_dim}): ') if i != '': num_dim = int(i) - i = input(f'\n\nStep rate (visualization) (press ENTER for {step_rate}): ') + i = input(f'\nStep rate (visualization) (press ENTER for {step_rate}): ') if i != '': step_rate = int(i)