Back to Apollo

perception-lane-detection

modules/perception/lane_detection/README.md

11.0.01.9 KB
Original Source

perception-lane-detection

Introduction

The lane detection module detects lane lines through the camera sensor. Lane lines can be used as an aid to other modules.

Directory Structure

lane_detection
├── BUILD       // bazel build file
├── README.md
├── app         // main process
├── common      // common functions
├── conf        // dag config file
├── cyberfile.xml  // package description file
├── dag
├── data        // lib's configuration file
├── interface
├── lane_detection_component.cc   // component
├── lane_detection_component.h
├── launch
├── lib        // algorithm library
└── proto      // proto file

Modules

LaneDetectionComponent

apollo::perception::onboard::LaneDetectionComponent

Input

ChannelTypeDescription
/apollo/sensor/camera/front_6mm/imageapollo::drivers::Imagecamera drive message
/apollo/sensor/camera/front_12mm/imageapollo::drivers::Imagecamera drive message
/apollo/perception/motion_serviceapollo::perception::onboard::LaneDetectionComponent::MotionServiceMsgTypemotion service message

Output

ChannelTypeDescription
/perception/lanesapollo::perception::PerceptionLaneslane line

How to run

You can start the lane detection module with the following command.

bash
cyber_launch start modules/perception/launch/perception_lane.launch