From 002a8ea4883378a0bcc35d93aefa29bfca6d9dd3 Mon Sep 17 00:00:00 2001 From: ft-Demo <fischertechnik-team@fischer.de> Date: Fri, 17 Feb 2023 14:16:19 +0000 Subject: [PATCH] commit by robo pro coding --- Robot_3D.blockly | 2 +- Robot_3D.py | 2 +- lib/Axes1Ref.blockly | 2 +- lib/Axes1Ref.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Robot_3D.blockly b/Robot_3D.blockly index ab6c182..c5d1233 100644 --- a/Robot_3D.blockly +++ b/Robot_3D.blockly @@ -11,7 +11,7 @@ <block type="text_print" id="bf81loEa-M]n1A5ir)o`"> <value name="TEXT"> <shadow type="text" id="G.TQ_0wkBW$ZXRBs3Afi"> - <field name="TEXT">Version 2023/01/10</field> + <field name="TEXT">Version 2023/02/17</field> </shadow> </value> <next> diff --git a/Robot_3D.py b/Robot_3D.py index 7d00b98..34c9489 100644 --- a/Robot_3D.py +++ b/Robot_3D.py @@ -11,7 +11,7 @@ poslist = None p = None -print('Version 2023/01/10') +print('Version 2023/02/17') logging.basicConfig(level=logging.WARNING, format="%(asctime)s %(levelname)-10s %(funcName)3s %(message)s #%(filename)3s:%(lineno)d") poslist = [[1150, 38, 1800], [1150, 38, 1900], [1150, 38, 1100], [1650, 65, 1800], [1650, 65, 1900], [1650, 65, 1100], [1150, 38, 1800], [1150, 38, 1900]] init_3DRobot() diff --git a/lib/Axes1Ref.blockly b/lib/Axes1Ref.blockly index b96ac98..74ac9d3 100644 --- a/lib/Axes1Ref.blockly +++ b/lib/Axes1Ref.blockly @@ -1248,7 +1248,7 @@ <field name="OP">OR</field> <value name="A"> <block type="input_mini_switch_if_state" id="YEq_8el9+|%L`uRZs`ID"> - <field name="instance_name">TXT_M_I3_mini_switch</field> + <field name="instance_name">TXT_M_I4_mini_switch</field> <field name="property_name">open</field> </block> </value> diff --git a/lib/Axes1Ref.py b/lib/Axes1Ref.py index 90b2773..800dea5 100644 --- a/lib/Axes1Ref.py +++ b/lib/Axes1Ref.py @@ -141,7 +141,7 @@ def moveRef(num): TXT_M_M4_encodermotor.stop_sync() TXT_M_M4_encodermotor.set_speed(int(SPEED_REF), Motor.CW) TXT_M_M4_encodermotor.start_sync() - while not ((TXT_M_I3_mini_switch.is_open()) or _b_exit): + while not ((TXT_M_I4_mini_switch.is_open()) or _b_exit): _check_timeout_exit(num) TXT_M_M4_encodermotor.stop_sync() abspos[int(num - 1)] = 0 -- GitLab