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

Question on Spline Parametrizer #228

Open
leonardoedgar opened this issue Feb 23, 2023 · 3 comments
Open

Question on Spline Parametrizer #228

leonardoedgar opened this issue Feb 23, 2023 · 3 comments

Comments

@leonardoedgar
Copy link
Contributor

leonardoedgar commented Feb 23, 2023

Hi, on this line, may I know why the magic number 5 is used?

delta_t = 5 # If average speed is too slow.

I understand that delta_t will be set to that value when sdot is very small but is there any specific reason why 5 is chosen? Could the magic number be 2, 3, or 4 as well?
If there are no implications by selecting lower number, it might improve the final trajectory duration (e.g. selecting 4 can reduce the final trajectory duration by 1 sec)

@hungpham2511
Copy link
Owner

Hi you shouldn't hit this line in most cases. When you do there is most likely an issue.

Can you provide more information on when do you have this?

@leonardoedgar
Copy link
Contributor Author

Hi Hung, actually I had this issue quite frequently when I retimed the final trajectory from ParabolicSmoother. I replicated your pick-and-place scenario in one of your papers. The difference is the suction cup model and the objects' dimensions and weights.

@hungpham2511
Copy link
Owner

I retimed the final trajectory from ParabolicSmoother

Ah yes, I did have some issue with the ParabolicSmoother before.

Do you have a reproducible example?

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

No branches or pull requests

2 participants