Skip to main content

lanelet2anchors

This package enables the generation of diverse map-based anchor paths for a given lanelet or vehicle pose. It was developed as part of our paper Lanelet2 for nuScenes: Enabling Spatial Semantic Relationships and Diverse Map-based Anchor Paths. For details check our project page.

Installation

Use Python >= 3.8 and pip to install

pip install lanelet2anchors

Usage

Check the notebooks in the documentation for details and examples.

Generate anchors for given vehicle

from lanelet2anchors import AnchorGenerator

lanelet_map = AnchorGenerator(
    osm_file=osm_file, origin_latitude=49.00345654351, origin_longitude=8.42427590707
)

anchors = lanelet_map.create_anchors_for_vehicle(
    vehicle_pose=X,
    anchor_length=100,
    num_anchors: 5,
)

Generate anchors for a given Lanelet

from lanelet2anchors import AnchorGenerator

lanelet_map = AnchorGenerator(
    osm_file=osm_file, origin_latitude=49.00345654351, origin_longitude=8.42427590707
)

anchors = lanelet_map.create_anchors_for_lanelet(
    lanelet_id=lanelet_map.lanelet_ids[0], anchor_length=100
)

Citation

If you use this code for scientific research, please consider citing

@InProceedings{naumannHertleinLanelet2NuScenes,
    author    = {Naumann, Alexander and Hertlein, Felix and Grimm, Daniel and Zipfl, Maximilian and Thoma, Steffen and Rettinger, Achim and Halilaj, Lavdim and Luettin, Juergen and Schmid, Stefan and Caesar, Holger},
    title     = {Lanelet2 for nuScenes: Enabling Spatial Semantic Relationships and Diverse Map-Based Anchor Paths},
    booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops},
    month     = {June},
    year      = {2023},
    pages     = {3247-3256}
}

License

This project is licensed under CC-BY-NC-SA. Development by FZI Forschungszentrum Informatik and all rights reserved by Robert Bosch GmbH.

Metadata

Release files for lanelet2anchors 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lanelet2anchors 0.1.0
File Size Uploaded Provenance Actions
lanelet2anchors-0.1.0.tar.gz 307.2 kB Without provenance Details for lanelet2anchors-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lanelet2anchors 0.1.0
File Interpreter ABI Platform Actions
lanelet2anchors-0.1.0-py3-none-any.whl Python 3 none any Details for lanelet2anchors-0.1.0-py3-none-any.whl

Total release size: 325.3 kB

Release files / lanelet2anchors-0.1.0.tar.gz

Download URL lanelet2anchors-0.1.0.tar.gz
Size 307.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bcf4391872da8c6321845052514ee0d2460c40e7f0a56d88912d5a64a5d00d88
BLAKE2b-256 checksum
How to use checksums
2db6baeb543252f56b123d33d0d7ed70e4a68da4f7f1ba5bd9c4e89e7cc0d903
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release files / lanelet2anchors-0.1.0-py3-none-any.whl

Download URL lanelet2anchors-0.1.0-py3-none-any.whl
Size 18.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee6613a3cfcd24e07d608781e48b519f95aac2751188635582378e052eb2093b
BLAKE2b-256 checksum
How to use checksums
1b8ea1942bc8b88bd500250b998f601c9de8ece85f40bd762797026e462868a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Security for lanelet2anchors 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page