Commit Graph

5306 Commits (bfd3b3c60414e9bf388b4859762a1b8dfcf763eb)

Author SHA1 Message Date
esenapaj 1e1edeadd3 Fix for the commit dc2cb84 (Revert acceleration limiting to avoid overflow)
・Add forgotten '\'
Scott Lahteine dc2cb8454c Revert acceleration limiting to avoid overflow
Scott Lahteine 6ae5cf17a9 Merge pull request from esenapaj/Fix-freezing-with-MAX31855
Fix freezing and MINTEMP Error with MAX31855 thermocouple
Scott Lahteine f257c4bcae Merge pull request from thinkyhead/rc_dac_code_deps
Fix DAC current code
Scott Lahteine b80cc0cbb5 Fix DAC current code
esenapaj 385bd8a4a3 Fix freezing and MINTEMP Error with MAX31855 thermocouple
Scott Lahteine ca7275a67a Disable EXTRAPOLATE_FROM_EDGE by default
Scott Lahteine 0921c7da84 Merge pull request from thinkyhead/rc_jerk_from_mk2
Adapt Jerk / Speed code from Prusa MK2
Scott Lahteine 4d89652bc2 Apply minor optimizations to planner.cpp
Scott Lahteine 1092319b19 Adapt speed/jerk code based on Prusa MK2 branch
Scott Lahteine 37643fef63 Merge pull request from bgort/platformio-improvements
Move platformio directories out of source tree
Scott Lahteine 8e1cc9332a Replace block flag bools with flag bits
…and apply const to some method parameters
Scott Lahteine d41f2bdbd8 Merge pull request from thinkyhead/rc_max31855_fix
Patches for Stepper DAC and MAX31855
Scott Lahteine e7cf566fc5 Do kinematic segments with buffer_line_kinematic
This breaks the raw option, but in the future perhaps all planner moves
will be sent in raw form instead of logical.
Scott Lahteine a10e81dc2a Minor cleanup of set_bed_leveling_enabled
Scott Lahteine 029824bc49 Patch ADJUST_DELTA macro for SCARA
Scott Lahteine 5ce5a9c822 Marlin: planner.h tweak
Scott Lahteine d963020532 Sort out some header dependencies
Scott Lahteine e17f9b8b99 DAC patches
As suggested by 
Scott Lahteine 2cb5df8a56 Merge pull request from
Small fix for the PR  (LIN_ADVANCE bug fix and optimization)
Scott Lahteine b6221df3f3 Merge pull request from MarlinFirmware/revert-4933-rc_drop_pid_func_range
Revert "Removal of PID functional range"
Scott Lahteine a07033a6c1 Merge pull request from
Fix and follow-up the PR  (PINS_DEBUGGING and M43: Read pin states), etc
Scott Lahteine f8199b2cc1 Merge pull request from thinkyhead/rc_abl_bugfix
Fix planner with kinematics, delta ABL
esenapaj f41c60d4a4 Follow-up the PR , etc
・More ANALOG NUMBERING to Analog Input
・Add comment header to all the section of all the pins files

・Sort sections as follows:
1. Some special definitions (USBCON, LARGE_FLASH, etc)
2. Servos
3. Limit Switches
4. Z Probe
5. Steppers
6. Temperature Sensors
7. Heaters / Fans
8. Misc. Functions
9. LCD / Controller

・Move MAX6675_SS into "Temperature Sensors" section
・Adjust spacing
esenapaj 00456b0cb3 Fix compilation errors
esenapaj cfb5c24bc9 Small fix for the PR (LIN_ADVANCE bug fix and optimization)
・Fix a comment about timer
Scott Lahteine 149b8d9e4b Handle MAX31855 error conditions
Scott Lahteine f4ec265363 Fix a typo
Scott Lahteine 4ec2d459e6 Fix mcp4728_setVref_all as followup to
Scott Lahteine 1e551c0688 Revert "Squashed - Removal of PID functional range"
Scott Lahteine 4037df82b0 Merge pull request from esenapaj/Update-Japanese-language
Update Japanese translation, etc
Scott Lahteine e4e290d957 Make EXTRUDER_RUNOUT_PREVENT kinematic compatible
Scott Lahteine 847429eff4 Make tool_change kinematic compatible
Scott Lahteine a4a7ca10ca Make USE_DELTA_IK_INTERPOLATION compatible with ABL
Scott Lahteine c5cac486f5 Use a, b, c instead of lx, ly, lz
Josef Pavlik f8c2473a71 Improve planner kinematics, fix delta ABL
Scott Lahteine 48761f2021 Patch delta endstop adjustment config
Josef Pavlik 28d41b48e3 delta endstop adjustment configurable
Scott Lahteine ff6b23cb0f Fix an issue with shifted LCD lines
Scott Lahteine e4d2662d81 Use some macros in M48
Scott Lahteine 3752d9aca8 Fix timer comments
Sebastianv650 a448cedbc5 LIN_ADVANCE bug fix and optimization
.) long to int: Extruder stalls at 10kHz / 20kHz step limits with long.
.) Take the delta_adv_steps calculation out of the step_loops loop. Wasted calculation performance if done inside.
.) >> 2 replaced by 3: Is divide by 8. Reason: Timer 0 runs at 16/8=2MHz, Timer 1 at 16/64=0.25MHz. ==> 2/0.25=8.
esenapaj b27080c1dd Update Japanese translation
・Add new translation
esenapaj 0780146034 Move DAC section from inside of the changing filament section
Brian 9c0404eae4 Move platformio directories out of source tree
Scott Lahteine a1b50f1102 Cleanup of code style
jaysonkelly 13c9dcc600 Add LCD menu for DAC
Scott Lahteine 00261cbfcb Merge pull request from thinkyhead/rc_drop_pid_func_range
Squashed - Removal of PID functional range
Scott Lahteine ee01def16d Merge pull request from thinkyhead/rc_debug_pins
PINS_DEBUGGING and M43: Read pin states
Scott Lahteine a0df34fd4c Add PINS_DEBUGGING advanced config option
Scott Lahteine e21bab5243 PINS_DEBUGGING and M43 Read Pins
Scott Lahteine 3c97fa6e29 Merge pull request from esenapaj/Fix-for-advance-algorithm
Move routine of direction signal of ADVANCE and LIN_ADVANCE from Stepper::isr() to Stepper::advance_isr()
Scott Lahteine 48e63c4730 Comment some globals
Scott Lahteine 9a6c66602f Fix formatting of extrapolate debug output
Scott Lahteine cd77eb5c40 Clear grid for bilinear G29
Scott Lahteine 53a0856f5c Print Y as int in print_bed_level
esenapaj f8df88f271 Move routine of direction signal of ADVANCE and LIN_ADVANCE from Stepper::isr() to Stepper::advance_isr()
Brian 357854a7ef tweak variables;
Brian 48cf19151a Improve M48 output; Add min, max, range, etc.
Scott Lahteine c63cb45268 Fix thermal runaway timeout
Scott Lahteine e6164d254d Clean up GCode command short comments
Scott Lahteine 47bd142b29 Should marlinAnalogInputToDigitalPin use analogInputToDigitalPin?
Scott Lahteine bd8520e61d Label analog pins in a similar way
Some other pins formatting also
Scott Lahteine 0c0deb5194 Common pin_is_protected function
Scott Lahteine 49d77720d5 More support for 4th extruder or heater
Scott Lahteine 46839c222a Comment and clean up some vars
Scott Lahteine 8910bb7c97 Fix buzzer conditional compile
Scott Lahteine de7e798e6f Replace single-char S_ECHOs with S_CHAR
Scott Lahteine 0e83f34174 Tweak debugging of probe_pt
Scott Lahteine cc02f6edf8 Merge pull request from esenapaj/Small-update-of-language_kana_h
Small update of language_kana.h
Scott Lahteine ca26011e3c Merge pull request from MagoKimbra/rc_fix_M205
Add note for M205
Scott Lahteine 9485aa8f13 Include negative Z probe offset in clearance move
Scott Lahteine 5c1eb595e6 Fix for G2/G3 negative radius
As suggested in 
esenapaj f09ae96f28 Small update of language_kana.h
MagoKimbra 7b37539fe7 Add note for M205
Scott Lahteine d5f598cd82 Tweak probe debug, add newline
Scott Lahteine c592ccb6f5 Patch max_jerk[Z] menu item
Scott Lahteine d80a79eb77 Use right-shift instead of / 2, why not?
Rerouter 02fe9cf558 Removal of functional range constraint
Also lined up the >> 1 and / 2 mentioned earlier in the unconstrained I term issue,
Rerouter 5f5d87cad3 Update Configuration.h
Scott Lahteine 761593b74b Cleanup some vars, use of min/max
Scott Lahteine d19cfcfc1d max_jerk array, DEFAULT_XYJERK => DEFAULT_[XY]JERK
Scott Lahteine e7dc174f30 More detailed debugging of G28 delta
Scott Lahteine 473f4a17a8 Merge pull request from Rerouter/PID-Unconstrained-Itemp
Pid unconstrained itemp
Scott Lahteine bad8899ebc Merge pull request from thinkyhead/rc_g38_changes
Cleanup of G38.2 / G38.3
Scott Lahteine 73ce3a61c7 Cleanup, comment zigzag
Scott Lahteine 0d538f3db6 Add to all configurations
Scott Lahteine 919fe3e4b8 Rename feature to G38_PROBE_TARGET
Scott Lahteine a2864ab7fe Patched up, cleaned up
Bob-the-Kuhn 2911aa7ffa code changes to implement G38 commands
1) modified 3 code files
Marlin.h
Marlin_main.cpp
endstops.cpp

2) modified config files so I could test on my machine

Testing was done on an AzteegX3pro based machine.

The probe was hooked to the Z_MIN endstop.

My controller doesn't have a dedicated Z_PROBE input so I couldn't test
that functionality.

Verified that a large file (without any G38 commands) executed the same
before and after the changes.

Verified that the head moves as expected when G38.2 and G38.3 commands
are issued. Single & multiple axis moves were tested along with + and -
directions.

Code was added to the main ISR. In normal operation only one extra IF
statement is evaluated. I didn't notice any performance degradation
because of the added code.

The G38 commands are expected to be issued manually by the operator
during machine setup. The G38 commands wait until the machine is idle
before proceeding. That way the other commands are minimally impacted
by the extra ISR overhead when a G38 command is in the queue.

The G38 commands are very similar to the G28 commands except 1) only the
Z_PROBE is used and movement can be in the + or - direction.

See issue 4677 for a discussion on adding G38 commands to Marlin.
Feature request: add ability to use G38.2 command (CNC)
Scott Lahteine 74d048e77e Merge pull request from thinkyhead/rc_bltouch_noraise
Don't check Z_MAX on raise when the probe pwns the pin
Scott Lahteine 4afa293289 Say "BLTOUCH" in machine info report
Scott Lahteine ed7d2694fc Don't check Z_MAX on raise when the probe pwns the pin
Scott Lahteine 3bbdd48a4d Merge pull request from thinkyhead/rc_abl_patchups
Fix up ABL - Add PROBE_Y_FIRST option. Arduino 1.6.8 required.
Scott Lahteine fffc9fefa8 Apply changes to all configs
Scott Lahteine 587cb6c283 K8400 has 1xXY an 2xZ endstop plugs
Scott Lahteine d234bc160e Require Arduino 1.6.8 to compile
Scott Lahteine 2d2c9bdf92 Add PROBE_Y_FIRST option for probe order
Scott Lahteine c8c57e59fc Patch the end of G29 to sync plan position
Scott Lahteine 81b8c9f8ec Add XY parameters to G29 for mesh dimensions