-
Notifications
You must be signed in to change notification settings - Fork 405
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
Trajectory Execution Failed Sliently due to "Sending data through socket failed." #556
Comments
Ran into another trajectory execution issue:
|
I cannot quite follow what you are trying to accomplish. Could you please elaborate what (and with which timing) you are sending to the driver's interfaces?
And the comment from your second post comes from the joint trajectory controller directly and means that the trajectory sent to the controller is illegal as (as the output states) the last point in the trajectory is in the past. Timestamps of waypoints must be increasing in time. |
We've tried to install a realtime kernel but it failed to compile. However, by upgrading to low-latency kernel, this problem seems to be resolved as well. @fmauch Do you have any insight on the difference between low latency kernel and realtime kernel and how it might impact the driver? |
This issue has not been updated for a long time. If no further updates are added, this will be closed automatically. Comment on the issue to prevent automatic closing. |
We are currently looking deeper into this and hope to provide some more insight soon. |
The deeper look as mentioned above is now taking shape in #615. |
This issue has not been updated for a long time. If no further updates are added, this will be closed automatically. Comment on the issue to prevent automatic closing. |
This issue has been closed due to inactivity. Feel free to comment or reopen if this is still relevant. |
Summary
Introduction to the issue
When executing multiple trajectories sequentially using remote control, some trajectory may fail silently due to "Sending data through socket failed.". For example, when executing A->B->C. If B failed, then C will directly be executed after A which out any error throwing.
Versions
Impact
If a trajectory is skipped, then it might cause the robot to blindly move from the end of the previous trajectory to the beginning of the next trajectory which my cause a big hazard.
Project status at point of discovered
When did you first observe the issue?
This happens by chance with relatively low probability.
Workaround Suggestion
By searching in this repo, the cause to this failure of "Sending data through socket failed." might be due to that we are not using a real time kernal. We will be testing it following https://github.com/UniversalRobots/Universal_Robots_ROS_Driver/blob/master/ur_robot_driver/doc/real_time.md. However, if this case happens, the driver should either retry, or throw an error instead of fail silently.
The text was updated successfully, but these errors were encountered: