Skip to content

Parser for files in OpenDRIVE format, offers additional functions to navigate through the road network

Notifications You must be signed in to change notification settings

Abhiram-R/pyopendriveparser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenDRIVE file parser

Parser for files in OpenDRIVE format, offers additional functions to navigate through the road network

Install

sudo pip install --process-dependency-links https://github.com/stefan-urban/pyopendriveparser/archive/master.zip

Example usage

# Setup Python virtual environment
mkdir newfolder && cd newfolder

python -m venv .
source bin/activate

pip install numpy lxml
pip install https://github.com/stefan-urban/pyeulerspiral/archive/master.zip

# Clone repository either with git ...
git clone [email protected]:ga65xap/pyopendriveparser.git
# ... or HTTPS ...
git clone https://gitlab.lrz.de/ga65xap/pyopendriveparser.git

cd pyopendriveparser

# Add repository root directory to python path
export PYTHONPATH=$PYTHONPATH:`pwd`

# Get sample file from opendrive.org
wget http://opendrive.org/tools/Roundabout8Course.zip
unzip -j "Roundabout8Course.zip" "Roundabout8Course/Roundabout8Course.xodr"
rm Roundabout8Course.zip

python tests/read_xodr.py /../Roundabout8Course.xodr

if [ $? -eq 0 ]
then
   echo "Test passed!"
else
   echo "Test failed!"
fi

About

Parser for files in OpenDRIVE format, offers additional functions to navigate through the road network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%