diff options
author | Emanuele Caruso <emanuele.caruso@gmail.com> | 2011-05-04 21:49:09 +0200 |
---|---|---|
committer | Emanuele Caruso <emanuele.caruso@gmail.com> | 2011-05-04 21:49:09 +0200 |
commit | d15d4b96ce5fd7414f6305361bcb4608393e3745 (patch) | |
tree | d2b3c5ceb7c290457e92f81e6bf73d11c535f966 /Tonokip_Firmware/configuration.h | |
parent | 93529ad632ca9f4949004f7a350b3bbc48f9deac (diff) |
Added constant acceleration option (aka speed ramp), enabled by default
Diffstat (limited to 'Tonokip_Firmware/configuration.h')
-rw-r--r-- | Tonokip_Firmware/configuration.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Tonokip_Firmware/configuration.h b/Tonokip_Firmware/configuration.h index 1d3a1c8..2733a72 100644 --- a/Tonokip_Firmware/configuration.h +++ b/Tonokip_Firmware/configuration.h @@ -16,11 +16,18 @@ //If you enable this, make sure STEP_DELAY_MICROS is disabled. //#define STEP_DELAY_RATIO 0.25 +//Comment this to disable ramp acceleration +#define RAMP_ACCELERATION 1 -//Comment this to disable exponential acceleration -#define EXP_ACCELERATION 1 +//Uncomment this to enable exponential acceleration +//#define EXP_ACCELERATION 1 //Acceleration settings +#ifdef RAMP_ACCELERATION +float min_units_per_second = 35.0; // the minimum feedrate +long max_acceleration_units_per_sq_second = 750; +long max_travel_acceleration_units_per_sq_second = 1500; +#endif #ifdef EXP_ACCELERATION float full_velocity_units = 10; // the units between minimum and G1 move feedrate float travel_move_full_velocity_units = 10; // used for travel moves |