osrf / rmf_core

Provides the centralized functions of RMF: scheduling, etc.
Apache License 2.0
102 stars 41 forks source link

Automatic retreat for battery recharging #222

Closed Yadunund closed 3 years ago

Yadunund commented 3 years ago

This PR introduces a new feature to the TaskManagers in the full control fleet adapters. If a robot in a fleet is idle (no active task and task queue is empty) and its battery state of charge drops to a level such that it can barely make it back to its charger, then the TaskManager automatically queues up a ChargeBattery task for the robot. The robot will then make its way back to its charger to recharge.

Some details: