A fork of lanelet2x with native Apple Silicon (ARM64) macOS support added.
lanelet2-macos-arm is a standalone lanelet2 library with all ROS1/ROS2/Catkin dependencies removed. This fork adds optimized builds for ARM-based Macs.
- 2D and 3D support
- Consistent modification: if one point is modified, all owning objects see the change
- Supports lane changes, routing through areas, etc.
- Separated routing for pedestrians, vehicles, bikes, etc.
- Python bindings for the whole C++ interface
- Boost Geometry support for geometry calculations on map primitives
- Native Apple Silicon (ARM64) support
- Released under the BSD 3-Cldause license
- macOS with Apple Silicon (M1/M2/M3/M4)
- Python 3.9+
- CMake 3.26+
- Ninja
# Clone the project
git clone git@github.com:AnInsomniacy/lanelet2-macos-arm.git
cd lanelet2-macos-arm
# Install build dependencies (numpy<2.0 is required for Boost compatibility)
pip install -r requirements.txt
# Setup Conan profile
conan profile detect
# Install C++ dependencies with Conan
conan install . --build=missing -o shared=True -c tools.cmake.cmaketoolchain:generator=Ninja
# Create symlink for CMake toolchain
ln -sf build/Release/generators generators
# Install Python package
pip install .python -c "import lanelet2; print('lanelet2 installed successfully!')"Examples and common use cases in both C++ and Python can be found here.
If you are using Lanelet2 for scientific research, please cite:
@inproceedings{poggenhans2018lanelet2,
title = {Lanelet2: A High-Definition Map Framework for the Future of Automated Driving},
author = {Poggenhans, Fabian and Pauls, Jan-Hendrik and Janosovits, Johannes and Orf, Stefan and Naumann, Maximilian and Kuhnt, Florian and Mayr, Matthias},
booktitle = {Proc.\ IEEE Intell.\ Trans.\ Syst.\ Conf.},
year = {2018},
address = {Hawaii, USA},
Url={http://www.mrt.kit.edu/z/publ/download/2018/Poggenhans2018Lanelet2.pdf}
}BSD 3-Clause License
