open-rmf / rmf_task

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

Fix battery drain crash for GoToPlace #94

Closed Yadunund closed 1 year ago

Yadunund commented 1 year ago

Addresses https://github.com/open-rmf/rmf/issues/359

Yadunund commented 1 year ago

Thanks for the quick feedback and catching the edge case. I've updated the code as suggested. Also addressed this other issue in WaitFor event when the duration count is negative. Added some tests too.