Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions rclpy/rclpy/action/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,27 @@ def publish_feedback(self, feedback):

def succeed(self):
self._update_state(_rclpy.GoalEvent.SUCCEED)
<<<<<<< HEAD
=======
if response is not None:
self._set_result(response)
>>>>>>> a348801 (Prevents the Future result from being set twice. (#1599))

def abort(self):
self._update_state(_rclpy.GoalEvent.ABORT)
<<<<<<< HEAD
=======
if response is not None:
self._set_result(response)
>>>>>>> a348801 (Prevents the Future result from being set twice. (#1599))

def canceled(self):
self._update_state(_rclpy.GoalEvent.CANCELED)
<<<<<<< HEAD
=======
if response is not None:
self._set_result(response)
>>>>>>> a348801 (Prevents the Future result from being set twice. (#1599))

def destroy(self):
with self._lock:
Expand Down