Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LOAM Mapping Task 3 - Integrate featureExtraction from LIO-SAM #6838

Closed
6 tasks done
Tracked by #6741
ataparlar opened this issue Apr 17, 2024 · 6 comments
Closed
6 tasks done
Tracked by #6741

LOAM Mapping Task 3 - Integrate featureExtraction from LIO-SAM #6838

ataparlar opened this issue Apr 17, 2024 · 6 comments
Assignees
Labels
component:map Map creation, storage, and loading. (auto-assigned) type:new-feature New functionalities or additions, feature requests.

Comments

@ataparlar
Copy link
Contributor

ataparlar commented Apr 17, 2024

Checklist

  • I've read the contribution guidelines.
  • I've searched other issues and no duplicate issues were found.
  • I've agreed with the maintainers that I can plan this task.

Description

This task is the subtask of Point cloud feature extraction for LOAM based localization.


For using them in the LOAM Based Localization, we need to export point cloud feature maps separately. Related issue:

To implement feature extraction from a projected point cloud, the below task needs to be done:

Purpose

Extracting the features (planar, edge...) from the generated point clouds.

Possible approaches

  • Use instantaneous point clouds for detecting the features.
  • Use the full point cloud map for detecting the features.

Definition of done

  • Undistort point clouds.
  • Visualize the extracting process of the features in RViz as point clouds.
  • Export the point cloud feature maps to pcd files.

This subtask is done with the commit:

@ataparlar ataparlar self-assigned this Apr 17, 2024
@ataparlar ataparlar added type:new-feature New functionalities or additions, feature requests. component:map Map creation, storage, and loading. (auto-assigned) labels Apr 17, 2024
@xmfcx xmfcx changed the title Implement feature extraction from projected point cloud and show LOAM Mapping Task 3 - Integrate featureExtraction from LIO-SAM Apr 19, 2024
@ataparlar
Copy link
Contributor Author

The tool can export corner feature point cloud map and surface feature point cloud map. Before exporting, it is visualizing both in the rviz. Right now, point cloud undistortion is not implemented. We wanted to see we can see the feature point clouds.

RViz Visualization:

Corner Cloud

Screenshot from 2024-04-26 17-37-20

Surface Cloud

Screenshot from 2024-04-26 17-38-20

Exported .pcd:

Corner Cloud

Screenshot from 2024-04-26 17-44-46

Surface Cloud

Screenshot from 2024-04-26 17-45-00

@meliketanrikulu
Copy link
Contributor

meliketanrikulu commented May 9, 2024

Thanks for your effort @ataparlar . Could you also share .pcd files for examination?"

@ataparlar
Copy link
Contributor Author

Hi @meliketanrikulu
Yes of course. But I noticed an error in image_projection stage. So, I am debugging it. I will mention you about the pcds.

@ataparlar
Copy link
Contributor Author

I noticed that the projected image is not correct for some reason. The edge points are not extracted from the corners. They seems like just picking some random points from the point cloud.

I debugged the projected point cloud's point angles with HSV color space for loam_mapper, original LIO-SAM and Velodyne VLP16 ROS2 driver. The videos of them can found below:

Velodyne VLP16 ROS2 driver video:
https://youtu.be/NdwLPB2fWHc

Original LIO-SAM video:
https://youtu.be/sQA-Ilz-8BY

loam_mapper video:
https://youtu.be/tULkP0HXCQs

According to the comparison between those videos, in loam_mapper, the pixels that must be empty are very noisy. I am trying to solve that right now.

@ataparlar
Copy link
Contributor Author

The image_projection seems good right now. But the same error still exist. I am observing the cloudInfo message which is crucial for feature extraction. It keeps the point cloumn info, point range info, point start ring index and point end ring index for each point for each cloud. This thing is most probably filled wrong in the program. I am working on it. Here is the video of the last situation:

  • https://youtu.be/9cJQO9Oyed4
    The turquois points are the edge feature points extracted. They are so wrong obviously. I will keep here posted.

@ataparlar
Copy link
Contributor Author

Hey everyone. I solved the problem and I added point deskewing for feature extraction. Here is the demonstration video and an image of it:

loam_mapper_edge_and_surface_features

I made the changes in imu_deskew branch and merged this branch into the master after it is done.

This subtask is done with the commit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:map Map creation, storage, and loading. (auto-assigned) type:new-feature New functionalities or additions, feature requests.
Projects
Status: In Progress
Development

No branches or pull requests

2 participants