https://github.com/guotata1996/lanemaker
OpenDRIVE-compatible road editor & simulator
https://github.com/guotata1996/lanemaker
opendrive qt5 road-network simcity traffic-simulation
Last synced: 8 months ago
JSON representation
OpenDRIVE-compatible road editor & simulator
- Host: GitHub
- URL: https://github.com/guotata1996/lanemaker
- Owner: guotata1996
- License: apache-2.0
- Created: 2024-01-03T03:03:47.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-02-18T13:01:58.000Z (8 months ago)
- Last Synced: 2025-02-18T13:39:45.837Z (8 months ago)
- Topics: opendrive, qt5, road-network, simcity, traffic-simulation
- Language: C++
- Homepage: https://guotata1996.github.io/lanemaker/
- Size: 15.8 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-openx - LaneMaker - Qt5 GUI application for creation of 3D road networks which can be exported to OpenDRIVE `Apache-2.0` `C++` (Applications)
README

# About
LaneMaker is a lightweight yet powerful desktop road network editor. Compared to commercial mapping software, it is intended for casual users and hobbyists, providing a free and easy experience without steep learning curve or $$ investment.The Windows version is recommanded for better UI performance and stability, while LaneMaker remains a cross-platform project.
[Download LaneMaker v0.9](https://github.com/guotata1996/lanemaker/releases/tag/v0.9)
[](https://www.youtube.com/watch?v=tsDGT2ElVuM)
## OpenDRIVE Compatibility
- Internally, LaneMaker heavily relies on [ASAM OpenDRIVE](https://www.asam.net/standards/detail/opendrive/) standard for geometric information bookkeeping.
- The exported .xodr does not 100% comply with ASAM OpenDRIVE standard, nor can LaneMaker load an arbitrary .xodr.
- Nonetheless, the exported map can be correctly loaded in [OpenDRIVE online viewer](https://odrviewer.io/).## Known issues
- Traffic has been seen stuck at highway exits. I guess it has something to do with the application losing focus, but haven't found a way to reliably reproduce it.
- Vehicle spawning on a large map takes a substantial amount of time, and may cause the program to stop responding on weak systems. Be sure to check out the progress bar from the console.If you find anything bothering or can't get around with, you are welcome to report via Github issues. Please attach the .xodr map and .dat action record if possible.
# Dev environment setup
## Prerequisites
Recommanded OS: Windows 10/11 | Ubuntu 24.04 LTS
- CMake
- cxx build tools ([VS2019 community](https://www.techspot.com/downloads/7241-visual-studio-2019.html) | `sudo apt-get install build-essential gdb`)
- qt5 (`vcpkg install qt5` | `sudo apt install qtbase5-dev`)
- spdlog (`vcpkg install spdlog` | `sudo apt install libspdlog-dev`)
- CGAL ([windows](https://doc.cgal.org/5.6.1/Manual/windows.html) | `sudo apt-get install libcgal-dev`)
> On Ubuntu 22.04 and before, you may need to [manually install](https://doc.cgal.org/5.6.1/Manual/installation.html) CGAL version 5.6.1 for compatibility.## Clone
```
git clone https://github.com/guotata1996/lanemaker.git
```### Windows
- Follow [CGAL Configuring example](https://doc.cgal.org/5.6.1/Manual/windows.html) to configure CMake
- Open the sln with Visual Studio
- Set LaneMaker as Startup Project### Ubuntu
```
cd lanemaker
git submodule init && git submodule update
mkdir build && cd build
cmake [-DCMAKE_BUILD_TYPE=Release] ..
make -j2
cpack -G DEB
```# Notice
Project Name: LaneMakerAuthor: github.com/guotata1996
Copyright (c) 2024-2025 guotata1996
This software is licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at:`http://www.apache.org/licenses/LICENSE-2.0`
This project includes source code from other open-source projects:
- Portions of this software are derived from **libOpenDRIVE** under the Apache 2.0 License.
- Portions of this software are derived from **OpenGLWithQt-Tutorial** under the BSD-3-Clause License.See [LICENSE-BSD](https://github.com/ghorwin/OpenGLWithQt-Tutorial/blob/master/LICENSE) and [LICENSE-Apache](https://github.com/pageldev/libOpenDRIVE/blob/main/LICENSE) for the full license texts of these external components.