Skip to content

Commit

Permalink
Tell Spot to stop on timeout (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuAPi authored Aug 19, 2024
1 parent b6994d2 commit 5993abf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spot_driver/src/spot_driver/spot_ros.py
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,7 @@ def handle_trajectory(self, req: TrajectoryGoal):
)

def timeout_cb(trajectory_server, _):
self.spot_wrapper.stop()
trajectory_server.publish_feedback(
TrajectoryFeedback("Failed to reach goal, timed out")
)
Expand Down

0 comments on commit 5993abf

Please sign in to comment.