drone_cab.tunables

Tunable parameters.

Collection of various tunable constants and functions.

Functions

DRONE_CAPACITY()

Generate capacities for drones.

DRONE_MAX_IDLE_STEPS()

Get hard-coded maximum number of allowed idle steps for drones.

DRONE_RANGE()

Generate flying range for drones.

DRONE_SPEED()

Generate flying speed for drones.

PICKUP_CAPACITY()

Generate capacities for pickups.

PICKUP_CENTER_LIST()

Get hard-coded list of 2-D coordinates of centers of chosen pickup points.

VEHICLE_CAPACITY()

Generate capacities for vehicles.

WAREHOUSE_ID()

Get hard-coded SUMO ID of chosen warehouse.

drone_cab.tunables.DRONE_CAPACITY() int

Generate capacities for drones.

Returns:

A (possibly random) capacity for a drone.

Return type:

int

drone_cab.tunables.DRONE_MAX_IDLE_STEPS() int

Get hard-coded maximum number of allowed idle steps for drones.

Returns:

Maximum number of allowed idle steps for drones.

Return type:

int

drone_cab.tunables.DRONE_RANGE() float

Generate flying range for drones.

Returns:

A (possibly random) flying range for a drone.

Return type:

float

drone_cab.tunables.DRONE_SPEED() float

Generate flying speed for drones.

Returns:

A (possibly random) flying speed for a drone.

Return type:

float

drone_cab.tunables.PICKUP_CAPACITY() int

Generate capacities for pickups.

Returns:

A (possibly random) capacity for a pickup.

Return type:

int

drone_cab.tunables.PICKUP_CENTER_LIST() list[tuple[float, float]]

Get hard-coded list of 2-D coordinates of centers of chosen pickup points.

Returns:

List of 2-D coordinates of pikcup points.

Return type:

list[tuple[float, float]]

drone_cab.tunables.VEHICLE_CAPACITY()

Generate capacities for vehicles.

Returns:

A (possibly random) capacity for a vehicle.

drone_cab.tunables.WAREHOUSE_ID() str

Get hard-coded SUMO ID of chosen warehouse.

Returns:

SUMO ID of warehouse.

Return type:

str