Skip to content

Commit

Permalink
Update IS_vibrations_measurements.cfg (#14)
Browse files Browse the repository at this point in the history
Co-authored-by: Félix Boisselier <accounts@fboisselier.fr>
  • Loading branch information
Fragmon and Frix-x authored Nov 27, 2023
1 parent da10593 commit 0f7fa66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions K-ShakeTune/IS_vibrations_measurements.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ gcode:
{% set max_speed = params.MAX_SPEED|default(200)|float * 60 %} # maximum feedrate for the movements
{% set speed_increment = params.SPEED_INCREMENT|default(2)|float * 60 %} # feedrate increment between each move
{% set feedrate_travel = params.TRAVEL_SPEED|default(200)|int * 60 %} # travel feedrate between moves

{% set accel = params.ACCEL|default(config.printer["max_accel"])|float %}
{% set accel_chip = params.ACCEL_CHIP|default("adxl345") %} # ADXL chip name in the config

#
Expand Down Expand Up @@ -157,7 +157,7 @@ gcode:

M83
G90

SET_ACCEL_LIMIT ACCEL={accel} ACCEL_TO_DECEL={accel}
# Going to the start position
G1 Z{z_height}
G1 X{mid_x + (size * direction_factor[direction].start.x) } Y{mid_y + (size * direction_factor[direction].start.y)} F{feedrate_travel}
Expand Down

0 comments on commit 0f7fa66

Please sign in to comment.