Skip to content

elbazam/line_detection

Repository files navigation

Line Detection Algorithm

Lines detection algorithm for ROS2 framework.

Acknowledgement

The algorithm is mostly based on the following paper: "A line segment extraction algorithm using laser data based on seeded region growing".

Example

Line extraction

ROS2 Topics & Messages

Subscribed Topics

Published Topics

Setup

  • Download repository:

     cd ~/$YOUR_ROS2_WORKSPACE$/src
     git clone https://github.com/elbazam/line_detection.git
  • Install repository:

     cd ~/$YOUR_ROS2_WORKSPACE$
     colcon build --packages-select line_detection

Run

  • To execute the algorithm:
     ros2 run line_detection publish_lines

Pipeline

graph TD
A{laser scan} -- \scan --> B[line_detection] -- "/lines" --> C{rviz2/MarkerArray}
B[line_detection] -- "/corners" --> C{rviz2/MarkerArray}
Loading

Future work

  • Adding config files.
  • Adding corner and exit detection.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published