From f00347979ca5b901910926ce44b46ffe2174f7b2 Mon Sep 17 00:00:00 2001 From: Dietz0r <102995203+Dietz0r@users.noreply.github.com> Date: Mon, 30 Oct 2023 11:37:55 +0100 Subject: [PATCH] Update planner.h First experimental checkin for constant jerk motions --- planner.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/planner.h b/planner.h index 185a88a..3b7c166 100644 --- a/planner.h +++ b/planner.h @@ -61,7 +61,9 @@ typedef struct plan_block { float entry_speed_sqr; // The current planned entry speed at block junction in (mm/min)^2 float max_entry_speed_sqr; // Maximum allowable entry speed based on the minimum of junction limit and // neighboring nominal speeds with overrides in (mm/min)^2 - float acceleration; // Axis-limit adjusted line acceleration in (mm/min^2). Does not change. + float acceleration; // Effective acceleration over plannerblock calculated from trapezoidal movement plan. + float max_acceleration // Axis-limit adjusted line acceleration in (mm/min^2). Does not change. + float jerk // Axis-limit adjusted jerk value in (mm/min^3). Does not change. float millimeters; // The remaining distance for this block to be executed in (mm). // NOTE: This value may be altered by stepper algorithm during execution.