Docking in RMF Demos Fleet Adapter (#195)

Posted by @cwrx777:

What is required to simulate docking in rmf_demos_fleet_adapter?

On the map, I have created a waypoint with dock_name specified (waypoint A)
I used rmf_demos_tasks dispatch_go_to_place to waypoint A.
By going through the code, the docking failed to start because self.docks in fleet_manager is empty.

From here, there is a mock_docker that will publish dock_summary topic in order for the fleet_manager to populate self.docks.

What does mock_docker do and is it something that will be used in real environment? and how does this fit into a real robot fleet_adapter?