Code Monkey home page Code Monkey logo

binbli / virtual-lane-boundary-generation Goto Github PK

View Code? Open in Web Editor NEW
25.0 0.0 15.0 75.47 MB

Virtual Lane Boundary Generation for Human-Compatible Autonomous Driving

Home Page: http://telerobot.cs.tamu.edu/lane/

License: GNU Lesser General Public License v3.0

C++ 23.54% C 2.30% CMake 3.48% Makefile 70.17% Python 0.05% Shell 0.32% MATLAB 0.13%
lane-detection road-detection lane-markings lane-recognition lane-tracking motion-planning autonomous-driving

virtual-lane-boundary-generation's Introduction

Virtual Lane Boundary Generation for Human-Compatible Autonomous Driving: A Tight Coupling between Perception and Planning

License

Our code is released under a GPLv3 license. In this code, we aim to recognize, generate and track virtual lane boundaries to help navigate autonomous vehicles in urban scenarios. It has been tested on Ubuntu 16.04LTS and should work on 16.04 or newer versions. We extend our previous work in

@INPROCEEDINGS{li2019virtual,
  title={Virtual Lane Boundary Generation for Human-Compatible Autonomous Driving: A Tight Coupling between Perception and Planning},
  author={Li, Binbin and Song, Dezhen and Ramchandani, Ankit and Cheng, Hsin-Min and Wang, Di and Xu, Yiliang and Chen, Baifan},
  booktitle={2019 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)},
  pages={3733--3739},
  year={2019},
  organization={IEEE}
}

@inproceedings{li2018lane,
  title={Lane marking quality assessment for autonomous driving},
  author={Li, Binbin and Song, Dezhen and Li, Haifeng and Pike, Adam and Carlson, Paul},
  booktitle={2018 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)},
  pages={1--9},
  year={2018},
  organization={IEEE}
}

If you use our code in an academic work, please cite the aforementioned paper.

Clone

git clone --recurse-submodules [email protected]:bli-tamu/LDRT.git

Dependencies

You can use ./install-dependencies.sh for convenience, or do it manually as follows:

sudo apt-get install --no-install-recommends    \
  build-essential                               \
  cmake                                         \
  git                                           \
  wget                                          \
  libatlas-base-dev   `#For Caffe`              \
  libboost-all-dev                              \
  libgflags-dev                                 \
  libgoogle-glog-dev                            \
  libhdf5-serial-dev                            \
  libleveldb-dev                                \
  liblmdb-dev                                   \
  libopencv-dev                                 \
  libprotobuf-dev                               \
  libsnappy-dev                                 \
  protobuf-compiler                             \
  python3-pip                                   \
  python3-dev                                   \
  libmatio-dev        `#MAT File I/O`           \
  libpugixml-dev      `#XML processing`         \
  libalglib-dev       `#Numerical analysis`     \
  libgsl-dev          `#GNU scientific library` \
  libopenblas-dev     `#Linear algebra library` \
  libeigen3-dev                                 \
  libpcap-dev         `#Packet capture library`

pip3 install numpy matplotlib pandas scipy pybind11

Build Instruction

You can use ./build.sh for default build, or do it manually as follows:

  • ICNet

    Copy the example configuration file and apply patch.

    cp 3rdParty/ICNet/PSPNet/Makefile.config.example 3rdParty/ICNet/PSPNet/Makefile.config
    patch -p0 -i 3rdParty/patches/ICNet.patch
    

    Modified the configuration file before compile if needed.

    cd 3rdParty/ICNet/PSPNet
    make
    
  • This project uses CMake (http://www.cmake.org), a cross-platform build system.

    mkdir build && cd build
    cmake ..
    make
    

External component

  • Install VINS-Fusion to generate visual odometry vio.txt from the dataset, and put it under demo/data/datasetName folder.
  • Download GPS way points from Google maps, utilize the script matlab/process_KITTIdata.m to generate the map, and put the data in the demo/data/datasetName/priorMap.txt.

Prepare to run a demo

  1. We use KITTI dataset to demostrate our code, prepDemo.sh is a script that downloads and prepares the demo. For example, ./prepDemo.sh 2011_09_26_drive_0056_sync will automatically prepare the PSPNet models, 2011_09_26_drive_0056_sync dataset and its calibration files.
  2. Run the dataset with VINS-Fusion and place the vio.txt in demo/data/datasetName.

Run a demo

  • Run with runDemo.sh , for example, ./runDemo.sh 2011_09_26_drive_0056_sync will run the code and keep a log file in demo/data/2011_09_26_drive_0056_sync/.

Contact

  1. Binbin Li [email protected]
  2. Ankit Ramchandani [email protected]
  3. Di Wang [email protected]
  4. Aaron Kingery [email protected]
  5. Aaron Angert [email protected]
  6. Dezhen Song [email protected]

virtual-lane-boundary-generation's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.