removing max_jerk from Planner too
authorArthur Wolf <wolf.arthur@gmail.com>
Sun, 3 Feb 2013 18:25:25 +0000 (19:25 +0100)
committerArthur Wolf <wolf.arthur@gmail.com>
Sun, 3 Feb 2013 18:25:25 +0000 (19:25 +0100)
src/modules/robot/Planner.cpp
src/modules/robot/Planner.h

index 5327d92..6e1a50b 100644 (file)
@@ -30,7 +30,6 @@ void Planner::on_module_loaded(){
 
 void Planner::on_config_reload(void* argument){
     this->acceleration =       this->kernel->config->value(acceleration_checksum       )->by_default(100 )->as_number() * 60 * 60; // Acceleration is in mm/minute^2, see https://github.com/grbl/grbl/commit/9141ad282540eaa50a41283685f901f29c24ddbd#planner.c
-    this->max_jerk =           this->kernel->config->value(max_jerk_checksum           )->by_default(100 )->as_number();
     this->junction_deviation = this->kernel->config->value(junction_deviation_checksum )->by_default(0.05)->as_number();
 }
 
index 44cfbc1..dafb72b 100644 (file)
@@ -44,7 +44,6 @@ class Planner : public Module {
         float previous_nominal_speed;
 
         double acceleration;          // Setting
-        double max_jerk;              // Setting
         double junction_deviation;    // Setting
 
 };