open-rmf / rmf_task

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

Add request_type identifier and configurable retreat_to_charger #114

Open xiyuoh opened 4 months ago

xiyuoh commented 4 months ago

This PR

xiyuoh commented 4 months ago

@Yadunund You're right, the timer is where it happens. This PR primarily stores retreat_to_charger as a boolean in Constraints, along with the other battery-related constraints. A check is implemented in my other PR in the fleet adapter - if retreat_to_charger is disabled, then exit the timer callback. Should i be storing this param elsewhere?