Bring LOOKAHEAD into the config templates.

This commit is contained in:
Markus Hitter 2013-03-24 00:19:01 +01:00
parent 1aca61c277
commit ea59e634a7
11 changed files with 374 additions and 33 deletions

View File

@ -124,9 +124,15 @@
* *
* 2. ACCELERATION *
* *
* IMPORTANT: choose only one! These algorithms choose when to step, trying *
* to use more than one will have undefined and probably *
* disastrous results! *
* Choose optionally one of ACCELERATION_REPRAP, ACCELERATION_RAMPING or *
* ACCELERATION_TEMPORAL. With none of them defined, movements are done *
* without acceleration. Recommended is ACCELERATION_RAMPING. *
* *
* LOOKAHEAD is experimental for now and works in conjunction with *
* ACCELERATION_RAMPING, only. That's why it's off by default. *
* *
* Also don't forget to adjust ACCELERATION to the capabilities of your *
* printer. The default is very moderate to be on the safe side. *
* *
\***************************************************************************/
@ -162,6 +168,31 @@
*/
// #define ACCELERATION_TEMPORAL
/** \def LOOKAHEAD
Define this to enable look-ahead during *ramping* acceleration to smoothly
transition between moves instead of performing a dead stop every move.
Enabling look-ahead requires about 3600 bytes of flash memory.
*/
// #define LOOKAHEAD
/** \def LOOKAHEAD_MAX_JERK_XY
When performing look-ahead, we need to decide what an acceptable jerk to the
mechanics is when we (instantly) change direction.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_XY 10
/** \def LOOKAHEAD_MAX_JERK_E
When joining moves with different extrusion rates, define the maximum jerk
for the extruder.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_E 10
/***************************************************************************\

View File

@ -125,9 +125,15 @@
* *
* 2. ACCELERATION *
* *
* IMPORTANT: choose only one! These algorithms choose when to step, trying *
* to use more than one will have undefined and probably *
* disastrous results! *
* Choose optionally one of ACCELERATION_REPRAP, ACCELERATION_RAMPING or *
* ACCELERATION_TEMPORAL. With none of them defined, movements are done *
* without acceleration. Recommended is ACCELERATION_RAMPING. *
* *
* LOOKAHEAD is experimental for now and works in conjunction with *
* ACCELERATION_RAMPING, only. That's why it's off by default. *
* *
* Also don't forget to adjust ACCELERATION to the capabilities of your *
* printer. The default is very moderate to be on the safe side. *
* *
\***************************************************************************/
@ -164,6 +170,31 @@
*/
// #define ACCELERATION_TEMPORAL
/** \def LOOKAHEAD
Define this to enable look-ahead during *ramping* acceleration to smoothly
transition between moves instead of performing a dead stop every move.
Enabling look-ahead requires about 3600 bytes of flash memory.
*/
// #define LOOKAHEAD
/** \def LOOKAHEAD_MAX_JERK_XY
When performing look-ahead, we need to decide what an acceptable jerk to the
mechanics is when we (instantly) change direction.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_XY 10
/** \def LOOKAHEAD_MAX_JERK_E
When joining moves with different extrusion rates, define the maximum jerk
for the extruder.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_E 10
/***************************************************************************\

View File

@ -126,9 +126,15 @@
* *
* 2. ACCELERATION *
* *
* IMPORTANT: choose only one! These algorithms choose when to step, trying *
* to use more than one will have undefined and probably *
* disastrous results! *
* Choose optionally one of ACCELERATION_REPRAP, ACCELERATION_RAMPING or *
* ACCELERATION_TEMPORAL. With none of them defined, movements are done *
* without acceleration. Recommended is ACCELERATION_RAMPING. *
* *
* LOOKAHEAD is experimental for now and works in conjunction with *
* ACCELERATION_RAMPING, only. That's why it's off by default. *
* *
* Also don't forget to adjust ACCELERATION to the capabilities of your *
* printer. The default is very moderate to be on the safe side. *
* *
\***************************************************************************/
@ -164,6 +170,31 @@
*/
// #define ACCELERATION_TEMPORAL
/** \def LOOKAHEAD
Define this to enable look-ahead during *ramping* acceleration to smoothly
transition between moves instead of performing a dead stop every move.
Enabling look-ahead requires about 3600 bytes of flash memory.
*/
// #define LOOKAHEAD
/** \def LOOKAHEAD_MAX_JERK_XY
When performing look-ahead, we need to decide what an acceptable jerk to the
mechanics is when we (instantly) change direction.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_XY 10
/** \def LOOKAHEAD_MAX_JERK_E
When joining moves with different extrusion rates, define the maximum jerk
for the extruder.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_E 10
/***************************************************************************\

View File

@ -132,9 +132,15 @@
* *
* 2. ACCELERATION *
* *
* IMPORTANT: choose only one! These algorithms choose when to step, trying *
* to use more than one will have undefined and probably *
* disastrous results! *
* Choose optionally one of ACCELERATION_REPRAP, ACCELERATION_RAMPING or *
* ACCELERATION_TEMPORAL. With none of them defined, movements are done *
* without acceleration. Recommended is ACCELERATION_RAMPING. *
* *
* LOOKAHEAD is experimental for now and works in conjunction with *
* ACCELERATION_RAMPING, only. That's why it's off by default. *
* *
* Also don't forget to adjust ACCELERATION to the capabilities of your *
* printer. The default is very moderate to be on the safe side. *
* *
\***************************************************************************/
@ -170,6 +176,31 @@
*/
// #define ACCELERATION_TEMPORAL
/** \def LOOKAHEAD
Define this to enable look-ahead during *ramping* acceleration to smoothly
transition between moves instead of performing a dead stop every move.
Enabling look-ahead requires about 3600 bytes of flash memory.
*/
// #define LOOKAHEAD
/** \def LOOKAHEAD_MAX_JERK_XY
When performing look-ahead, we need to decide what an acceptable jerk to the
mechanics is when we (instantly) change direction.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_XY 10
/** \def LOOKAHEAD_MAX_JERK_E
When joining moves with different extrusion rates, define the maximum jerk
for the extruder.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_E 10
/***************************************************************************\

View File

@ -132,9 +132,15 @@
* *
* 2. ACCELERATION *
* *
* IMPORTANT: choose only one! These algorithms choose when to step, trying *
* to use more than one will have undefined and probably *
* disastrous results! *
* Choose optionally one of ACCELERATION_REPRAP, ACCELERATION_RAMPING or *
* ACCELERATION_TEMPORAL. With none of them defined, movements are done *
* without acceleration. Recommended is ACCELERATION_RAMPING. *
* *
* LOOKAHEAD is experimental for now and works in conjunction with *
* ACCELERATION_RAMPING, only. That's why it's off by default. *
* *
* Also don't forget to adjust ACCELERATION to the capabilities of your *
* printer. The default is very moderate to be on the safe side. *
* *
\***************************************************************************/
@ -170,6 +176,31 @@
*/
// #define ACCELERATION_TEMPORAL
/** \def LOOKAHEAD
Define this to enable look-ahead during *ramping* acceleration to smoothly
transition between moves instead of performing a dead stop every move.
Enabling look-ahead requires about 3600 bytes of flash memory.
*/
// #define LOOKAHEAD
/** \def LOOKAHEAD_MAX_JERK_XY
When performing look-ahead, we need to decide what an acceptable jerk to the
mechanics is when we (instantly) change direction.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_XY 10
/** \def LOOKAHEAD_MAX_JERK_E
When joining moves with different extrusion rates, define the maximum jerk
for the extruder.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_E 10
/***************************************************************************\

View File

@ -127,9 +127,15 @@
* *
* 2. ACCELERATION *
* *
* IMPORTANT: choose only one! These algorithms choose when to step, trying *
* to use more than one will have undefined and probably *
* disastrous results! *
* Choose optionally one of ACCELERATION_REPRAP, ACCELERATION_RAMPING or *
* ACCELERATION_TEMPORAL. With none of them defined, movements are done *
* without acceleration. Recommended is ACCELERATION_RAMPING. *
* *
* LOOKAHEAD is experimental for now and works in conjunction with *
* ACCELERATION_RAMPING, only. That's why it's off by default. *
* *
* Also don't forget to adjust ACCELERATION to the capabilities of your *
* printer. The default is very moderate to be on the safe side. *
* *
\***************************************************************************/
@ -165,6 +171,31 @@
*/
// #define ACCELERATION_TEMPORAL
/** \def LOOKAHEAD
Define this to enable look-ahead during *ramping* acceleration to smoothly
transition between moves instead of performing a dead stop every move.
Enabling look-ahead requires about 3600 bytes of flash memory.
*/
// #define LOOKAHEAD
/** \def LOOKAHEAD_MAX_JERK_XY
When performing look-ahead, we need to decide what an acceptable jerk to the
mechanics is when we (instantly) change direction.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_XY 10
/** \def LOOKAHEAD_MAX_JERK_E
When joining moves with different extrusion rates, define the maximum jerk
for the extruder.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_E 10
/***************************************************************************\

View File

@ -126,9 +126,15 @@
* *
* 2. ACCELERATION *
* *
* IMPORTANT: choose only one! These algorithms choose when to step, trying *
* to use more than one will have undefined and probably *
* disastrous results! *
* Choose optionally one of ACCELERATION_REPRAP, ACCELERATION_RAMPING or *
* ACCELERATION_TEMPORAL. With none of them defined, movements are done *
* without acceleration. Recommended is ACCELERATION_RAMPING. *
* *
* LOOKAHEAD is experimental for now and works in conjunction with *
* ACCELERATION_RAMPING, only. That's why it's off by default. *
* *
* Also don't forget to adjust ACCELERATION to the capabilities of your *
* printer. The default is very moderate to be on the safe side. *
* *
\***************************************************************************/
@ -164,6 +170,31 @@
*/
// #define ACCELERATION_TEMPORAL
/** \def LOOKAHEAD
Define this to enable look-ahead during *ramping* acceleration to smoothly
transition between moves instead of performing a dead stop every move.
Enabling look-ahead requires about 3600 bytes of flash memory.
*/
// #define LOOKAHEAD
/** \def LOOKAHEAD_MAX_JERK_XY
When performing look-ahead, we need to decide what an acceptable jerk to the
mechanics is when we (instantly) change direction.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_XY 10
/** \def LOOKAHEAD_MAX_JERK_E
When joining moves with different extrusion rates, define the maximum jerk
for the extruder.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_E 10
/***************************************************************************\

View File

@ -126,9 +126,15 @@
* *
* 2. ACCELERATION *
* *
* IMPORTANT: choose only one! These algorithms choose when to step, trying *
* to use more than one will have undefined and probably *
* disastrous results! *
* Choose optionally one of ACCELERATION_REPRAP, ACCELERATION_RAMPING or *
* ACCELERATION_TEMPORAL. With none of them defined, movements are done *
* without acceleration. Recommended is ACCELERATION_RAMPING. *
* *
* LOOKAHEAD is experimental for now and works in conjunction with *
* ACCELERATION_RAMPING, only. That's why it's off by default. *
* *
* Also don't forget to adjust ACCELERATION to the capabilities of your *
* printer. The default is very moderate to be on the safe side. *
* *
\***************************************************************************/
@ -164,6 +170,31 @@
*/
// #define ACCELERATION_TEMPORAL
/** \def LOOKAHEAD
Define this to enable look-ahead during *ramping* acceleration to smoothly
transition between moves instead of performing a dead stop every move.
Enabling look-ahead requires about 3600 bytes of flash memory.
*/
// #define LOOKAHEAD
/** \def LOOKAHEAD_MAX_JERK_XY
When performing look-ahead, we need to decide what an acceptable jerk to the
mechanics is when we (instantly) change direction.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_XY 10
/** \def LOOKAHEAD_MAX_JERK_E
When joining moves with different extrusion rates, define the maximum jerk
for the extruder.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_E 10
/***************************************************************************\

View File

@ -126,9 +126,15 @@
* *
* 2. ACCELERATION *
* *
* IMPORTANT: choose only one! These algorithms choose when to step, trying *
* to use more than one will have undefined and probably *
* disastrous results! *
* Choose optionally one of ACCELERATION_REPRAP, ACCELERATION_RAMPING or *
* ACCELERATION_TEMPORAL. With none of them defined, movements are done *
* without acceleration. Recommended is ACCELERATION_RAMPING. *
* *
* LOOKAHEAD is experimental for now and works in conjunction with *
* ACCELERATION_RAMPING, only. That's why it's off by default. *
* *
* Also don't forget to adjust ACCELERATION to the capabilities of your *
* printer. The default is very moderate to be on the safe side. *
* *
\***************************************************************************/
@ -164,6 +170,31 @@
*/
// #define ACCELERATION_TEMPORAL
/** \def LOOKAHEAD
Define this to enable look-ahead during *ramping* acceleration to smoothly
transition between moves instead of performing a dead stop every move.
Enabling look-ahead requires about 3600 bytes of flash memory.
*/
// #define LOOKAHEAD
/** \def LOOKAHEAD_MAX_JERK_XY
When performing look-ahead, we need to decide what an acceptable jerk to the
mechanics is when we (instantly) change direction.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_XY 10
/** \def LOOKAHEAD_MAX_JERK_E
When joining moves with different extrusion rates, define the maximum jerk
for the extruder.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_E 10
/***************************************************************************\

View File

@ -139,9 +139,15 @@ MXL 2.032 mm/tooth, 29
* *
* 2. ACCELERATION *
* *
* IMPORTANT: choose only one! These algorithms choose when to step, trying *
* to use more than one will have undefined and probably *
* disastrous results! *
* Choose optionally one of ACCELERATION_REPRAP, ACCELERATION_RAMPING or *
* ACCELERATION_TEMPORAL. With none of them defined, movements are done *
* without acceleration. Recommended is ACCELERATION_RAMPING. *
* *
* LOOKAHEAD is experimental for now and works in conjunction with *
* ACCELERATION_RAMPING, only. That's why it's off by default. *
* *
* Also don't forget to adjust ACCELERATION to the capabilities of your *
* printer. The default is very moderate to be on the safe side. *
* *
\***************************************************************************/
@ -177,6 +183,31 @@ MXL 2.032 mm/tooth, 29
*/
// #define ACCELERATION_TEMPORAL
/** \def LOOKAHEAD
Define this to enable look-ahead during *ramping* acceleration to smoothly
transition between moves instead of performing a dead stop every move.
Enabling look-ahead requires about 3600 bytes of flash memory.
*/
// #define LOOKAHEAD
/** \def LOOKAHEAD_MAX_JERK_XY
When performing look-ahead, we need to decide what an acceptable jerk to the
mechanics is when we (instantly) change direction.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_XY 10
/** \def LOOKAHEAD_MAX_JERK_E
When joining moves with different extrusion rates, define the maximum jerk
for the extruder.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_E 10
/***************************************************************************\

View File

@ -139,9 +139,15 @@ MXL 2.032 mm/tooth, 29
* *
* 2. ACCELERATION *
* *
* IMPORTANT: choose only one! These algorithms choose when to step, trying *
* to use more than one will have undefined and probably *
* disastrous results! *
* Choose optionally one of ACCELERATION_REPRAP, ACCELERATION_RAMPING or *
* ACCELERATION_TEMPORAL. With none of them defined, movements are done *
* without acceleration. Recommended is ACCELERATION_RAMPING. *
* *
* LOOKAHEAD is experimental for now and works in conjunction with *
* ACCELERATION_RAMPING, only. That's why it's off by default. *
* *
* Also don't forget to adjust ACCELERATION to the capabilities of your *
* printer. The default is very moderate to be on the safe side. *
* *
\***************************************************************************/
@ -177,6 +183,31 @@ MXL 2.032 mm/tooth, 29
*/
// #define ACCELERATION_TEMPORAL
/** \def LOOKAHEAD
Define this to enable look-ahead during *ramping* acceleration to smoothly
transition between moves instead of performing a dead stop every move.
Enabling look-ahead requires about 3600 bytes of flash memory.
*/
// #define LOOKAHEAD
/** \def LOOKAHEAD_MAX_JERK_XY
When performing look-ahead, we need to decide what an acceptable jerk to the
mechanics is when we (instantly) change direction.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_XY 10
/** \def LOOKAHEAD_MAX_JERK_E
When joining moves with different extrusion rates, define the maximum jerk
for the extruder.
Units: micrometers
Sane values: 5 to 200
*/
#define LOOKAHEAD_MAX_JERK_E 10
/***************************************************************************\