Metadata-Version: 2.1
Name: hdmc
Version: 0.2
Summary: HD map converter between Lanelet2 and Apollo OpenDRIVE
Home-page: UNKNOWN
Author: Slastnikova Anna
Author-email: slastnikova02@mail.ru
License: UNKNOWN
Keywords: converter,apollo,opendrive,oscar,lanelet2,hdmap
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.0
Description-Content-Type: text/markdown
Requires-Dist: argparse (==1.4.0)
Requires-Dist: lxml (==4.5.0)
Requires-Dist: utm (==0.7.0)

# HDMapConverter (hdmc)
A tool for converting from Lanelet2 maps to Apollo OpenDRIVE maps

## Apollo OpenDrive
Apollo is an architecture for autonomous driving developed by Baidu. They have made a modified version of the OpenDrive standard to suit their needs better. 

This project aims to create a tool for generating maps in the Apollo version of the OpenDrive specification using data from Lanelet2 maps.

## Installation from source to system
In the ```converter/``` folder (containing ```setup.py```):
```
pip install -e ./
```

## Usage
```
usage: python3 -m hdmc [-h] input_file output_file

positional arguments:
  input_file                  Input filename
  output_file                 Output filename

optional arguments:
  -h, --help            show this help message and exit
```

## Output
``base_map.txt`` is received as result. To use it in Apollo architecture, ``bin_map_generator`` and ``generate_routing_topo_graph`` scripts should be used.

