From d15d4b96ce5fd7414f6305361bcb4608393e3745 Mon Sep 17 00:00:00 2001 From: Emanuele Caruso Date: Wed, 4 May 2011 21:49:09 +0200 Subject: Added constant acceleration option (aka speed ramp), enabled by default --- Tonokip_Firmware/configuration.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'Tonokip_Firmware/configuration.h') 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 -- cgit v1.2.1