open-rmf / rmf-web

Apache License 2.0
85 stars 39 forks source link

UI to close lanes (blocked areas) #471

Open Yadunund opened 3 years ago

Yadunund commented 3 years ago

It is desirable to allow users to draw bounding boxes on the map that represent areas that are blocked. The dashboard should then determine which lanes for the different fleets will be blocked and appropriately publish rmf_fleet_msgs::LaneReqest msg over the /lane_closure_requests topic.

koonpeng commented 3 years ago

The LaneRequest message takes a uint64[], but what values should be put into it?

Yadunund commented 3 years ago

These values should be the indices of the lanes in the navgraph file exported by building_map_tools. The dashboard can use the navgraphs in the BuildingMap message to infer the indices. Once caveat is to make sure the order of the lanes is the same between both sources.

koonpeng commented 3 years ago

@codebot Also considering the authorization system. How do we handle complex situations like