urban_road_filter

Real-time LIDAR-based Urban Road and Sidewalk detection for Autonomous Vehicles 🚗

https://github.com/jkk-research/urban_road_filter

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • ✓
    CITATION.cff file
    Found CITATION.cff file
  • ✓
    codemeta.json file
    Found codemeta.json file
  • ✓
    .zenodo.json file
    Found .zenodo.json file
  • ✓
    DOI references
    Found 3 DOI reference(s) in README
  • ✓
    Academic publication links
    Links to: mdpi.com
  • â—‹
    Committers with academic emails
  • â—‹
    Institutional organization owner
  • â—‹
    JOSS paper metadata
  • â—‹
    Scientific vocabulary similarity
    Low similarity (12.4%) to scientific vocabulary

Keywords

autonomous-driving filter lidar lidar-filter point-cloud road-segmentation ros self-driving-car shell-eco-marathon sze szenergy
Last synced: 6 months ago · JSON representation ·

Repository

Real-time LIDAR-based Urban Road and Sidewalk detection for Autonomous Vehicles 🚗

Basic Info
  • Host: GitHub
  • Owner: jkk-research
  • License: bsd-3-clause
  • Language: C++
  • Default Branch: ros2
  • Homepage:
  • Size: 22.6 MB
Statistics
  • Stars: 325
  • Watchers: 6
  • Forks: 81
  • Open Issues: 4
  • Releases: 3
Topics
autonomous-driving filter lidar lidar-filter point-cloud road-segmentation ros self-driving-car shell-eco-marathon sze szenergy
Created over 4 years ago · Last pushed 8 months ago
Metadata Files
Readme License Citation

README.md

urban_road_filter: a real-time LIDAR-based urban road and sidewalk detection algorithm for autonomous vehicles

Dependency

Install (download and build)

Use the following commands to download and compile the package.

bash cd ~/ros2_ws/src

bash git clone https://github.com/jkk-research/urban_road_filter -b ros2

And build:

bash cd ~/ros2_ws

bash colcon build --packages-select urban_road_filter --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release

Getting started

Issue the following commands to start ROS 2, play sample data, and start the algorithm with visualization.

In a new terminal start ROS 2:

Don't forget to source your workspace first

source ~/ros2_ws/install/setup.bash

bash ros2 launch urban_road_filter urban_road_filter.launch.py

Features

The urban_road_filter package provides the following features:

  1. Detection Methods:

    • x_zero_method: Detects roadside points by analyzing the angle between three points while keeping the X-coordinate constant.
    • z_zero_method: Detects roadside points by analyzing the angle between two vectors while keeping the Z-coordinate constant.
    • star_shaped_method: Uses a star-shaped algorithm to detect roadside points within a sector.
  2. Configurable Parameters:

    • Detection area dimensions (min_x, max_x, min_y, max_y, min_z, max_z).
    • LIDAR vertical resolution (interval).
    • Curb detection parameters (curb_height, curb_points).
    • Polygon simplification options (polysimp_allow, polysimp, polyz).
  3. ROS Topics:

    • /road: Filtered points representing the drivable road.
    • /curb: Filtered points representing curbs.
    • /roi: Filtered points within the region of interest.
    • /road_marker: Visualization markers for detected roads.
  4. Performance Metrics:

    • Publishes statistics about the segmentation results, including the number of points classified as road, curb, or non-road.

Configuration

The behavior of the urban_road_filter node can be customized using the parameters.yaml file. Key parameters include:

  • fixed_frame: The fixed frame for the LIDAR data.
  • topic_name: The topic to subscribe to for point cloud data.
  • x_zero_method, z_zero_method, star_shaped_method: Enable or disable specific detection methods.
  • interval: Acceptable interval for the LIDAR's vertical angular resolution.
  • curb_height, curb_points: Parameters for curb detection.
  • polysimp_allow, polysimp, polyz: Parameters for polygon simplification.

Cite & paper

If you use any of this code, please consider citing the paper:

bibtex @Article{roadfilt2022horv, title = {Real-Time LIDAR-Based Urban Road and Sidewalk Detection for Autonomous Vehicles}, author = {Horváth, Ernő and Pozna, Claudiu and Unger, Miklós}, journal = {Sensors}, volume = {22}, year = {2022}, number = {1}, url = {https://www.mdpi.com/1424-8220/22/1/194}, issn = {1424-8220}, doi = {10.3390/s22010194} }

Related solutions

Videos and images

ROS publications / subscriptions

```mermaid flowchart LR

P[points]:::gray -->|sensormsgs/PointCloud2| U([urbanroadfilt
node]):::gray U --> |sensor
msgs/PointCloud2| A[curb]:::gray U --> |sensormsgs/PointCloud2| B[road]:::gray U --> |sensormsgs/PointCloud2| C[roadprobably]:::gray U --> |sensormsgs/PointCloud2| D[roi]:::gray U --> |visualizationmsgs/MarkerArray| E[roadmarker]:::gray

classDef light fill:#34aec5,stroke:#152742,stroke-width:2px,color:#152742
classDef dark fill:#152742,stroke:#34aec5,stroke-width:2px,color:#34aec5 classDef white fill:#ffffff,stroke:#152742,stroke-width:2px,color:#152742 classDef gray fill:#f6f8fa,stroke:#152742,stroke-width:2px,color:#152742 classDef red fill:#ef4638,stroke:#152742,stroke-width:2px,color:#fff ```

Owner

  • Name: JKK - Vehicle Industry Research Center
  • Login: jkk-research
  • Kind: organization
  • Location: GyÅ‘r, Hungary, Europe

Széchenyi University's Research Center

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Horváth"
  given-names: "Ernő"
  orcid: "https://orcid.org/0000-0001-5083-2073"
- family-names: "Pozna"
  given-names: "Claudiu"
- family-names: "Unger"
  given-names: "Miklós"
  orcid: "https://orcid.org/0000-0003-3518-1107"
title: "urban_road_filter"
version: 1.1.2
date-released: 2023-05-24
url: "https://github.com/jkk-research/urban_road_filter"
preferred-citation:
  type: article
  authors:
  - family-names: "Horváth"
    given-names: "Ernő"
    orcid: "https://orcid.org/0000-0001-5083-2073"
  - family-names: "Pozna"
    given-names: "Claudiu"
  - family-names: "Unger"
    given-names: "Miklós"
    orcid: "https://orcid.org/0000-0003-3518-1107"
  doi: "10.3390/s22010194"
  journal: "Sensors"
  title: "Real-Time LIDAR-Based Urban Road and Sidewalk Detection for Autonomous Vehicles"
  year: 2022

GitHub Events

Total
  • Create event: 4
  • Release event: 1
  • Issues event: 1
  • Watch event: 42
  • Delete event: 1
  • Issue comment event: 4
  • Push event: 11
  • Fork event: 4
Last Year
  • Create event: 4
  • Release event: 1
  • Issues event: 1
  • Watch event: 42
  • Delete event: 1
  • Issue comment event: 4
  • Push event: 11
  • Fork event: 4

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 41
  • Total Committers: 7
  • Avg Commits per committer: 5.857
  • Development Distribution Score (DDS): 0.659
Past Year
  • Commits: 2
  • Committers: 2
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.5
Top Committers
Name Email Commits
horverno h****o@g****m 14
dobaybalazs d****s@g****m 13
Csaplár László c****i@g****m 9
szepilot 5****t 2
umiklos u****2@g****m 1
影入平羌 h****r@g****m 1
dobaybalazs 5****s 1

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 27
  • Total pull requests: 4
  • Average time to close issues: 18 days
  • Average time to close pull requests: 1 day
  • Total issue authors: 16
  • Total pull request authors: 2
  • Average comments per issue: 2.11
  • Average comments per pull request: 0.0
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 3
  • Pull request authors: 0
  • Average comments per issue: 2.33
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • horverno (5)
  • LuYoKa (1)
  • liuqijun1 (1)
  • andlbdx (1)
  • arzooqureshi (1)
  • Luwang012 (1)
  • chaohe1998 (1)
  • chengwei0427 (1)
  • csaplaci (1)
  • KshitizKumarGupta (1)
  • DbzXexpert (1)
  • Ruih11 (1)
  • shanyuejun (1)
  • ywfwyht (1)
  • FengYuQ (1)
Pull Request Authors
  • hwenwur (1)
  • dobaybalazs (1)
Top Labels
Issue Labels
question (10) documentation (5) enhancement (3) feature (2) duplicate (1) later (1) bug (1)
Pull Request Labels