An autonomous vehicle planning and control software's frame used by beihang university.
An autonomous vehicle planning and control software's frame.
PNC
View Demo
·
Report Bug
·
Request Feature
根据Apollo算法修改的规划控制算法,规划目前支持Lattice,控制支持LQR和pure_pursuit,以后考虑规划加入em planner。
现在的算法框架是基于ROS改写,仿真平台使用国产软件51world。
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
- 修改yaml文件地址
YAML::Node config = YAML::LoadFile("/media/navigation/dust/sg/Dust/src/modules/planning/config/configs.yaml");
- ros build
catkin build
-
run planning package:
roslaunch planning planning.launch
-
run control package
roslaunch control control.launch
-
run pnc package
roslaunch planning pnc.launch
-
开发环境
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
-
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
-
Run
在run文件夹中运行.
./trans_ros_node
If you successfully built and ran, you should see this in this video:
Demo
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.
The co-simulation is modified on the basis of the following, thank you here.