Adaptive Spatio-Temporal Voxels Based Trajectory Planning for Autonomous Driving in Highway Traffic Flow
This repo is the code for the paper "Adaptive Spatio-Temporal Voxels Based Trajectory Planning for Autonomous Driving in Highway Traffic Flow".
demo_s.mp4
For running code:
-
Ubuntu20.04
-
python3.9
-
ros-noetic (http://wiki.ros.org/ROS/Installation)
-
rospkg (pip install rospkg)
-
gym (pip install gym)
-
pygame (pip install pygame)
-
pcl_ros (sudo apt install ros-noetic-pcl-ros)
-
ooqp
-
glog
-
tk_spline
-
odeint-v2
- create a root directory
mkdir catkin_ws
cd catkin_ws
mkdir src
cd src
catkin_init_workspace
- clone the code
git clone https://github.com/flztiii/traffic_flow_trajectory_planning.git
- install
catkin_make -DCMAKE_BUILD_TYPE=Release
- start roscore
roscore
- launch the simulator
cd catkin_ws
source devel/setup.bash
roslaunch simulator start_gym.launch
- start the planner
cd catkin_ws
source devel/setup.bash
roslaunch local_planning test.launch
press "Enter" key in the terminal to start the program.