Skip to content

Conversation

@dbuezas
Copy link
Contributor

@dbuezas dbuezas commented Dec 22, 2025

There was a bit of code duplication in the trajectory generators. This code reuse also makes it clearer that the poly trajectory generators reuse the time duration and final speed of all phases of the trapezoidal.

I added a couple of cached values (T1_plus_T2 and total duration) to speed up slightly the functions called very often.

This is also a preparation for a small feature I want to try which makes asymmetric profiles for travel moves (lower acceleration on decel phase to reduce ringing after long travel moves).

Description

Requirements

Benefits

Configurations

Related Issues

@dbuezas dbuezas marked this pull request as draft December 31, 2025 14:51
@dbuezas
Copy link
Contributor Author

dbuezas commented Dec 31, 2025

hold - needs debugging, something broke.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant