Skip to content

AnInsomniacy/lanelet2-macos-arm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

632 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lanelet2-macos-arm

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.

Features

  • 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

Installation (macOS ARM64)

Prerequisites

  • macOS with Apple Silicon (M1/M2/M3/M4)
  • Python 3.9+
  • CMake 3.26+
  • Ninja

Build from Source

# 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 .

Verify Installation

python -c "import lanelet2; print('lanelet2 installed successfully!')"

Documentation

Examples

Examples and common use cases in both C++ and Python can be found here.

Citation

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}
}

License

BSD 3-Clause License

About

Your favorite map handling framework for automated driving, lanelet2, now standalone with native Apple Silicon (ARM64) macOS support.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 92.8%
  • CMake 3.5%
  • Python 3.1%
  • Other 0.6%