ros / actionlib

Provides a standardized interface for interfacing with preemptable tasks. Examples of this include moving the base to a target location, performing a laser scan and returning the resulting point cloud, detecting the handle of a door, etc.
http://www.ros.org/wiki/actionlib
96 stars 155 forks source link

Added a check to see if the transition callback is for the current goal handle #177

Closed mmoerdijk closed 3 years ago

mmoerdijk commented 3 years ago

This adds a check to see if the transition callback is for the current goal handle similar as is already done in _handle_feedback.

We have this error Received comm state ACTIVE when in simple state DONE with SimpleActionClient pop up occasionally when quickly overwriting the goals on the simple action client. This PR fixes that.

mmoerdijk commented 3 years ago

@jacobperron Could you have a look?