gramaziokohler / roslibpy

Python ROS Bridge library
MIT License
276 stars 57 forks source link

Wait for both terminal status and result before marking a goal as finished #88

Closed eitanme closed 2 years ago

eitanme commented 2 years ago

This PR fixes #87 by waiting on both a result and terminal status before marking a goal as completed.

The behavior is a bit tricky to simulate from a testing perspective as it's a race so I didn't add any new tests, but I ensured it passes the current suite and works for my case in practice.

I did a few things here:

Let me know if there are any questions and hope this helps!

What type of change is this?

Checklist