toolhead: Specify maximum acceleration and velocity in toolhead class

Change the config file so the maximum accel and velocity are specified
in the "printer" section instead of the individual "stepper" sections.
The underlying code limits the velocity and accel of the toolhead
relative to the print object, so it makes sense to configure the
system that was as well.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2016-12-01 15:29:26 -05:00
parent fcaf359e89
commit c49d3fdb17
8 changed files with 52 additions and 53 deletions

View file

@ -16,8 +16,6 @@ step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .01
max_velocity: 200
max_accel: 3000
endstop_pin: ^ar2
homing_speed: 50.0
position_endstop: 297.05
@ -30,8 +28,6 @@ step_pin: ar60
dir_pin: ar61
enable_pin: !ar56
step_distance: .01
max_velocity: 200
max_accel: 3000
endstop_pin: ^ar15
position_endstop: 297.05
@ -42,8 +38,6 @@ step_pin: ar46
dir_pin: ar48
enable_pin: !ar62
step_distance: .01
max_velocity: 200
max_accel: 3000
endstop_pin: ^ar19
position_endstop: 297.05
@ -85,6 +79,8 @@ pin_map: arduino
[printer]
kinematics: delta
# This option must be "delta" for linear delta printers
max_velocity: 200
max_accel: 3000
delta_arm_length: 333.0
# Length (in mm) of the diagonal rods that connect the linear axes
# to the print head