forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework the state of implementation from VRichardJP's PR
The ring indices were not read correctly from point buffers. The ring/azimuth/etc. offsets were set to indices of the respective fields in the input buffer's fields vector. The missing lookup of the offset in the respective index's field definition was added. As discussed in autowarefoundation#3014 the law of cosines approach for calculating point distances in isCluster ields logically different results and thus needs more disussion before being merged. The isCluster implementation in this commit has been reverted to the previous euclidean distance check. LiDAR point representation in the ad-hoc WalkInfo struct has been replaced by a more readable ad-hoc PointXYZAD struct representation. Once the input data has an enforced, consistent format, existing point types can be used instead. Signed-off-by: Maximilian Schmeller <maximilian.schmeller@tier4.jp>
- Loading branch information
Showing
1 changed file
with
47 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters