-
Notifications
You must be signed in to change notification settings - Fork 182
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
Further Trajectory Completion Adjustments #119
Further Trajectory Completion Adjustments #119
Conversation
before it begins to check for completition. This prevents the action for returning immediately for trajectories that end near the start point and are slow to start moving.
This to me seems like a work-around: why start checking after half of the trajectory has been executed? Why not only check after the last point of it has been sent? Would this solve the problem of trying to execute a 'figure eight' kind of trajectory for instance? Where the path of the TCP intersects with the starting point multiple times? |
Ideally this would be how the problem is solved. Unfortunately, the action interface does not know when the last point was sent. Only the robot client node does. A better solution may be to add the action interface to the client node, but this is a larger, more invasive change.
In this case, the |
@shaun-edwards wrote:
Perhaps it would be an option to add a feedback signal between the action server and the robot client, in a similar way that actionlib uses
Then this is still a work-around: checking |
Separating |
All of these suggestions are good ones. I propose to accept this PR as is and log an issue for a better solution? Thoughts? |
Sure, we can merge this. At least as a workable work-around for now. |
+1 for the work-around. Issue #114 was reopened to be addressed by a better, more appropriate fix later. Thanks @Jmeyer1292 for the contribution and all for the discussion. |
…ecks Further Trajectory Completion Adjustments
before it begins to check for completition. This prevents the action for returning immediately for trajectories that end near the start point and are slow to start moving.
This PR follows up on #115 addressing #114.
While #115 removes the immediate check for goal completion, the action server can still terminate immediately upon the relieving its first feedback if a point toward the beginning of the trajectory is close to the end and the robot is slow to start.
This PR forces the action server to wait for half of the trajectories total duration before checking for the robot state against the end state. This gives time for the robot to start moving and publishing the
in motion
flag.I have tested this pretty extensively in the Godel project and it seems to fix my issues. I am not sure if this is an appropriate solution, even as a temporary fix, but the issue remains and I thought I'd at least see what y'all think.