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

Premature termination of trajectory action #114

Open
Jmeyer1292 opened this issue Jun 15, 2015 · 4 comments
Open

Premature termination of trajectory action #114

Jmeyer1292 opened this issue Jun 15, 2015 · 4 comments
Labels

Comments

@Jmeyer1292
Copy link
Contributor

Hello all,

The ros-industrial client's action server interface performs checks for 'goal completion' upon accepting a new trajectory and as it gets feedback about the robot state. See this link.

Unfortunately this means that any trajectory starting at the 'end point' is immediately considered successfully executed. Furthermore any trajectory that passes through the end point, even if there are more points to go, will be considered successfully executed.

If I'm using the system wrong, please let me know. I'm not sure what the best route to fixing the issue (if it is one) is yet, but I'll look into it in a bit.

@VictorLamoine
Copy link
Contributor

Happened to me already, I thought I was doing something wrong at that time!

@gavanderhoorn
Copy link
Member

This seems to be at least counter-intuitive, so I think this is not you (@Jmeyer1292) "using the system wrong". You could say that trajectories should be made up of segments that do not overlap, but that seems like an unreasonable restriction.

Perhaps the nr of points should be used to check whether a trajectory could be completed at the point where withinGoalConstraints(..) returns true, but I'm not sure the joint_trajectory_action node has access to that information.

@shaun-edwards
Copy link
Member

Address in Indigo by #115

@shaun-edwards
Copy link
Member

This bug was not fixed by #115 or at least there was another manifestation with a different root cause. In short, motions with the same begin and end point could return complete immediately if the in_motion status (and corresponding robot motion) did not begin immediately. In other words, there exists a race condition between the setting and checking of the in_motion status. More discussion on potential solutions can be found in #119. As #119 is not a proper solution, this issue will remain open.

@shaun-edwards shaun-edwards reopened this Jul 28, 2015
shaun-edwards referenced this issue Oct 29, 2015
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants