ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can only accept a new goal once, but you have two calls of as.acceptNewGoal(). so just call it once to get a pointer to the current goal. You can check the implementation here.