-
-
Notifications
You must be signed in to change notification settings - Fork 19.5k
FT_MOTION : simplified buffer management, resolution of all layer shift problems #26074
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
thinkyhead
merged 101 commits into
MarlinFirmware:bugfix-2.1.x
from
narno2202:PR_Ulendo_FT_MOTION_fix
Dec 20, 2023
Merged
Changes from all commits
Commits
Show all changes
101 commits
Select commit
Hold shift + click to select a range
6f0dd21
FT_MOTION : Ulendo implementation merged into Marlin with last bugfix…
narno2202 14bb119
Update stepper.cpp, fix missing variable initialization
narno2202 b63440f
Remove if(!current_block) in void Stepper::fxdTiCtrl_BlockQueueUpdate…
narno2202 e64943b
Update ft_motion.cpp : change text to reflect code change
narno2202 24ebed2
Update M493.cpp, remove reset flag and call to reset()
narno2202 501c143
Update ft_motion.cpp, minor aesthetic code change
narno2202 a10de67
Update ft_motion.cpp: Fix copy-paste error on copy the uncompensated …
narno2202 86817e8
Move COMMAND_SET outside the loop in void FxdTiCtrl::convertToSteps(c…
narno2202 82fc473
Update M493.cpp, add comment
narno2202 54f5fc4
Merge Babystepping isr changes
narno2202 172e6f1
Merge branch 'bugfix-2.1.x' into PR_Ulendo_FT_MOTION_fix
narno2202 c91463f
Fix unit conversion if STEPS_ROUNDING is enabled in ft_motion.cpp
narno2202 20a10ed
Merge branch 'bugfix-2.1.x' into pr/26074
thinkyhead faf5edb
Update Configuration_adv.h. Change FTM_STEPPERCMD_BUFF_SIZE to 3000
narno2202 37d5ce7
Update M493.cpp after comments from @ulendoalex about reset()
narno2202 84e98bd
Merge branch 'MarlinFirmware:bugfix-2.1.x' into PR_Ulendo_FT_MOTION_fix
narno2202 40b41fa
Fix sensorless homing with QUICK_HOME and FT_MOTION enabled
narno2202 07572df
Merge branch 'MarlinFirmware:bugfix-2.1.x' into PR_Ulendo_FT_MOTION_fix
narno2202 809cadb
Update ft_motion.cpp, solves back and forth motion of Z axis during UBL
narno2202 71b3402
Disable FT Motion for all of G28
thinkyhead 6839f33
Remove unused include
narno2202 d49ec9b
Merge branch 'MarlinFirmware:bugfix-2.1.x' into PR_Ulendo_FT_MOTION_fix
narno2202 2effe7c
Update ft_motion.cpp for CoreXY motion as proposed by @ulendoalex
narno2202 c703de9
Correct typo for _MIN and _MAX macros
narno2202 6f64be9
Commit changes suggested by @ulendoalex for CoreXY printers
narno2202 0b3fe09
Revert last commit. Original max_feedrate compute
narno2202 ce1aa3d
Forget to delete one instance of max_feedrate
narno2202 5cfebde
Use 'FTM_MIN_TICKS'
thinkyhead 3c8f16b
adjust formatting
thinkyhead 5aa3f26
fix up indents
thinkyhead 3beb11c
reduce
thinkyhead eefadac
Add missing braces, fix BLTouch HS mode with FT_MOTION enabled
narno2202 a4c6e2e
tweaks
thinkyhead 5215a1d
define all needed FT_BIT_DIR/STEP
thinkyhead a668412
discard_current_block does that
thinkyhead a8146fb
Increase MINIMUM_STEPPER_POST_DIR_DELAY to 80ns for Trinamic drivers …
narno2202 777f6b7
Remove duplicate variable reset
narno2202 725e1a2
M493 optimized to call only once planner.synchronize() in all cases i…
narno2202 71a37f9
MINIMUM_STEPPER_POST_DIR_DELAY : 70ns seems enough to have BLTouch HS…
narno2202 8939524
Fix a typo
narno2202 878eefb
Unnecessary code removal
narno2202 6250500
use reset()
thinkyhead e319393
parens
thinkyhead 60aeda2
Merge last changes suggested by @ulendoalex: axes_dir logic and debou…
narno2202 6bb51ab
Typo error
narno2202 414ec53
AXIS_MOVE_DEBOUNCE_SEC
thinkyhead 6e607cb
Update stepper.cpp with @ulendoalex suggestion
narno2202 3a43586
Revert change as it breaks BLTouch + HS mode again
narno2202 55e24e1
Define some FT_MOTION variables outside a loop
narno2202 8e76b40
Merge last code review by @ulendoalex, code simplification and BLTouc…
narno2202 f21016e
misc. cleanup
thinkyhead 2f00b81
Merge remote-tracking branch 'upstream/bugfix-2.1.x' into pr/26074
thinkyhead b25d144
Use AxisBits type
thinkyhead 5d9cf0a
Fix Stepper::set_ft_axis_position
thinkyhead 4f899bb
set_ft_axis_position => fxdTiCtrl_syncPosition
thinkyhead 083512a
misc.
thinkyhead 19e4bd1
branchless set didMoveReport
thinkyhead 4596583
simplify
thinkyhead f080b9d
avoid expensive division
thinkyhead 77250db
misc.
thinkyhead 3190b97
Some simplifications in math
narno2202 d9fb325
Remove some unnecessary intermediate variables
narno2202 754d78c
Merge branch 'bugfix-2.1.x' into pr/26074
thinkyhead 60f2528
no changes to msc_sd.cpp
thinkyhead 0b390c3
fxdTiCtrl => ftMotion
thinkyhead d184d3b
ws
thinkyhead 704a8be
Merge branch 'bugfix-2.1.x' into pr/26074
thinkyhead 805ddf0
Merge branch 'bugfix-2.1.x' into pr/26074
thinkyhead f76c0e7
Remove unnecessary conditional, fix missing HAS_Y_AXIS OPTARG
narno2202 1e55c36
Try to move delta test outside the lopp in convertToSteps() to avoid …
narno2202 a530972
Avoid unnecessary test if LASER_FEATURE is not enabled
narno2202 ef3d370
Merge branch 'MarlinFirmware:bugfix-2.1.x' into PR_Ulendo_FT_MOTION_fix
narno2202 3ea074a
Remove inline directive (call from a pointer)
narno2202 9151cb3
Merge branch 'MarlinFirmware:bugfix-2.1.x' into PR_Ulendo_FT_MOTION_fix
narno2202 9f39303
Merge branch 'MarlinFirmware:bugfix-2.1.x' into PR_Ulendo_FT_MOTION_fix
narno2202 c67c654
Disable FT_MOTION while probing : G29, G35, G34_M422, G38, M48
narno2202 2fcb720
Merge branch 'MarlinFirmware:bugfix-2.1.x' into PR_Ulendo_FT_MOTION_fix
narno2202 0f819de
Minor changes in command_set functions and convertToSteps function
narno2202 0543de9
Assusme a ratio of 2 between FTM_WINDOW_SIZE and FTM_BATCH_SIZE,
narno2202 4524d78
Set FTM_ZMAX to 2 * (FTM_FS / FTM_MIN_SHAPE_FREQ), so all the shapers…
narno2202 d2d5fd0
Merge branch 'MarlinFirmware:bugfix-2.1.x' into PR_Ulendo_FT_MOTION_fix
narno2202 56acbb2
Allow fixed ratio or custom size for Window and Batch arrays (needed …
narno2202 d51f17c
Minor code change
narno2202 69247a9
Merge branch 'MarlinFirmware:bugfix-2.1.x' into PR_Ulendo_FT_MOTION_fix
narno2202 434245c
Remove a variable re-initialization as a new value is always assigned
narno2202 7f87d4f
Code simplification in ftMotion_stepper() function
narno2202 de7326e
Merge branch 'MarlinFirmware:bugfix-2.1.x' into PR_Ulendo_FT_MOTION_fix
narno2202 5025efd
Add a missing line of code
narno2202 4485661
Merge branch 'MarlinFirmware:bugfix-2.1.x' into PR_Ulendo_FT_MOTION_fix
narno2202 479b781
Probing is now insensitive to parameter or code changes, sensorless h…
narno2202 c0f518a
Merge branch 'MarlinFirmware:bugfix-2.1.x' into PR_Ulendo_FT_MOTION_fix
narno2202 10d838b
Allow damping and vibration tolerance for X and Y axis depending on t…
narno2202 aa4aa7c
Fix BLTouch HS mode, remove unsused code
narno2202 ff0d56b
Remove useless code in G38.cpp
narno2202 b1d32cf
adjust config
thinkyhead eb5a47e
fix bugs, format code, etc.
thinkyhead 8ad913b
typo
thinkyhead 829b9e5
Merge branch 'bugfix-2.1.x' into pr/26074
thinkyhead bc6b966
Merge branch 'MarlinFirmware:bugfix-2.1.x' into PR_Ulendo_FT_MOTION_fix
narno2202 eb436fc
Revert trajectory variables to previous declaration as with the new o…
narno2202 c0d9b10
Remove useless #if-#endif (trajectory variables)
narno2202 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.