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

真机调试使用moveit进行规划总是关节速度及加速度过大导致运行失败 #102

Open
fly199123 opened this issue Aug 26, 2024 · 2 comments

Comments

@fly199123
Copy link

真机调试时,使用moveit发送关节指令,规划得到轨迹之后运行关节速度及加速度超出最大值导致运行时有巨大晃动

@Joinjiang
Copy link

When using the updated package, I also encountered this issue: the trajectory execution failure rate is higher than with the previous package, although the runtime stability is slightly better. Additionally, there is a problematic section of code in the updated package's aubo_driver.cpp.
// Check if the acceleration exceeds the limit. for (int i = 0; i < 6; i++) { joint_acc_.jointPara[i] = fabs(target_joint_velc_.jointPara[i] - last_joint_velc_.jointPara[i]) / 0.005; if (joint_acc_.jointPara[i] > MaxAcc[i]) { if (over_speed_flag_) { ROS_INFO("Joint %d acc: (%f - %f)/0.005 = %f ", i, target_joint_velc_.jointPara[i], last_joint_velc_.jointPara[i], joint_acc_.jointPara[i]); } } }. First, the code in that section is meaningless. Moreover, logically speaking, the code inside the ROS_INFO statement will never be executed. The simple linear interpolation used for overspeed checking doesn't indicate how it affects the hardware. Personally, I feel that this code hasn't undergone rigorous and repeated testing, and no specific explanations have been provided. Use it with caution.

@tyhuang98
Copy link

I face the same problem. Have you solved it, any suggestion?

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