Skip to content
  1. Apr 15, 2013
  2. Apr 12, 2013
    • daid303's avatar
    • Simon Oliver's avatar
    • Simon Oliver's avatar
      Allow Edit menu to call fn after edit; Fix PID Ki and Kd display in menus;... · 93f0463b
      Simon Oliver authored
      Allow Edit menu to call fn after edit; Fix PID Ki and Kd display in menus; Actually use changed PID and Max Accel values
      
      Add new 'callback' edit-menu types that call a function after the edit is done. Use this to display and edit Ki and Kd correctly (removing the scaling first and reapplying it after). Also use it to reset maximum stepwise acceleration rates, after updating mm/s^2 rates via menus. (Previously, changes did nothing to affect planner unless saved back to EEPROM, and the machine reset).
      
      Add calls to updatePID() so that PID loop uses updated values whether set by gcode (it already did this), or by restoring defaults, or loading from EEPROM (it didn't do those last two). Similarly, update the maximum step/s^2 accel rates when the mm/s^2 values are changed - whether by menu edits, restore defaults, or EEPROM read.
      
      Refactor the acceleration rate update logic, and the PID scaling logic, into new functions that can be called from wherever, including the callbacks.
      
      Add menu items to allow the z jerk and e jerk to be viewed/edited in the Control->Motion menu, as per xy jerk.
      
      Conflicts:
      	Marlin/language.h
      93f0463b
  3. Apr 01, 2013
  4. Mar 31, 2013
  5. Mar 30, 2013
  6. Mar 28, 2013
  7. Mar 26, 2013
  8. Mar 25, 2013
  9. Mar 23, 2013
    • whosawhatsis's avatar
      Separate PID_MAX from BANG_MAX · fd5b7e0c
      whosawhatsis authored
      This allows PID_FUNCTIONAL_RANGE to use a maximum duty cycle higher
      than PID_MAX. This is useful for powerful heaters to heat quickly in
      bang-bang mode, but use a lower duty cycle that is easier to stabilize
      in PID mode.
      fd5b7e0c
  10. Mar 22, 2013
  11. Mar 19, 2013