-
Notifications
You must be signed in to change notification settings - Fork 41
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
slvMove under Mode 0x202 #49
Comments
@wanweiwei07
|
Thank you for your quick reply. My Cobotta information is as follows Let me share more information. When the trajectory is successfully followed, I get the following controller timestamps (integers) starting slave mode The following parts show three failure examples. starting slave mode For the second one, the control failed after sending the third joint configuration. For the third one, the control failed after sending the second joint configuration. |
Let me share more information. Tonight I tested my code on a RT Linux and a different cobotta robot. The success could be because of:
I do not think the RT Linux is a good excuse because on the previous cobotta, Thus, I am suspecting the robot itself. Could it be a problem of my cobotta controller? If you need more about more RT and non-RT systems, their details are as follows. |
Problem solved. I installed a new ubuntu20.04 with preempt rt just now, But I am still wondering why non-rt system does not work. By the way, I have tested all the following system setups, The only feasible setup is: I am not closing this problem as I still hope to see your comments on the failed system setups. |
I did more tests today. Now my only problem is the acceleration. If I set the maximum acceleration of my trajectory planner to pi for all joints, the robot works fine. I did not find the acceleration parameters from a cobotta guide book, |
I think I have figured out the problem: I will close this session now and will switch to Cobotta Technical Support for the other questions I raised before. |
I am sorry but this problem happen again. It seems including a short sleep is not the final solution for it. We still encounter 1482 from time to time. |
@wanweiwei07 san, For SlvMove and 84201482 issues, we analyze the error cause in Wireshark. ORiN2\CAP\b-CAP\Tools\Wireshark\b-CAP.lua is available for you to try. |
Dear @wanweiwei07 san, |
I am using bcap python to control cobotta. When performing bcc.robot_execute(self.hrbt, "slvMove", jnts) in a while loop to move joints a long a planned trajectory, my robot stops due to exception 84201482.
After some debugging, I find that the buffer empty problem usually happened in the very beginning of a motion trajectory.
If I print the returned timestamps from robot, I could see things like this:
13508748 [-116.20905554149799, 3.0567682619781675, 53.14143028320454, 116.36814649315967, 103.1989631033668, -49.82750854531973, 0, 0]
13508750 [-116.20512549882889, 3.057020257002086, 53.1431989936295, 116.36538289994337, 103.19413799537672, -49.826592746694786, 0, 0]
13508751 [-116.19322104613083, 3.05778357259303, 53.14855657657791, 116.35701172754392, 103.17952230932254, -49.82381871029631, 0, 0]
The timestamps have very short intervals.
For successfully executed trajectories, the short intervals happen sometimes too, but in most cases, 8 ms separation could be confirmed. Any ideas about the causes? Thanks!
The text was updated successfully, but these errors were encountered: