sumocr package

Subpackages

Submodules

sumocr.helpers module

sumocr.helpers.get_sumo_binary_path()[source]

searchs for the ‘sumo’ binary at the most common locations on the current system.

Return type:

Path

Returns:

The path to the ‘sumo’ binary. The path is guaranteed to be valid.

Raises:

RuntimeError – If no ‘sumo’ binary could be found on the system.

sumocr.helpers.get_sumo_gui_binary_path()[source]

searchs for the ‘sumo-gui’ binary at the most common locations on the current system.

Return type:

Path

Returns:

The path to the ‘sumo-gui’ binary. The path is guaranteed to be valid.

Raises:

RuntimeError – If no ‘sumo-gui’ binary could be found on the system.

Module contents