You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Simon Oliver 93f0463b21 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
12 years ago
..
COPYING first commit 14 years ago
Configuration.h Update Configuration.h 12 years ago
ConfigurationStore.cpp Allow Edit menu to call fn after edit; Fix PID Ki and Kd display in menus; Actually use changed PID and Max Accel values 12 years ago
ConfigurationStore.h Changed the naming of some LCD functions, so the names match better what the function does. Also moved around some prototypes for general cleanup. 12 years ago
Configuration_adv.h Added a feature to have filament change by gcode or display trigger. 12 years ago
DOGMbitmaps.h Add bitmap graphics for GLCD 12 years ago
LCD Menu Tree.pdf Added PDF file containing Menu Tree for documentation purposes. Source xlsx document included. 12 years ago
LiquidCrystalRus.cpp First cleanup. Moved all code to cpp files, so there are no dependencies on pde files. And no more odd requirement to cat files together. (Still need to fix the Makefile). Also cleaned up some defines and made defines upper case as by C coding conventions. 12 years ago
LiquidCrystalRus.h Enables support the Cyrillic alphabet for LCD 12 years ago
Makefile fixes for ramps compilation using installed arduino ide 12 years ago
Marlin.h Added libraries from Arduino 1.0.3 for sanguino build 12 years ago
Marlin.pde Add library selection between GLCD and char. LCD 12 years ago
MarlinSerial.cpp Stop redefining MOTHERBOARD and #define AT90USB instead. Also put #ifndef AT90USB around the HardwareSerial_h trick, so now Printrboard / Brainwave support compiles on Arduino 1.0.2 as well. 12 years ago
MarlinSerial.h Stop redefining MOTHERBOARD and #define AT90USB instead. Also put #ifndef AT90USB around the HardwareSerial_h trick, so now Printrboard / Brainwave support compiles on Arduino 1.0.2 as well. 12 years ago
Marlin_main.cpp Allow Edit menu to call fn after edit; Fix PID Ki and Kd display in menus; Actually use changed PID and Max Accel values 12 years ago
Menu Plans.xlsx Tidy up 12 years ago
Sd2Card.cpp Fix for a few -Wextra warnings. 12 years ago
Sd2Card.h made sd code only compile with SDSUPPORT defined. safes 10k of codespace 13 years ago
Sd2PinMap.h made sd code only compile with SDSUPPORT defined. safes 10k of codespace 13 years ago
SdBaseFile.cpp Few simple fixes that save RAM, as static strings are stored in RAM by default. 12 years ago
SdBaseFile.h Added long filename support. 13 years ago
SdFatConfig.h Added long filename support. 13 years ago
SdFatStructs.h Added long filename support. 13 years ago
SdFatUtil.cpp Updated SERIAL define to MYSERIAL, because Arduino 1.0 defines SERIAL as 0. 13 years ago
SdFatUtil.h made sd code only compile with SDSUPPORT defined. safes 10k of codespace 13 years ago
SdFile.cpp First cleanup. Moved all code to cpp files, so there are no dependencies on pde files. And no more odd requirement to cat files together. (Still need to fix the Makefile). Also cleaned up some defines and made defines upper case as by C coding conventions. 12 years ago
SdFile.h made sd code only compile with SDSUPPORT defined. safes 10k of codespace 13 years ago
SdInfo.h made sd code only compile with SDSUPPORT defined. safes 10k of codespace 13 years ago
SdVolume.cpp made sd code only compile with SDSUPPORT defined. safes 10k of codespace 13 years ago
SdVolume.h made sd code only compile with SDSUPPORT defined. safes 10k of codespace 13 years ago
cardreader.cpp Add command M928 to enable logging to file of received gcode commands 12 years ago
cardreader.h Fixed cardreader.h to resolve issue #440 (Pull Request #425 missing file) 12 years ago
createTemperatureLookupMarlin.py Added new temperature lookup table creation tool. This one uses stein hart-hart equations. 12 years ago
create_speed_lookuptable.py Added 20MHz support. 13 years ago
dogm_lcd_implementation.h GLCD init screen cosmetics 12 years ago
fastio.h Use the same fastio.h definition for AT90USB1286/7 and AT90USB646/7. 12 years ago
language.h Allow Edit menu to call fn after edit; Fix PID Ki and Kd display in menus; Actually use changed PID and Max Accel values 12 years ago
motion_control.cpp software_endstops: use *_MIN_POS and *_MAX_POS for arcs 13 years ago
motion_control.h Removed interrupt nesting in the stepper ISR. 13 years ago
pins.h Merge pull request #434 from DDRBoxman/Marlin_v1 12 years ago
planner.cpp Allow Edit menu to call fn after edit; Fix PID Ki and Kd display in menus; Actually use changed PID and Max Accel values 12 years ago
planner.h Allow Edit menu to call fn after edit; Fix PID Ki and Kd display in menus; Actually use changed PID and Max Accel values 12 years ago
speed_lookuptable.h Made the 2nd speed lookup table condition more explicit. 12 years ago
stepper.cpp Merge pull request #1 from illuminarti/Fix_E_Speed 12 years ago
stepper.h Added optional feature to stop printing when an endstop is hit. Made the Z display on the LCD in 3.2 format instead of 3.1. Added LCD message when and endstop is hit. 12 years ago
temperature.cpp Allow Edit menu to call fn after edit; Fix PID Ki and Kd display in menus; Actually use changed PID and Max Accel values 12 years ago
temperature.h Allow Edit menu to call fn after edit; Fix PID Ki and Kd display in menus; Actually use changed PID and Max Accel values 12 years ago
thermistortables.h Merge pull request #414 from whosawhatsis/Marlin_v1 12 years ago
ultralcd.cpp Allow Edit menu to call fn after edit; Fix PID Ki and Kd display in menus; Actually use changed PID and Max Accel values 12 years ago
ultralcd.h Add variable for animated fan, add float conversion w/o sign 12 years ago
ultralcd_implementation_hitachi_HD44780.h Allow Edit menu to call fn after edit; Fix PID Ki and Kd display in menus; Actually use changed PID and Max Accel values 12 years ago
watchdog.cpp Fix compiling the watchdog error message when the manual reset watchdog is used. 12 years ago
watchdog.h First cleanup. Moved all code to cpp files, so there are no dependencies on pde files. And no more odd requirement to cat files together. (Still need to fix the Makefile). Also cleaned up some defines and made defines upper case as by C coding conventions. 12 years ago