Handling robot charging during fleet adapter initialization. (#196)

Posted by @cwrx777:

Hi,

When a fleet adapter (based on the python template) is started while the robot is at the charger.,
the core did not seem to be aware that the robot is in charging mode and it sent a command to navigate to a waypoint nearby the Charger with some orientation. This caused the robot to move away from the charger.
I am sure there should be a way to map the robot status to RobotMode in RMF and how to do this properly in the fleet adapter.

Posted by @cwrx777:

Hi,

is there any RobotHandleUpdate API can be used to report that the robot is currently in charging mode?