open-rmf / rmf_task

RMF library for managing task allocations
Apache License 2.0
22 stars 22 forks source link

Cancellation phase #107

Closed mxgrey closed 7 months ago

mxgrey commented 7 months ago

It came to our attention that users get understandably confused when a robot enters a cancellation sequence after a task has been canceled because the task status makes it appear as though the cancellation had no effect.

This PR adds a new type of phase called a "cancellation phase" which simply gets wrapped around any phase that belongs to a cancellation sequence. This cancellation phase will give clear indications to users that the task has been successfully canceled and is undertaking a cancellation activity.