test: Update test cases to use rotation_distance

Remove all users of step_distance from test configs.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2021-10-24 20:53:36 -04:00
parent 823fdc9cb4
commit f013b7bae6
15 changed files with 132 additions and 72 deletions

View File

@ -3,7 +3,8 @@
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .0125
rotation_distance: 40
microsteps: 16
endstop_pin: ^ar3
position_endstop: 0
position_max: 200
@ -13,7 +14,8 @@ homing_speed: 50
step_pin: ar60
dir_pin: !ar61
enable_pin: !ar56
step_distance: .0125
rotation_distance: 40
microsteps: 16
endstop_pin: ^ar14
position_endstop: 0
position_max: 200
@ -23,7 +25,8 @@ homing_speed: 50
step_pin: ar46
dir_pin: ar48
enable_pin: !ar62
step_distance: .0025
rotation_distance: 8
microsteps: 16
endstop_pin: ^ar18
position_endstop: 0.5
position_max: 200

View File

@ -3,7 +3,8 @@
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar3
position_endstop: 0
position_max: 200
@ -13,7 +14,8 @@ homing_speed: 50
step_pin: ar60
dir_pin: !ar61
enable_pin: !ar56
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar14
position_endstop: 0
position_max: 200
@ -23,7 +25,8 @@ homing_speed: 50
step_pin: ar46
dir_pin: ar48
enable_pin: !ar62
step_distance: .0025
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
position_max: 200
@ -31,7 +34,8 @@ position_max: 200
step_pin: ar26
dir_pin: ar28
enable_pin: !ar24
step_distance: .002
microsteps: 16
rotation_distance: 33.5
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: ar10

View File

@ -3,7 +3,8 @@
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .000100
microsteps: 16
rotation_distance: 0.32
endstop_pin: ^ar2
homing_speed: 50
#position_endstop: 297.05
@ -13,14 +14,16 @@ homing_speed: 50
step_pin: ar60
dir_pin: ar61
enable_pin: !ar56
step_distance: .000100
microsteps: 16
rotation_distance: 0.32
endstop_pin: ^ar15
[stepper_c]
step_pin: ar46
dir_pin: ar48
enable_pin: !ar62
step_distance: .000100
microsteps: 16
rotation_distance: 0.32
endstop_pin: ^ar19
[mcu]

View File

@ -3,7 +3,8 @@
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar3
position_endstop: 0
position_max: 200
@ -14,7 +15,8 @@ axis: x
step_pin: ar16
dir_pin: ar17
enable_pin: !ar23
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar2
position_endstop: 200
position_max: 200
@ -24,7 +26,8 @@ homing_speed: 50
step_pin: ar60
dir_pin: !ar61
enable_pin: !ar56
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar14
position_endstop: 0
position_max: 200
@ -34,7 +37,8 @@ homing_speed: 50
step_pin: ar46
dir_pin: ar48
enable_pin: !ar62
step_distance: .0025
microsteps: 16
rotation_distance: 8
endstop_pin: ^ar18
position_endstop: 0.5
position_max: 200
@ -43,7 +47,8 @@ position_max: 200
step_pin: ar26
dir_pin: ar28
enable_pin: !ar24
step_distance: .002
microsteps: 16
rotation_distance: 33.5
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: ar10
@ -71,7 +76,8 @@ gcode:
step_pin: ar36
dir_pin: ar34
enable_pin: !ar30
step_distance: .002
microsteps: 16
rotation_distance: 33.5
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: ar11

View File

@ -3,7 +3,8 @@
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar3
position_endstop: 0
position_max: 200
@ -13,7 +14,8 @@ homing_speed: 50
step_pin: ar60
dir_pin: !ar61
enable_pin: !ar56
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar14
position_endstop: 0
position_max: 200
@ -23,7 +25,8 @@ homing_speed: 50
step_pin: ar46
dir_pin: ar48
enable_pin: !ar62
step_distance: .0025
microsteps: 16
rotation_distance: 8
endstop_pin: ^ar18
position_endstop: 0.5
position_max: 200
@ -32,7 +35,8 @@ position_max: 200
step_pin: ar26
dir_pin: ar28
enable_pin: !ar24
step_distance: .004242
microsteps: 16
rotation_distance: 33.5
nozzle_diameter: 0.500
filament_diameter: 3.500
heater_pin: ar10
@ -49,7 +53,8 @@ max_temp: 210
step_pin: ar8
dir_pin: ar9
enable_pin: !ar11
step_distance: .002
microsteps: 16
rotation_distance: 28.2
[mcu]
serial: /dev/ttyACM0

View File

@ -5,7 +5,8 @@
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar3
position_endstop: 0
position_max: 200
@ -15,7 +16,8 @@ homing_speed: 50
step_pin: ar60
dir_pin: !ar61
enable_pin: !ar56
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar14
position_endstop: 0
position_max: 200
@ -25,7 +27,8 @@ homing_speed: 50
step_pin: ar46
dir_pin: ar48
enable_pin: !ar62
step_distance: .0025
microsteps: 16
rotation_distance: 8
endstop_pin: ^ar18
position_endstop: 0.5
position_max: 200
@ -34,7 +37,8 @@ position_max: 200
step_pin: ar26
dir_pin: ar28
enable_pin: !ar24
step_distance: .004242
microsteps: 16
rotation_distance: 33.5
nozzle_diameter: 0.500
filament_diameter: 3.500
heater_pin: ar10

View File

@ -3,7 +3,8 @@
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar3
position_endstop: 0
position_max: 200
@ -13,7 +14,8 @@ homing_speed: 50
step_pin: ar60
dir_pin: !ar61
enable_pin: !ar56
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar14
position_endstop: 0
position_max: 200
@ -23,7 +25,8 @@ homing_speed: 50
step_pin: ar46
dir_pin: ar48
enable_pin: !ar62
step_distance: .0025
microsteps: 16
rotation_distance: 8
endstop_pin: ^ar18
position_endstop: 0.5
position_max: 200
@ -32,7 +35,8 @@ position_max: 200
step_pin: ar26
dir_pin: ar28
enable_pin: !ar24
step_distance: .004242
microsteps: 16
rotation_distance: 33.5
nozzle_diameter: 0.500
filament_diameter: 3.500
heater_pin: ar10

View File

@ -3,7 +3,8 @@
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .0125
microsteps: 16
rotation_distance: 40
velocity: 7
accel: 500
@ -11,7 +12,8 @@ accel: 500
step_pin: ar60
dir_pin: !ar61
enable_pin: !ar56
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar14
[mcu]

View File

@ -3,7 +3,8 @@
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar3
position_endstop: 0
position_max: 200
@ -13,7 +14,8 @@ homing_speed: 50
step_pin: ar60
dir_pin: !ar61
enable_pin: !ar56
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar14
position_endstop: 0
position_max: 200
@ -23,7 +25,8 @@ homing_speed: 50
step_pin: ar46
dir_pin: ar48
enable_pin: !ar62
step_distance: .0025
microsteps: 16
rotation_distance: 8
endstop_pin: ^ar18
position_endstop: 0.5
position_max: 200
@ -32,14 +35,16 @@ position_max: 200
step_pin: ar36
dir_pin: ar34
enable_pin: !ar30
step_distance: .0025
microsteps: 16
rotation_distance: 8
endstop_pin: ^ar19
[stepper_z2]
step_pin: ar16
dir_pin: ar17
enable_pin: !ar23
step_distance: .0025
microsteps: 16
rotation_distance: 8
[z_tilt]
z_positions:
@ -63,7 +68,8 @@ points:
step_pin: ar26
dir_pin: ar28
enable_pin: !ar24
step_distance: .002
microsteps: 16
rotation_distance: 33.5
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: ar10

View File

@ -3,7 +3,8 @@
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar3
position_endstop: 0
position_max: 200
@ -13,7 +14,8 @@ homing_speed: 50
step_pin: ar60
dir_pin: !ar61
enable_pin: !ar56
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar14
position_endstop: 0
position_max: 200
@ -23,7 +25,8 @@ homing_speed: 50
step_pin: ar46
dir_pin: ar48
enable_pin: !ar62
step_distance: .0025
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
position_max: 200
@ -31,7 +34,8 @@ position_max: 200
step_pin: ar26
dir_pin: ar28
enable_pin: !ar24
step_distance: .002
microsteps: 16
rotation_distance: 33.5
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: ar10

View File

@ -19,7 +19,8 @@ gcode:
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar3
position_endstop: 0
position_max: 200
@ -29,7 +30,8 @@ homing_speed: 50
step_pin: ar60
dir_pin: !ar61
enable_pin: !ar56
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar14
position_endstop: 0
position_max: 200
@ -39,7 +41,8 @@ homing_speed: 50
step_pin: ar46
dir_pin: ar48
enable_pin: !ar62
step_distance: .0025
microsteps: 16
rotation_distance: 8
endstop_pin: ^ar18
position_endstop: 0.5
position_max: 200000000
@ -48,7 +51,8 @@ position_max: 200000000
step_pin: ar26
dir_pin: ar28
enable_pin: !ar24
step_distance: .004242
microsteps: 16
rotation_distance: 33.5
nozzle_diameter: 0.500
filament_diameter: 3.500
heater_pin: ar10

View File

@ -3,7 +3,8 @@
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar3
position_endstop: 0
position_max: 200
@ -13,7 +14,8 @@ homing_speed: 50
step_pin: ar60
dir_pin: !ar61
enable_pin: !ar56
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar14
position_endstop: 0
position_max: 200
@ -23,7 +25,8 @@ homing_speed: 50
step_pin: ar46
dir_pin: ar48
enable_pin: !ar62
step_distance: .0025
microsteps: 16
rotation_distance: 8
endstop_pin: ^ar18
position_endstop: 0.5
position_max: 200
@ -32,7 +35,8 @@ position_max: 200
step_pin: ar26
dir_pin: ar28
enable_pin: !ar24
step_distance: .002
microsteps: 16
rotation_distance: 33.5
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: ar10

View File

@ -4,14 +4,14 @@
step_pin: PC0
dir_pin: PL0
enable_pin: !PA7
step_distance: .005
microsteps: 16
rotation_distance: 40
endstop_pin: tmc2130_stepper_x:virtual_endstop
position_endstop: 0
position_max: 250
[tmc2130 stepper_x]
cs_pin: PG0
microsteps: 16
run_current: .5
sense_resistor: 0.220
diag1_pin: !PK2
@ -19,12 +19,12 @@ diag1_pin: !PK2
[stepper_x1]
step_pin: PC3
dir_pin: PL6
step_distance: .005
microsteps: 16
rotation_distance: 40
endstop_pin: ^PB6
[tmc2130 stepper_x1]
cs_pin: PG1
microsteps: 16
run_current: .5
sense_resistor: 0.220
diag1_pin: !PK2
@ -32,14 +32,14 @@ diag1_pin: !PK2
[stepper_y]
step_pin: PC1
dir_pin: !PL1
step_distance: .005
microsteps: 16
rotation_distance: 40
endstop_pin: tmc5160_stepper_y:virtual_endstop
position_endstop: 0
position_max: 210
[tmc5160 stepper_y]
cs_pin: PG2
microsteps: 16
run_current: .5
sense_resistor: 0.220
diag1_pin: !PK7
@ -47,27 +47,27 @@ diag1_pin: !PK7
[stepper_y1]
step_pin: PA4
dir_pin: PA6
step_distance: .005
microsteps: 16
rotation_distance: 40
endstop_pin: tmc2209_stepper_y1:virtual_endstop
[tmc2209 stepper_y1]
uart_pin: PA5
diag_pin: PH6
microsteps: 16
run_current: .5
sense_resistor: 0.075
[stepper_z]
step_pin: PC2
dir_pin: PL2
step_distance: .0025
microsteps: 16
rotation_distance: 8
endstop_pin: ^PB4
position_endstop: 0.5
position_max: 200
[tmc2208 stepper_z]
uart_pin: PK5
microsteps: 16
run_current: .5
sense_resistor: 0.220
@ -75,12 +75,12 @@ sense_resistor: 0.220
step_pin: PB5
dir_pin: PK6
enable_pin: !PH5
step_distance: .0025
microsteps: 16
rotation_distance: 8
endstop_pin: ^PH3
[tmc2660 stepper_z1]
cs_pin: PK1
microsteps: 16
run_current: .5
sense_resistor: 0.220

View File

@ -3,7 +3,8 @@
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar3
position_endstop: 0
position_max: 250
@ -13,7 +14,8 @@ homing_speed: 50
step_pin: ar60
dir_pin: !ar61
enable_pin: !ar56
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar14
position_endstop: 0
position_max: 250
@ -23,7 +25,8 @@ homing_speed: 50
step_pin: ar46
dir_pin: ar48
enable_pin: !ar62
step_distance: .0025
microsteps: 16
rotation_distance: 8
endstop_pin: ^ar18
position_endstop: 0.5
position_max: 250
@ -32,19 +35,22 @@ position_max: 250
step_pin: ar36
dir_pin: ar34
enable_pin: !ar30
step_distance: .0025
microsteps: 16
rotation_distance: 8
endstop_pin: ^ar19
[stepper_z2]
step_pin: ar16
dir_pin: ar17
enable_pin: !ar23
step_distance: .0025
microsteps: 16
rotation_distance: 8
[stepper_z3]
step_pin: ar5
dir_pin: ar4
step_distance: .0025
microsteps: 16
rotation_distance: 8
[quad_gantry_level]
gantry_corners:
@ -79,7 +85,8 @@ points:
step_pin: ar26
dir_pin: ar28
enable_pin: !ar24
step_distance: .002
microsteps: 16
rotation_distance: 33.5
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: ar10

View File

@ -3,7 +3,8 @@
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar3
position_endstop: 0
position_max: 200
@ -13,7 +14,8 @@ homing_speed: 50
step_pin: ar60
dir_pin: !ar61
enable_pin: !ar56
step_distance: .0125
microsteps: 16
rotation_distance: 40
endstop_pin: ^ar14
position_endstop: 0
position_max: 200
@ -23,7 +25,8 @@ homing_speed: 50
step_pin: ar46
dir_pin: ar48
enable_pin: !ar62
step_distance: .0025
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
position_max: 200
@ -31,7 +34,8 @@ position_max: 200
step_pin: ar26
dir_pin: ar28
enable_pin: !ar24
step_distance: .002
microsteps: 16
rotation_distance: 33.5
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: ar10