-
Notifications
You must be signed in to change notification settings - Fork 181
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
Controller and industrial-robot-client out of sync for empty trajectories #154
Comments
Can you elaborate on this a bit? I'm not sure I understand what you are trying to say. |
So As we lack the feedback channel to JointRelayHandler, this will lead to |
That I understood :) (but thanks for the additional info) I was more curious as to why you specifically mentioned But I gather that you use it as a reference to a "regular IRC driver/client". Correct? |
yes sorry, fanuc_driver is the first streaming "regular IRC driver" I actually use. Up until now I was always using self-made drivers based on joint_trajectory_downloaders interface |
@simonschmeisser, thanks for reporting this issue. I definitely needed the additional info, it's been a while since I looked at that particular code. As I understand it, this bug occurs when a trajectory with the start and goal states being identical (or nearly). This is a known issue in #131 (submitted by you) with the action interface node, but if I understand correctly, this occurs with the streaming node as well? |
Well, there is two issues here:
is indeed #131 but this is more a symptom than a cause, ideally there should be something like EXECUTING flag in status message that allows the server/controller to decide when it's done. I think this was discussed in ros-industrial/rep#12 but never materialized |
@simonschmeisser wrote:
That REP is specifically targeted at Cartesian motions. I would rather see such a flag added to We have to be careful though: making IRC check those things should not make it impossible to implement something like trajectory replacement (or we should just migrate to |
…tion See ros-industrial#131 and ros-industrial#154 for discussion
…tion See ros-industrial#131 and ros-industrial#154 for discussion
…tion See ros-industrial#131 and ros-industrial#154 for discussion
If the robot is already at the goal position up until now we were sending a trajectory containing start=goal two times and an execution time of 0s. robot_state_node will therefore decide that we reached the goal immediately. The trajectory Uploader/Streamer will however just now start uploading the trajectory to the controller, do some overhead there and generally take some time. During this time our code thinks the robot is ready while in fact it is still executing a "pointless" trajectory.
This seems to have two implications for us, our mitsubishi driver fails to control IOs sometimes as the controller does not allow parallel access. The fanuc driver sometimes rejects trajectories as the end of the previous trajectory (empty or not) is not properly synchronized.
The text was updated successfully, but these errors were encountered: