Tuan Nguyen 11 hónapja
szülő
commit
960dd0af10

+ 1 - 1
dune_weaver_flask/modules/core/pattern_manager.py

@@ -150,7 +150,7 @@ def move_polar(theta, rho):
     y_total_steps = state.y_steps_per_mm * (100/y_scaling_factor)
         
     offset = x_increment * (x_total_steps * x_scaling_factor / (state.gear_ratio * y_total_steps * y_scaling_factor))
-    y_increment += offset
+    y_increment -= offset
     
     new_x_abs = state.machine_x + x_increment
     new_y_abs = state.machine_y + y_increment

+ 1 - 1
firmware/dune_weaver/config.yaml

@@ -22,7 +22,7 @@ axes:
       pulloff_mm: 2
       stepstick:
         step_pin: i2so.1
-        direction_pin: i2so.2:low
+        direction_pin: i2so.2
         disable_pin: NO_PIN
         ms1_pin: NO_PIN
         ms2_pin: NO_PIN

+ 2 - 2
firmware/dune_weaver/dlc32_sensorless_homing.yml

@@ -24,7 +24,7 @@ axes:
       pulloff_mm: 2
       stepstick:
         step_pin: i2so.1
-        direction_pin: i2so.2:low
+        direction_pin: i2so.2
         disable_pin: NO_PIN
         ms1_pin: NO_PIN
         ms2_pin: NO_PIN
@@ -47,7 +47,7 @@ axes:
         uart_num: 1
         addr: 0
         r_sense_ohms: 0.12
-        run_amps: 0.8
+        run_amps: 0.5
         hold_amps: 0
         homing_amps: 0.8
         microsteps: 8

+ 2 - 2
firmware/dune_weaver_mini/config.yaml

@@ -19,9 +19,9 @@ axes:
       hard_limits: false
       unipolar:
         phase0_pin: gpio.14
-        phase1_pin: gpio.27
+        phase1_pin: gpio.12
         phase2_pin: gpio.26
-        phase3_pin: gpio.12
+        phase3_pin: gpio.27
         half_step: false
       limit_neg_pin: NO_PIN
       limit_pos_pin: NO_PIN

+ 1 - 1
firmware/dune_weaver_pro/config.yaml

@@ -22,7 +22,7 @@ axes:
       pulloff_mm: 2
       stepstick:
         step_pin: i2so.1
-        direction_pin: i2so.2
+        direction_pin: i2so.2:low
         disable_pin: NO_PIN
         ms1_pin: NO_PIN
         ms2_pin: NO_PIN

+ 1 - 1
firmware/dune_weaver_pro/dlc32_dwpro_sensorless_homing.yaml

@@ -24,7 +24,7 @@ axes:
       pulloff_mm: 2
       stepstick:
         step_pin: i2so.1
-        direction_pin: i2so.2
+        direction_pin: i2so.2.low
         disable_pin: NO_PIN
         ms1_pin: NO_PIN
         ms2_pin: NO_PIN