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

Result::ErrorExecutionTimeCalculation -by hualei #194

Closed
hubeihualei opened this issue Jun 6, 2024 · 4 comments
Closed

Result::ErrorExecutionTimeCalculation -by hualei #194

hubeihualei opened this issue Jun 6, 2024 · 4 comments

Comments

@hubeihualei
Copy link

hubeihualei commented Jun 6, 2024

i test 4 dof example, i use the follow data, but result=Result::ErrorExecutionTimeCalculation
i use the latest ruckig code.

input.current_position = {2.990056872367862, 2.51504516601562, 0, 0};
input.current_velocity = {0.0, 0, 0, 0};
input.current_acceleration = {0.0, 0, 0, 0};
input.target_position = {2.990056872367862, 2.51504516601562, 0,719};
input.target_velocity = {0.0, 0, 0,0};
input.target_acceleration = {0.0, 0.0, 0,0};
input.max_velocity = {225, 600, 12499.99999999999,546.454545454545};
input.max_acceleration = {11250, 30000, 624999.9999999997,27272.72727272725};//
input.max_jerk = {562500, 1500000,31249999.99999998,1363636.363636363};

@hubeihualei
Copy link
Author

Dingtalk_20240606144413

@chinahuangyong
Copy link

input size is 4, but ruckig dof set 3.

@pantor
Copy link
Owner

pantor commented Jul 24, 2024

This issue is due to numerical reasons as the input exceeds the limits explained in the Readme section. Using the Ruckig Pro version with a time_scale = 100.0 works just fine.

The dof: 3 output from the message above is zero-indexed, so it's the last axis. Btw, you can format the code via markdown, this helps a lot for testing and debugging issues.

@pantor pantor closed this as completed Jul 24, 2024
@hubeihualei
Copy link
Author

hubeihualei commented Jul 24, 2024 via email

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

3 participants