Skip to content
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

Velocity/acceleration/jerk constraints for entire motion (not per DOF) #196

Closed
marcel13p opened this issue Jun 12, 2024 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@marcel13p
Copy link

Dear pantor,

I am using ruckig for a project with a delta robot. Ruckig works great for planning the trajectory. However, I do not wish to set velocity, acceleration or jerk constraints for x, y, and z independently, but for the whole motion. I would like to set a v_max_global so that v_max_global = sqrt(v_x_max^2+v_y_max^2+v_z_max^2). Now I need to first calculate the direction of the movement, normalize it and multiply it by my constraints to get the correct maximum constraint for the combined motion. This method feels quite hacky and I imagine it only works for phase synchronization.

@pantor
Copy link
Owner

pantor commented Jul 22, 2024

You're correct, Ruckig currently only supports constraints per axis. Adding more complex constraints would require knowledge about the kinematics of the system, and is therefore currently out of scope as we want Ruckig to remain a simple low-level trajectory generator.

Your solution would work for phase synchronized motions. Another alternative would be to move slower with v_max_global / sqrt(3) for each axis.

@pantor pantor added the enhancement New feature or request label Jul 22, 2024
@pantor pantor closed this as completed Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants