Skip to content

inital implementation of the velocity feed forward #267

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
merged 3 commits into from
Sep 27, 2023

Conversation

askuric
Copy link
Member

@askuric askuric commented Mar 31, 2023

  • An initial implementation of the velocity feed forward in order to allow for more advanced planning strategies

For example for trapezoidal velocity profile:
https://community.simplefoc.com/t/3d-printed-robot-arm-acceleration-deceleration-planner-algorithm/958/39

@dekutree64
Copy link
Contributor

I was just looking through all the pull requests, and I think I spotted a typo in this one. BLDCMotor.cpp line 422 and StepperMotor.cpp line 311 constrain shaft_angle_sp to the velocity limit. Shouldn't it be shaft_velocity_sp that is constrained?

@askuric
Copy link
Member Author

askuric commented May 24, 2023

Hey @dekutree64,
You're absolutely right!
I'm so glad that it stayed in this PR, thanks for taking the time to go in such detail. I'll update it right away!

@askuric
Copy link
Member Author

askuric commented Sep 27, 2023

I am not sure how, but this is already inside the dev branch. :D
I must have done some accidental pushes.
So, there is no point in leaving this one open any more, I'm merging it.

@askuric askuric merged commit 0b53813 into dev Sep 27, 2023
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.

2 participants