drone_cab.warehouse¶
Warehouse class.
This class implements the central warehouse from where all central packages are distributed for delivery.
Classes
|
Central warehouse from where all packages are distributed for delivery. |
- class drone_cab.warehouse.Warehouse(warehouse_id: str = '239796134')¶
Central warehouse from where all packages are distributed for delivery.
- Parameters:
warehouse_id (optional) – SUMO ID of warehouse. Defaults to tunable constant.
- id¶
SUMO ID of this warehouse.
- center¶
2-D coordinates of the centroid of this warehouse’s polygon.
- nearest_edge_id¶
SUMO ID of road edge that is closest to this warehouse.
- __init__(warehouse_id: str = '239796134') None¶
- Parameters:
warehouse_id (str)
- Return type:
None