Skip to content

Commit a371b9f

Browse files
author
Luca Toniolo
committed
changed the scurve showcase ini with quicker jerk, to avoid sluggish performance that will hit the limit sensors on homing
1 parent 34578c3 commit a371b9f

2 files changed

Lines changed: 28 additions & 28 deletions

File tree

configs/sim/axis/axis_9axis_scurve.ini

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ PLANNER_TYPE = 1
7575
#
7676
# NOTE: This parameter can be changed at RUNTIME via HAL pin:
7777
# ini.traj_max_jerk (allows tuning on-the-fly)
78-
MAX_LINEAR_JERK = 1000.0
78+
MAX_LINEAR_JERK = 10000.0
7979

8080
# DEFAULT_LINEAR_JERK: Default jerk for programmed feed moves
8181
# Units: machine-units/second^3
@@ -84,7 +84,7 @@ MAX_LINEAR_JERK = 1000.0
8484
#
8585
# NOTE: This parameter can be changed at RUNTIME via HAL pin:
8686
# ini.traj_default_jerk
87-
DEFAULT_LINEAR_JERK = 500.0
87+
DEFAULT_LINEAR_JERK = 10000.0
8888

8989
# --------------------------------------------------------
9090
# Standard TRAJ parameters (still required with S-curve)
@@ -141,7 +141,7 @@ HOME_SEQUENCE = 0
141141
#
142142
# This should match or be higher than the trajectory jerk
143143
# to avoid limiting coordinated motion.
144-
MAX_JERK = 1000.0
144+
MAX_JERK = 10000.0
145145

146146
#MIN_LIMIT = -200.0 #disabled to give more space for testing g-codes
147147
#MAX_LIMIT = 200.0 #disabled to give more space for testing g-codes
@@ -173,7 +173,7 @@ TYPE = LINEAR
173173
HOME = 0.0
174174
MAX_VELOCITY = 300.0
175175
MAX_ACCELERATION = 1000.0
176-
MAX_JERK = 1000.0
176+
MAX_JERK = 10000.0
177177
#MIN_LIMIT = -200.0 #disabled to give more space for testing g-codes
178178
#MAX_LIMIT = 200.0 #disabled to give more space for testing g-codes
179179
HOME_SEQUENCE = 0
@@ -188,7 +188,7 @@ TYPE = LINEAR
188188
HOME = 0.0
189189
MAX_VELOCITY = 200.0
190190
MAX_ACCELERATION = 800.0
191-
MAX_JERK = 800.0
191+
MAX_JERK = 10000.0
192192
#MIN_LIMIT = -100.0 #disabled to give more space for testing g-codes
193193
#MAX_LIMIT = 100.0 #disabled to give more space for testing g-codes
194194
HOME_SEQUENCE = 0
@@ -203,7 +203,7 @@ TYPE = ANGULAR
203203
HOME = 0.0
204204
MAX_VELOCITY = 180.0
205205
MAX_ACCELERATION = 600.0
206-
MAX_JERK = 600.0
206+
MAX_JERK = 10000.0
207207
#MIN_LIMIT = -360.0
208208
#MAX_LIMIT = 360.0
209209
HOME_SEQUENCE = 0
@@ -217,7 +217,7 @@ TYPE = ANGULAR
217217
HOME = 0.0
218218
MAX_VELOCITY = 180.0
219219
MAX_ACCELERATION = 600.0
220-
MAX_JERK = 600.0
220+
MAX_JERK = 10000.0
221221
#MIN_LIMIT = -360.0
222222
#MAX_LIMIT = 360.0
223223
HOME_SEQUENCE = 0
@@ -231,7 +231,7 @@ TYPE = ANGULAR
231231
HOME = 0.0
232232
MAX_VELOCITY = 180.0
233233
MAX_ACCELERATION = 600.0
234-
MAX_JERK = 600.0
234+
MAX_JERK = 10000.0
235235
#MIN_LIMIT = -360.0
236236
#MAX_LIMIT = 360.0
237237
HOME_SEQUENCE = 0
@@ -245,7 +245,7 @@ TYPE = LINEAR
245245
HOME = 0.0
246246
MAX_VELOCITY = 300.0
247247
MAX_ACCELERATION = 1000.0
248-
MAX_JERK = 1000.0
248+
MAX_JERK = 10000.0
249249
#MIN_LIMIT = -200.0
250250
#MAX_LIMIT = 200.0
251251
HOME_SEQUENCE = 0
@@ -259,7 +259,7 @@ TYPE = LINEAR
259259
HOME = 0.0
260260
MAX_VELOCITY = 300.0
261261
MAX_ACCELERATION = 1000.0
262-
MAX_JERK = 1000.0
262+
MAX_JERK = 10000.0
263263
#MIN_LIMIT = -200.0
264264
#MAX_LIMIT = 200.0
265265
HOME_SEQUENCE = 0
@@ -273,7 +273,7 @@ TYPE = LINEAR
273273
HOME = 0.0
274274
MAX_VELOCITY = 200.0
275275
MAX_ACCELERATION = 800.0
276-
MAX_JERK = 800.0
276+
MAX_JERK = 10000.0
277277
#MIN_LIMIT = -100.0
278278
#MAX_LIMIT = 100.0
279279
HOME_SEQUENCE = 0
@@ -295,63 +295,63 @@ MAX_ACCELERATION = 1000.0
295295
# MAX_JERK: Maximum jerk for coordinated motion on this axis
296296
# Units: machine-units/second^3
297297
# Default: 0.0 (disabled)
298-
MAX_JERK = 1000.0
298+
MAX_JERK = 10000.0
299299

300300
[AXIS_Y]
301301
#MIN_LIMIT = -200.0 #disabled to give more space for testing g-codes
302302
#MAX_LIMIT = 200.0 #disabled to give more space for testing g-codes
303303
MAX_VELOCITY = 300.0
304304
MAX_ACCELERATION = 1000.0
305-
MAX_JERK = 1000.0
305+
MAX_JERK = 10000.0
306306

307307
[AXIS_Z]
308308
#MIN_LIMIT = -100.0 #disabled to give more space for testing g-codes
309309
#MAX_LIMIT = 100.0 #disabled to give more space for testing g-codes
310310
MAX_VELOCITY = 200.0
311311
MAX_ACCELERATION = 800.0
312-
MAX_JERK = 800.0
312+
MAX_JERK = 10000.0
313313

314314
[AXIS_A]
315315
#MIN_LIMIT = -360.0
316316
#MAX_LIMIT = 360.0
317317
MAX_VELOCITY = 180.0
318318
MAX_ACCELERATION = 600.0
319-
MAX_JERK = 600.0
319+
MAX_JERK = 10000.0
320320

321321
[AXIS_B]
322322
#MIN_LIMIT = -360.0
323323
#MAX_LIMIT = 360.0
324324
MAX_VELOCITY = 180.0
325325
MAX_ACCELERATION = 600.0
326-
MAX_JERK = 600.0
326+
MAX_JERK = 10000.0
327327

328328
[AXIS_C]
329329
#MIN_LIMIT = -360.0
330330
#MAX_LIMIT = 360.0
331331
MAX_VELOCITY = 180.0
332332
MAX_ACCELERATION = 600.0
333-
MAX_JERK = 600.0
333+
MAX_JERK = 10000.0
334334

335335
[AXIS_U]
336336
#MIN_LIMIT = -200.0
337337
#MAX_LIMIT = 200.0
338338
MAX_VELOCITY = 300.0
339339
MAX_ACCELERATION = 1000.0
340-
MAX_JERK = 1000.0
340+
MAX_JERK = 10000.0
341341

342342
[AXIS_V]
343343
#MIN_LIMIT = -200.0
344344
#MAX_LIMIT = 200.0
345345
MAX_VELOCITY = 300.0
346346
MAX_ACCELERATION = 1000.0
347-
MAX_JERK = 1000.0
347+
MAX_JERK = 10000.0
348348

349349
[AXIS_W]
350350
#MIN_LIMIT = -100.0
351351
#MAX_LIMIT = 100.0
352352
MAX_VELOCITY = 200.0
353353
MAX_ACCELERATION = 800.0
354-
MAX_JERK = 800.0
354+
MAX_JERK = 10000.0
355355

356356
# ========================================================
357357
# TUNING GUIDELINES

configs/sim/axis/axis_mm_scurve.ini

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ PLANNER_TYPE = 1
7575
#
7676
# NOTE: This parameter can be changed at RUNTIME via HAL pin:
7777
# ini.traj_max_jerk (allows tuning on-the-fly)
78-
MAX_LINEAR_JERK = 1000.0
78+
MAX_LINEAR_JERK = 10000.0
7979

8080
# DEFAULT_LINEAR_JERK: Default jerk for programmed feed moves
8181
# Units: machine-units/second^3
@@ -84,7 +84,7 @@ MAX_LINEAR_JERK = 1000.0
8484
#
8585
# NOTE: This parameter can be changed at RUNTIME via HAL pin:
8686
# ini.traj_default_jerk
87-
DEFAULT_LINEAR_JERK = 500.0
87+
DEFAULT_LINEAR_JERK = 10000.0
8888

8989
# --------------------------------------------------------
9090
# Standard TRAJ parameters (still required with S-curve)
@@ -141,7 +141,7 @@ HOME_SEQUENCE = 0
141141
#
142142
# This should match or be higher than the trajectory jerk
143143
# to avoid limiting coordinated motion.
144-
MAX_JERK = 1000.0
144+
MAX_JERK = 10000.0
145145

146146
#MIN_LIMIT = -200.0 #disabled to give more space for testing g-codes
147147
#MAX_LIMIT = 200.0 #disabled to give more space for testing g-codes
@@ -173,7 +173,7 @@ TYPE = LINEAR
173173
HOME = 0.0
174174
MAX_VELOCITY = 300.0
175175
MAX_ACCELERATION = 1000.0
176-
MAX_JERK = 1000.0
176+
MAX_JERK = 10000.0
177177
#MIN_LIMIT = -200.0 #disabled to give more space for testing g-codes
178178
#MAX_LIMIT = 200.0 #disabled to give more space for testing g-codes
179179
HOME_SEQUENCE = 0
@@ -188,7 +188,7 @@ TYPE = LINEAR
188188
HOME = 0.0
189189
MAX_VELOCITY = 200.0
190190
MAX_ACCELERATION = 800.0
191-
MAX_JERK = 800.0
191+
MAX_JERK = 10000.0
192192
#MIN_LIMIT = -100.0 #disabled to give more space for testing g-codes
193193
#MAX_LIMIT = 100.0 #disabled to give more space for testing g-codes
194194
HOME_SEQUENCE = 0
@@ -211,21 +211,21 @@ MAX_ACCELERATION = 1000.0
211211
# MAX_JERK: Maximum jerk for coordinated motion on this axis
212212
# Units: machine-units/second^3
213213
# Default: 0.0 (disabled)
214-
MAX_JERK = 1000.0
214+
MAX_JERK = 10000.0
215215

216216
[AXIS_Y]
217217
#MIN_LIMIT = -200.0 #disabled to give more space for testing g-codes
218218
#MAX_LIMIT = 200.0 #disabled to give more space for testing g-codes
219219
MAX_VELOCITY = 300.0
220220
MAX_ACCELERATION = 1000.0
221-
MAX_JERK = 1000.0
221+
MAX_JERK = 10000.0
222222

223223
[AXIS_Z]
224224
#MIN_LIMIT = -100.0 #disabled to give more space for testing g-codes
225225
#MAX_LIMIT = 100.0 #disabled to give more space for testing g-codes
226226
MAX_VELOCITY = 200.0
227227
MAX_ACCELERATION = 800.0
228-
MAX_JERK = 800.0
228+
MAX_JERK = 10000.0
229229

230230
# ========================================================
231231
# TUNING GUIDELINES

0 commit comments

Comments
 (0)