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

[ROS2] Lidar add instance and semantic segmentation #713

Closed

Conversation

Fireronin
Copy link
Contributor

What does this PR do?

This pr adds support for new lidar feature, that is instance and semantic segmentation.
It extends relevant fields and classes to allow implementations of lidar to support this.
It's is made in such a way that lidar implementation that do not support this feature will not be impacted.

How was this PR tested?

It was tested internally, and on simple projects

@Fireronin Fireronin requested review from a team as code owners June 18, 2024 15:31
@Fireronin Fireronin force-pushed the add-instance-segmentation-dev branch from c46a1f0 to 3454938 Compare June 18, 2024 15:36
@byrcolin byrcolin added the sig/simulation Categorizes an issue or PR as relevant to SIG Simulation label Jun 18, 2024
Copy link
Contributor

@adamdbrw adamdbrw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a nice feature, though there are some issues in the implementation that I wish to be addressed:

  • The main publish procedure is now too big, difficult to understand and error-prone. We need subroutines.
  • The new feature is not separated or abstracted enough from existing lidar classes. More abstraction of "lidar fields" would be better.

@Fireronin Fireronin force-pushed the add-instance-segmentation-dev branch from 758f55c to 4cbb9a8 Compare July 8, 2024 11:53
Gems/ROS2/Code/CMakeLists.txt Show resolved Hide resolved
Gems/ROS2/Code/Source/Lidar/LidarSensorConfiguration.cpp Outdated Show resolved Hide resolved
Gems/ROS2/Code/Source/Lidar/ROS2LidarSensorComponent.cpp Outdated Show resolved Hide resolved
Gems/ROS2/Code/Source/Lidar/ROS2LidarSensorComponent.cpp Outdated Show resolved Hide resolved
Gems/ROS2/Code/Source/Lidar/ROS2LidarSensorComponent.cpp Outdated Show resolved Hide resolved
Gems/ROS2/Code/Source/Lidar/ROS2LidarSensorComponent.h Outdated Show resolved Hide resolved
Signed-off-by: Paweł Liberadzki <[email protected]>

Entity id, and class id published to rviz2, preparation for building UI

Signed-off-by: Krzysztof Rymski <[email protected]>

Optimized field sizes

Changed constructors, system right now is functional but not yet finished

Signed-off-by: Krzysztof Rymski <[email protected]>

Cleanup

Changed constructors, system right now is functional but not yet finished

Signed-off-by: Krzysztof Rymski <[email protected]>

Cleanup part2

Changed constructors, system right now is functional but not yet finished

Signed-off-by: Krzysztof Rymski <[email protected]>

Added GUI config for Lidar segmentation
Config supports tag names, ids and colors all updated OnLidarRaycaser Ready or something like this

Signed-off-by: Krzysztof Rymski <[email protected]>

formating

Support for publishing segmentation classes data

Signed-off-by: Krzysztof Rymski <[email protected]>

formating

Adressing formating issues and similar

Formating

Constant bug fix

init

pretty gui

change to unoredered set

now segmentation is optional

Signed-off-by: Krzysztof Rymski <[email protected]>

Refactoring

Signed-off-by: Krzysztof Rymski <[email protected]>
@Fireronin Fireronin force-pushed the add-instance-segmentation-dev branch from df92e60 to b2590aa Compare July 25, 2024 11:49
@adamdbrw
Copy link
Contributor

Please rebase and ask me to review again

@alek-kam-robotec-ai
Copy link
Contributor

Please rebase and ask me to review again

After internal conversations with @PawelLiberadzki we've decided that this PR will be rebased by me after the Raycast Result refactor (on which I'm currently working) is merged. This refactor will soon be published as a separate PR. For more context please checkout #736.

@alek-kam-robotec-ai
Copy link
Contributor

@jhanca-robotecai Please close this pull request in favour of #754. I do not have such permissions.

@Fireronin Fireronin closed this Sep 5, 2024
@alek-kam-robotec-ai alek-kam-robotec-ai deleted the add-instance-segmentation-dev branch September 9, 2024 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/simulation Categorizes an issue or PR as relevant to SIG Simulation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants