Skip to content
/ CC_AF Public

This repo only showcases the perception block of autonomous driving pipeline dedicated to competition of Carolo Cup ccording to the confidentiality agreement.

Notifications You must be signed in to change notification settings

lenardxu/CC_AF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CC_AF

This repo is dedicated for the perception block of autonomous driving pipeline for the competition of Carolo Cup. For confidential reasons, the other blocks won't be presented here.

Visual Computing

This block of visual computing is dedicated to lane detection which involves detecting and tracking the land markers specific to the Carolo Cup's settings.

Dependencies

ROS 2 Foxy

Please refer to the official guide for installation.

rviz

sudo apt-get install libzbar-dev libzbar0 ros-foxy-rviz2

ROS2 Wrapper for Intel Realsense D400

It's recommended to always use the newest stable version. Please refer to this link as installation guide. After the package has been installed and built, it only needs to be added to the .bashrc configuration file.

Build and Install

# Create a workspace
mkdir -p vc-ws/src
cd vc-ws/src
git clone [email protected]:lenardxu/CC_AF.git
# Or via https 
git clone https://github.com/lenardxu/CC_AF.git
cd ../
# Build 
colcon build --symlink-install
# Install
. install/local_setup.bash

Lane detection algorithm flowchart

Algorithm_Flowchart

Run

Launch the single ROS node sliding_window for lane detection and simplistic reference trajectory generation by

ros2 launch cc_visual_computing sliding_window

Or the single ROS node probabilistic_tracking for lane detection and tracking and simplistic reference trajectory generation by

ros2 launch cc_visual_computing probabilistic_tracking

Demo

A model vehicle runs on the specific race track (designated by Carolo Cup) outputting the captured image sequence and corresponding sequence of lane detection results including the generated reference trajectory points which are stored in this input video file and output video file.

Input video:

Watch the video

Output video:

Watch the video

To view these two related videos, you need to first install Git LFS (installation guide) and then command:

git lfs pull

Comments

Currently, the process of computing homography is not included in this repo. However, there are several resources you may refer to:

About

This repo only showcases the perception block of autonomous driving pipeline dedicated to competition of Carolo Cup ccording to the confidentiality agreement.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published