John Robertson
4b2f682d59
Update planner.h
...
fix minimal_step_rate calc
2024-05-16 09:05:53 -04:00
John Robertson
471924e7fd
Update planner.h
...
Added calc for MINIMAL_STEP_RATE
2024-05-16 09:05:53 -04:00
John Robertson
d88953d03e
Update planner.h
...
Moved MINIMAL_STEP_RATE to this file.
2024-05-16 09:05:52 -04:00
John Robertson
1a765b4d91
Update planner.cpp
...
removed
#define MINIMAL_STEP_RATE 120
2024-05-16 09:05:52 -04:00
John Robertson
efb4ffcc97
Fix planner wrong trap generation
...
If the planner `entry_rate` or `final_rate` are larger thanthe `block->nominal_rate` then the trapezoid entry ramp continuously accelerates. Only happens if feed rate is less than MAXIMAL_STEP_RATE.
2024-05-16 09:05:52 -04:00
InsanityAutomation
3481add963
Merge branch 'pr/27035' into EBAB_EBAP
2024-05-16 08:59:01 -04:00
InsanityAutomation
3c7b77b973
Merge branch 'pr/27013' into EBAB_EBAP
2024-05-16 08:56:09 -04:00
InsanityAutomation
90f10e8943
Merge branch 'pr/27031' into EBAB_EBAP
2024-05-16 08:53:18 -04:00
InsanityAutomation
a303ede8b9
Merge branch 'bugfix-2.1.x' into EBAB_EBAP
2024-05-16 08:51:35 -04:00
Scott Lahteine
a33112a4c0
🐛 Reorder FLOAT_SQ
...
Followup to 5f96dffb
2024-05-15 20:30:14 -05:00
thinkyhead
7e8007f024
[cron] Bump distribution date (2024-05-16)
2024-05-16 00:21:28 +00:00
Chris
f320c2a455
🧑💻 Define, apply F_CPU on HC32 ( #27086 )
...
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com >
2024-05-15 18:10:04 -05:00
Chris
6eedeaedaf
🐛 Fix HC32 temperature ADC ( #27085 )
2024-05-15 15:49:40 -05:00
Chris
6b5e19cfc4
🐛 Fix HC32 watchdog timeout ( #27084 )
...
by reducing PCLK3 clock
2024-05-15 15:45:52 -05:00
ellensp
3dc437add4
🎨 Apply TERN0/1 for some contexts ( #27036 )
2024-05-15 15:42:19 -05:00
Scott Lahteine
fb05d3d1e6
match modified names
2024-05-15 15:30:22 -05:00
Scott Lahteine
e5c78767e9
Merge branch 'bugfix-2.1.x' into pr/27035
2024-05-15 15:22:45 -05:00
Scott Lahteine
5f96dffb9b
🧑💻 FLOAT_SQ macro
2024-05-15 15:21:39 -05:00
Scott Lahteine
7cd1fe3b6f
Merge branch 'bugfix-2.1.x' into pr/27035
2024-05-15 15:14:05 -05:00
Mihai
6423b8031d
⚡ ️ Add / enforce min_entry_speed_sqr ( #27089 )
2024-05-15 15:01:56 -05:00
thinkyhead
bbdad79ce5
[cron] Bump distribution date (2024-05-13)
2024-05-13 00:22:55 +00:00
Keith Bennett
a2daee8f7a
📝 MPCTEMP is tested ( #27075 )
2024-05-12 17:39:58 -05:00
ellensp
909e3ad116
🩹 Motor PWM followup ( #27087 )
...
Followup to 08fe8a3076
2024-05-12 17:31:02 -05:00
Scott Lahteine
556616c4f0
🧑💻 Controller warning as macro
2024-05-12 14:37:27 -05:00
Miguel Risco-Castillo
46e426ce96
📝 Use "based on" for partial ProUI ( #26998 )
2024-05-12 13:28:38 -05:00
Alexander Thomas Julian
f5f6c37c17
🐛 LCD Bed Tramming fixes ( #26962 )
...
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com >
2024-05-12 13:25:14 -05:00
Scott Lahteine
08fe8a3076
🔧 Undef motor current PWM for unused axes
2024-05-12 13:21:32 -05:00
thinkyhead
dabcea991f
[cron] Bump distribution date (2024-05-12)
2024-05-12 00:24:03 +00:00
Scott Lahteine
4a5bd47b6a
🎨 Apply MUL_TERN
2024-05-11 13:41:15 -05:00
thinkyhead
e5742a98df
[cron] Bump distribution date (2024-05-11)
2024-05-11 18:06:35 +00:00
Scott Lahteine
81686a3901
Merge branch 'bugfix-2.1.x' into pr/27013
2024-05-11 12:36:20 -05:00
Keith Bennett
774cecc3b4
🩹 Fix AT90USB1286 PIO upload ( #27070 )
2024-05-11 12:03:04 -05:00
Keith Bennett
83b7e32ec4
🩹 Fix Nextion cstr/fstr typo ( #27071 )
2024-05-11 12:02:17 -05:00
Mihail Dumitrescu
51d115670e
Multiply laser ramp by steps_per_isr to fix multistepping case.
2024-05-10 19:02:16 +03:00
InsanityAutomation
f49e93e5c4
Merge branch 'bugfix-2.1.x' into EBAB_EBAP
2024-05-10 10:03:28 -04:00
thinkyhead
a22155bd96
[cron] Bump distribution date (2024-05-10)
2024-05-10 00:21:41 +00:00
Scott Lahteine
f2be86f735
combined float sq
2024-05-09 17:25:15 -05:00
narno2202
1da947f548
⚡ ️ FT_MOTION : Core and other refinements ( #26720 )
...
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com >
Co-authored-by: Ulendo Alex <alex@ulendo.io >
2024-05-09 16:57:23 -05:00
Scott Lahteine
c0d217de47
as described
2024-05-09 16:48:09 -05:00
David Buezas
a3960dfa53
🚸 New encoder logic & debounce ( #26723 )
...
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com >
2024-05-09 16:20:57 -05:00
thinkyhead
bab1917311
[cron] Bump distribution date (2024-05-07)
2024-05-07 01:00:35 +00:00
Andrew
49348716f5
🩹 Fix printf et.al. expecting F-strings ( #27032 )
2024-05-06 18:58:00 -05:00
Scott Lahteine
6ce4f039a2
group for clarity and review
2024-05-06 17:24:07 -05:00
thinkyhead
eb781afe7b
[cron] Bump distribution date (2024-05-03)
2024-05-03 00:21:23 +00:00
Jason Smith
39f53c3f8c
🧑💻 Improve make tests-all-local ( #27040 )
...
* Sleep 5 seconds between platforms
* Inform users if they need to install pyyaml
* Fix old workflow name
* Skip linux_native on Darwin
2024-05-02 06:36:24 -07:00
thinkyhead
b5307aaaad
[cron] Bump distribution date (2024-05-02)
2024-05-02 00:21:16 +00:00
Andrew
f5cf667c95
🎨 Clarify some string parameters ( #26949 )
...
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com >
2024-05-01 15:08:15 -05:00
thinkyhead
737095f852
[cron] Bump distribution date (2024-04-30)
2024-04-30 00:20:48 +00:00
Mihail Dumitrescu
50a38bb365
Optimal number of sqrts and trapezoid calculations.
...
Remove forward_pass(). Call forward_pass_kernel() from recalculate() instead.
Fix potential for large speed changes if planner falls behind.
2024-04-29 19:50:15 +03:00
Mihail Dumitrescu
5717a39422
Remove nominal_length, remove MINIMAL_STEP_RATE, add min_entry_speed_sqr, initial clean up of reverse_pass_kernel and forward_pass_kernel.
...
Removing MINIMAL_STEP_RATE allows for correct handling of moves with low acceleration, including fixing judder that's caused when the planner computes an entry speed based on minimum_planner_speed_sqr that's then promptly overriden by MINIMAL_STEP_RATE.
Added min_entry_speed_sqr to avoid a specific potential source of judder due to working with discrete steps rather continuous real-valued physics. The first step of any segment runs at initial_rate. If it is too low compared to acceleration_steps_per_s2 it will result in too much accumulated acceleration_time (see stepper.cpp) which will mean the following step will be at a much higher speed, and the speed change will significantly surpass the set acceleration_steps_per_s2 limit. Making sure we can match this limit is why we have minimum_planner_speed_sqr in the first place.
2024-04-29 19:50:15 +03:00