GithubHelp home page GithubHelp logo

dust's Introduction

Dust

An autonomous vehicle planning and control software's frame.

Planning and Control

An autonomous vehicle planning and control software's frame.


About PNC

根据Apollo算法修改的规划控制算法,规划目前支持Lattice,控制支持LQR和pure_pursuit,以后考虑规划加入em planner。
现在的算法框架是基于ROS改写,仿真平台使用国产软件51world。

Data flow

software frame

Getting Started

Prerequisites

Alternatively, simply perform the following steps: 在scripts文件夹下执行以下命令。

  • ros

    sudo ./install_ros.sh
  • ADOLC

    sudo ./install_adolc.sh
  • OSQP

    sudo ./install_osqp.sh
  • IPOPT

    sudo ./install_ipopt.sh
  • qp_oases

    sudo ./install_qp_oases.sh
  • YAML

    sudo ./install_yaml.sh

Build And Run PNC

  1. 修改yaml文件地址
    YAML::Node config = YAML::LoadFile("/media/navigation/dust/sg/Dust/src/modules/planning/config/configs.yaml");
  2. ros build
    catkin build

Run PNC

  1. run planning package:

    roslaunch planning planning.launch
  2. run control package

    roslaunch control control.launch
  3. run pnc package

    roslaunch planning pnc.launch

51world simulation

  1. 开发环境

    wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
    sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main"
    sudo apt-get update
    # install dependence
    sudo apt-get install uuid-dev libx11-dev libxrandr-dev libsdl2-dev libx11-dev libc++-dev abi++-dev
  2. Compile

    Run the following command in the container:

    安装SimOne后,打开SimOneAPI文件夹,进入Tutorial-Build目录;运行rebuild_release.sh,生成可执行文件在SimOneAPI/Tutorial/Build下
    make
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/navigation/linux/simone/SimOneAPI_glf/lib/Linux64
  3. Run

    在run文件夹中运行.

    ./trans_ros_node

Result

If you successfully built and ran, you should see this in this video:
Demo

License

Distributed under the Apache-2.0 License. See LICENSE.txt for more information.

In addition, We have kept the LICENSE of project PNC in carla_apollo_bridge directory.

Acknowledgments

The co-simulation is modified on the basis of the following, thank you here.

(back to top)

dust's People

Contributors

spongebob-mo avatar yizhiweimengxiangfendoudefeifei 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.