Metadata-Version: 2.4
Name: whl-logmap
Version: 0.0.7
Summary: wheelos map tool
Author-email: daohu527 <daohu527@gmail.com>
Project-URL: Homepage, https://github.com/wheelos-tools/whl-logmap
Project-URL: Bug Tracker, https://github.com/wheelos-tools/whl-logmap/issues
Keywords: logmap,wheelos,gis,mapping
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering :: GIS
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: cyber_record
Requires-Dist: record_msg
Requires-Dist: shapely
Requires-Dist: matplotlib
Requires-Dist: scipy
Dynamic: license-file

# whl-logmap

The **whl-logmap** tool enables the automatic creation of Apollo-format HD maps from recorded trajectory. Just one pass along the road is enough to generate a map. It’s a simple, efficient, and powerful solution for fast map production.

## Install

```bash
pip3 install whl_logmap
```

## Quick Start

1. Start the GPS/transform/localization module and record the vehicle's trajectory

```bash
cyber_recorder record -c /apollo/localization/pose
```

2. Generate base_map from records

```bash
whl-logmap --i=your_record_dir

// or

whl-logmap --i=your_record_file
```

## Options

- **--input_path** (required): Path to the records.
- **--output_path**: Path to the output directory (default: `"map"`). The tool will create corresponding `.txt` and `.bin` files.
- **--extra_roi_extension**: Extra ROI extension distance (default: `0.3`).
