Repository navigation
feat(autoware): add CropBoxFilter (#748) - #803
romancardenas wants to merge 2 commits into
Conversation
9187f8a to
7c6114b
Compare
7c6114b to
3c443ee
Compare
I think there are no benchmarks in autoware. I’d keep #748 open after merging this PR so we can track pipeline integration and performance measurements there. I don’t think we need to add Criterion before merging. For an initial benchmark, it’s enough to compare the Rust and Autoware implementations using identical point clouds and crop parameters for each case. We can vary the number of input points and the fraction of points retained, then measure processing time and peak heap usage. |
|
Then, I think it is ready to review and merge. It includes tests for corner cases and the same tests as in the original implementation. |
Description
This
solvesadvances on #748.This PR builds on top of #802.
It emulates the implementation of ROS2 Autoware v1.8.0.
The main difference with the baseline implementation is error handling. Now, point cloud creation and manipulation enforces more checks to ensure that the underlying data has a correct outline.
crop_box_filter/tests/autoware_cases.rs).Regarding memory usage, the system does not allocate heap memory when processing an incoming point cloud. However, it does store the output point cloud data on a new vector.
@ytakano Regarding this pending point, I wonder if there are examples for benchmarks in autoware. In the past, I used Criterion for benchmarking, but it looks like the repository is not set for this.
How was this PR tested?
scripts/ci.shpasses on my machine.