LinuxCNC S-Curve Accelerations

More
30 Mar 2026 16:09 - 30 Mar 2026 17:59 #344958 by endian
Replied by endian on topic LinuxCNC S-Curve Accelerations

Yes Rod .. it is solution but it is creating constant delay between control position -> DFIR -> current position of tool ....
 
It will not add any delay as it should be applied as the acceleration is calculated or read per servo cycle. Just not sure how you need to use it. 
the size of the buffer is configurable.
Any other published moving average solution wanted to use loops which are a source of delay so I devised this..
One of the cleverest algorithms I have ever coded...
 
 

I think the best way to apply that... its consulate with Luca or Yang Yang if they are allready not using something like that now...  I'm not that familiar with their code till now ... it toooo way complicated for me

my next observation is - high value of G64 tolerance around 0.1(650us spikes) is spiking more than 0.001(250us spikes)

best setup till now ... most influential spiking thingy is the 
OPTIMIZATION_DEPTH... this creates real mess
ARC_BLEND_ENABLE = 1
ARC_BLEND_FALLBACK_ENABLE = 1
ARC_BLEND_OPTIMIZATION_DEPTH = 8
ARC_BLEND_RAMP_FREQ = 64
ARC_BLEND_GAP_CYCLES = 64
TC_QUEUE_SIZE = 200
Last edit: 30 Mar 2026 17:59 by endian. Reason: setup add
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

Time to create page: 0.099 seconds
Powered by Kunena Forum