Skip to main content

integrate_BSSD_into_OpenDRIVE reads in an OpenDRIVE-file and integrates a BSSD-structure into this OpenDRIVE-file

Project description

OpenDRIVE_BSSD_Converter

Tool for integrating BSSD-data into an existing OpenDRIVE-file (.xodr) with Version 1.4, 1.5, 1.6 or 1.7.

Requirements

  • Python (Tool has been tested with Python 3.7, 3.8 and 3.9)
  • The following Python-modules are needed:
    • easygui==0.98.1
    • lxml==4.6.3
    • pandas==1.3.4
    • rich==10.16.2
    • scipy==1.7.1
    • tqdm==4.62.3
    • importlib_resources

The tool has been tested with the versions of the modules specified in the list above. It may also work with other module-versions, but the correct functionality can't be guaranteed in this case.

Hint: Some parts of the visualiziation of the tool in the terminal are based on the python package rich. In some terminals on Windows the full visualization of rich does not work properly (e.g. PowerShell, cmd). Nevertheless, everything will be displayed so that the correct functionality is guaranteed.

In Windows for a full visualiziation with rich, the use of the Windows-Terminal is recommended. In macOS (Terminal) and Linux (Terminal) the full visualization should work properly.

Installation

Using pip

pip install opendrive-bssd-converter

This will install the latest version of the OpenDRIVE-BSSD-Converter available in PyPI to your environment.

Manual Installation

  1. Clone the Repository (with HTTPS or SSH)

    a. HTTPS:

    git clone https://gitlab.com/tuda-fzd/scenery-representations-and-maps/opendrive-bssd-converter.git

    or

    b. SSH:

    git clone git@gitlab.com:tuda-fzd/scenery-representations-and-maps/opendrive-bssd-converter.git

  2. (Create & activate a virtual environment if you want to install the tool inside a virtual environment)

  3. Open a terminal window in the folder opendrive_bssd_converter and install the required packages as well as the tool itself with the command

    pip install -e .

Usage

  1. Start the tool: Run
opendrive-bssd-converter
  1. If the tool started successfully, you can choose your OpenDRIVE-file in the window, which opens immediately after executing.
  2. You will be able to modify the behaviour of the tool thoughout the process, therefore watch the terminal for prompts and provide your input.
  3. After successfully executing the tool, the modified OpenDRIVE-file will be stored in the same folder as the original OpenDRIVE-file with the same name plus the suffix "_BSSD".

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opendrive_bssd_converter-0.1.0.tar.gz (180.4 kB view details)

Uploaded Source

Built Distribution

opendrive_bssd_converter-0.1.0-py3-none-any.whl (183.9 kB view details)

Uploaded Python 3

File details

Details for the file opendrive_bssd_converter-0.1.0.tar.gz.

File metadata

File hashes

Hashes for opendrive_bssd_converter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0fc133f55d25bae82074d463c5c3010bdae168156d8616f63794eaf6cca144a4
MD5 d7a67aa557f1c8550f6e14840bb8d434
BLAKE2b-256 cac308ee4ab3c354f2c07e4127f87805a4d545e3e7a94e915ba935b87cd0b03b

See more details on using hashes here.

File details

Details for the file opendrive_bssd_converter-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for opendrive_bssd_converter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 009817951cbe739d20ff3cdbc47426517c393f622f4a3d72c0917c3e18f505a6
MD5 e0ee60bef2e8752ed654803a243ec9dd
BLAKE2b-256 899e4e83aaf4171a6ebf24d3fb2307249be62047d736e04da7287a17755e61d6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page