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

Improve RGL radar sensor #286

Merged
merged 12 commits into from
Apr 18, 2024
Merged

Improve RGL radar sensor #286

merged 12 commits into from
Apr 18, 2024

Conversation

msz-rai
Copy link
Contributor

@msz-rai msz-rai commented Mar 26, 2024

PR contains improvements to the RGL radar sensor:

  • support for detection attributes (RCS, signal level, noise, SNR)
  • improvements to point cloud filtering
    • upgraded ground filtering
    • upgraded radar clustering algorithm
  • radar_msgs/RadarScan ROS2 publishing
  • 3d model for radar prefab
  • bugfix to the azimuth calculation introduced in the first version of the radar implementation (RGL radar integration #237)

Important

In order to support RadarScan ROS2 publishing, the RglLidarPublisher component has been refactored. It may cause a compilation error if any scripts use this component directly (e.g., some scene configurations).

Copy link
Collaborator

@mackierx111 mackierx111 left a comment

Choose a reason for hiding this comment

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

Thanks for the implementation!
For the naming of Sample scenes, I would like "Sample" to be used as a suffix.

@msz-rai
Copy link
Contributor Author

msz-rai commented Mar 28, 2024

@mackierx111
Thank you for the comment 🙇‍♂️
I have renamed our develop scenes.

Copy link
Collaborator

@mackierx111 mackierx111 left a comment

Choose a reason for hiding this comment

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

LGTM

@mackierx111
Copy link
Collaborator

@PawelLiberadzki
You have been assigned as a reviewer. could you please review?

Copy link
Contributor

@PawelLiberadzki PawelLiberadzki left a comment

Choose a reason for hiding this comment

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

Looks fine, good job!

@PawelLiberadzki
Copy link
Contributor

@mackierx111
I have checked everything and it is fine and ready to merge! Thank you!

PiotrMrozik and others added 11 commits April 17, 2024 13:47
* Add ground filtering feature

* Fix radar calls

* add proper binary

* add angle parameter as UI element

* fix comment

* add new binary file

* delete old compact ad PR fixes

* delete redundant transform from radar

* move ground filtering strictly to radar

* clear empty lines

* Update Assets/RGLUnityPlugin/Scripts/LowLevelWrappers/RGLNativeAPI.cs

* Update Assets/RGLUnityPlugin/Scripts/LowLevelWrappers/RGLNativeAPI.cs

* Update Assets/RGLUnityPlugin/Scripts/LowLevelWrappers/RGLNodeSequence.cs

* delete leftover

* suggestions cleanup
* Integrate RadarScan message (with RglLidarPublisher refactor)

* Allow implicit conversion from any BasePublisher to PublisherWrapper

* Cleanup

* Remove PublisherWrapper because it doesn't work with serialization properly

* Update prefabs and scenes

* Update RGL binary for Linux

* Update docs

* Review changes
* Add ranged separation for distance and radial speed

* Integrate modified API call with rgl_radar_separations_t

* Add tooltips

* Revert changes to the scene

* Integrate new raytrace configuration API calls

* Integrate changes to the radar postprocessing API call

* Update RGL Ubuntu binary

* Review changes

* Change naming
* Update 3D model for radar

* Smuggling: Update new Hesai prefabs with publisher component refactor changes
* Integrate radar power and noise levels

* Fix parameters units

* Update RGL binary

* Make mesh colliders convex (required to work with non-kinematic rigidbody)

* Parameters cleanup

* Fix connecting and disconnecting nodes when no nodes left in the sequence

* Review changes
* Radar Docs

* Update docs

* Hide lidar gaussian noise settings from radar interface

---------

Co-authored-by: Mateusz Szczygielski <mateusz.szczygielski@robotec.ai>
* Rename parameters to be the same as in RGL API

* Fix separations

* Update docs

* Update prefab

* Update RGL binary
@msz-rai msz-rai force-pushed the feature/rgl-improve-radar branch 2 times, most recently from 6fa0ada to c9a33b1 Compare April 17, 2024 13:11
@msz-rai
Copy link
Contributor Author

msz-rai commented Apr 17, 2024

I have rebased the branch and uploaded new RGL binaries with the fix to the azimuth calculation. It fixes incorrect point cloud filtering in autoware.

@msz-rai
Copy link
Contributor Author

msz-rai commented Apr 18, 2024

@mackierx111
I have updated the description (added bugfix to the azimuth calculation)

@mackierx111 mackierx111 merged commit 0cb6b69 into main Apr 18, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants