Apollo map and Opendrive map converter
Project description
imap_test
Introduction
This is a tool to convert Opendrive to Apollo base map, which is modified from apollo's imap tool, and supports generating adjacent reverse lanes of different roads.
Quick Start
To generate Apollo base map from Opendrive file, you can run the following command:
# Method 1 [Recommended]
pip install imap_test
imap -f -i imap/data/town.xodr -o imap/data/base_map.txt
# Method 2
python3 imap/main.py -f -i imap/data/town.xodr -o imap/data/base_map.txt
# Method 3
python3 setup.py develop
imap -f -i imap/data/town.xodr -o imap/data/base_map.txt
If you want to generate adjacent reverse lanes for each lane, you can run the following command:
imap -f -i imap/data/town.xodr -o imap/data/base_map.txt -r
The -r
option is used to generate adjacent reverse lanes.
For visualization, you can use the following command:
imap -m imap/data/apollo_map.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
imap_test-0.1.3.tar.gz
(31.6 kB
view details)
File details
Details for the file imap_test-0.1.3.tar.gz
.
File metadata
- Download URL: imap_test-0.1.3.tar.gz
- Upload date:
- Size: 31.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eb537faf3d2a51bc4765f14631178edf63376cf935ffaa9239c9beb6758f4e4 |
|
MD5 | 43388b6631bfe450afbbfd638fe00171 |
|
BLAKE2b-256 | 1c11e02be3c9e285dbb489d46427d2eba48c64273109fbf9b5aa8a7364e1b3dc |