No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.
|
Repository Summary
Description | 使用 Carla 和 ROS2 部署规划控制常用算法,并在 carla_ad_demo 场景中运行 |
Checkout URI | https://github.com/tanghw9827/carla-ros-pnc.git |
VCS Type | git |
VCS Version | main |
Last Updated | 2024-08-03 |
Dev Status | UNKNOWN |
CI status | No Continuous Integration |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Packages
Name | Version |
---|---|
carla_ackermann_msgs | 1.0.0 |
carla_ad_agent | 0.0.1 |
carla_ad_agent_cpp | 0.0.0 |
carla_ad_demo | 0.0.1 |
carla_common | 0.0.1 |
carla_manual_control | 0.0.0 |
carla_msgs | 1.3.0 |
carla_ros_bridge | 0.0.1 |
carla_ros_scenario_runner | 0.0.0 |
carla_ros_scenario_runner_types | 0.1.0 |
carla_spawn_objects | 0.0.0 |
carla_twist_to_control | 0.0.0 |
carla_walker_agent | 0.0.1 |
carla_waypoint_publisher | 0.0.0 |
carla_waypoint_types | 0.1.0 |
controller_modules | 0.0.0 |
general_modules | 0.0.0 |
my_pnc | 0.0.0 |
planner_modules | 0.0.0 |
pnc_msgs | 0.0.0 |
ros_compatibility | 0.0.0 |
README
项目简介
使用 Carla 和 ROS2 部署规划控制常用算法,并在 carla_ad_demo 场景中运行
环境配置
- Ubuntu 20.04
- ROS2 Foxy
- Carla 0.9.13
- osqp 0.6.3
- osqp-eigen 0.8.0
- matplot++ 最新版本
算法实现
- 控制算法:Pure Pursuit,Stanley,纵向串级 PID,横向 LQ,横纵向 MPC
- 规划算法:A,Hybrid A,RRT*,参考线 OSQP 平滑,EM Planner(路径 DP+QP、速度 DP+QP),Lattice Planner
目录结构
my_planning_and_control
├── controller_modules
│ ├── CMakeLists.txt
│ ├── include
│ │ ├── lateral_lqr_controller.h
│ │ ├── lon_cascade_pid_controller.h
│ │ ├── mpc_controller.h
│ │ └── pid_controller.h
│ ├── package.xml
│ └── src
│ ├── lateral_lqr_controller.cpp
│ ├── lon_cascade_pid_controller.cpp
│ ├── mpc_controller.cpp
│ └── pid_controller.cpp
├── general_modules
│ ├── CMakeLists.txt
│ ├── include
│ │ ├── common.h
│ │ ├── polynomial_curve.h
│ │ └── tool.hpp
│ ├── package.xml
│ └── src
│ ├── common.cpp
│ ├── polynomial_curve.cpp
│ └── tool.cpp
├── main_function
│ ├── CMakeLists.txt
│ ├── include
│ │ ├── control_agent.h
│ │ └── planning_agent.h
│ ├── launch
│ │ └── my_pnc_launch.py
│ ├── package.xml
│ └── src
│ ├── control_agent.cpp
│ └── planning_agent.cpp
└── planner_modules
├── CMakeLists.txt
├── include
│ ├── emplanner.h
│ └── reference_line.h
├── package.xml
└── src
├── emplanner.cpp
├── emplanner_node.cpp
├── emplanner_path_planning.cpp
├── emplanner_speed_planning.cpp
└── reference_line.cpp
使用方法
运行案例:carla_ad_demo
运行命令:
colcon build
. install/setup.bash
ros2 launch carla_ad_demo carla_ad_demo.launch.py
效果展示
版本更新说明
- v1.0.0: 实现纵向串级PID,横向LQR,横纵向MPC,参考线OSQP平滑,路径DP+QP,速度DP+QP
CONTRIBUTING
No CONTRIBUTING.md found.
No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.