Giter Site home page Giter Site logo

caseyway2022 / cartesianplanner Goto Github PK

View Code? Open in Web Editor NEW

This project forked from libai1943/cartesianplanner

0.0 0.0 0.0 1.78 MB

Source codes related to “Autonomous Driving on Curvy Roads without Reliance on Frenet Frame: A Cartesian-based Trajectory Planning Method” published in IEEE Trans. Intelligent Transportation Systems

License: GNU General Public License v3.0

C++ 92.19% Python 6.55% CMake 1.26%

cartesianplanner's Introduction

Cartesian Planner ROS Package

C++/ROS Source Codes for "Autonomous Driving on Curvy Roads without Reliance on Frenet Frame: A Cartesian-based Trajectory Planning Method" published in IEEE Trans. Intelligent Transportation Systems by Bai Li, Yakun Ouyang, Li Li, and Youmin Zhang.

OnRoadPlanning

Installation

Building dependencies

  1. Build linear solver Mumps or HSL

    1. Build mumps

      git clone https://github.com/coin-or-tools/ThirdParty-Mumps.git --depth=1
      cd ThirdParty-Mumps
      ./get.Mumps
      ./configure
      make
      sudo make install
    2. Build HSL (recommended for better performance)

      git clone https://github.com/coin-or-tools/ThirdParty-HSL.git --depth=1
      
      # Obtain a tarball with HSL source code from http://www.hsl.rl.ac.uk/ipopt/ and unpack this tarball
      gunzip coinhsl-x.y.z.tar.gz
      tar xf coinhsl-x.y.z.tar
      
      # Rename the directory `coinhsl-x.y.z` to `coinhsl`, or set a symbolic link:
      ln -s coinhsl-x.y.z coinhsl
      
      ./configure
      make
      sudo make install
  2. Build and install IPOPT

    sudo apt install wget unzip gfortran liblapack-dev patch pkg-config libmetis-dev
    wget https://github.com/coin-or/Ipopt/archive/refs/heads/stable/3.14.zip
    unzip 3.14.zip && cd Ipopt-stable-3.14/
    ./configure && make -j4
    sudo make install
  3. Build and install CASADi

    wget https://github.com/casadi/casadi/releases/download/3.5.5/casadi-3.5.5-1.tar.gz
    tar -zxvf casadi-3.5.5-1.tar.gz
    cd casadi-3.5.5.1
    mkdir build && cd build
    cmake .. -DWITH_IPOPT=ON -DWITH_EXAMPLES=OFF
    make -j4
    sudo make install
    sudo ldconfig
  4. Clone repository to any catkin workspace and compile workspace

    cd ~/catkin_ws/src
    git clone https://github.com/libai1943/CartesianPlanner.git cartesian_planner
    cd .. && catkin_make
    source devel/setup.bash

Example

tits_pedestrian_static_dynamic_3.mp4

Random test case with 6 pedestrians, 3 moving vehicles and 2 static vehicles.

roslaunch cartesian_planner pedestrian_test.launch

Click anywhere in Rviz window with the 2D Nav Goal Tool to start planning.

Acknowledgement

CASADi

Special thanks to Baidu Apollo for common math libraries


Copyright (C) 2022 Bai Li and Yakun Ouyang

Users must cite the following article if they use the source codes to conduct simulations in their new publications. Bai Li, Yakun Ouyang, Li Li, and Youmin Zhang, “Autonomous driving on curvy roads without reliance on Frenet frame: A Cartesian-based trajectory planning method,” IEEE Transactions on Intelligent Transportation Systems, available at https://doi.org/10.1109/TITS.2022.3145389, accepted, 2022.

cartesianplanner's People

Contributors

yakunouyang avatar libai1943 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.