4
4
5
5
The ` crop_box_filter ` is a node that removes points with in a given box region. This filter is used to remove the points that hit the vehicle itself.
6
6
7
+ There are two nodes belongs to this package.
8
+
9
+ - ` crop_box_filter_node ` : This node is a ROS2 node that subscribes to a point cloud topic and publishes the filtered point cloud topic.
10
+ - ` crop_boxes_filter_node ` : This node has same functionality as ` crop_box_filter_node ` , but it can handle multiple crop boxes.
11
+
7
12
## Inner-workings / Algorithms
8
13
9
- ` pcl::CropBox ` is used, which filters all points inside a given box.
14
+ Crop box filter is a simple filter that removes points inside a given box.
15
+ Remember cropbox coordinate is defined in the ` input_frame ` frame.
10
16
11
17
## Inputs / Outputs
12
18
@@ -20,6 +26,8 @@ This implementation inherit `pointcloud_preprocessor::Filter` class, please refe
20
26
21
27
### Core Parameters
22
28
29
+ For ` crop_box_filter_node ` and ` crop_boxes_filter_node ` , the following parameters are used to describe each cropbox.
30
+
23
31
| Name | Type | Default Value | Description |
24
32
| ------- | ------ | ------------- | ----------------------------------------- |
25
33
| ` min_x ` | double | -1.0 | x-coordinate minimum value for crop range |
@@ -29,6 +37,34 @@ This implementation inherit `pointcloud_preprocessor::Filter` class, please refe
29
37
| ` min_z ` | double | -1.0 | z-coordinate minimum value for crop range |
30
38
| ` max_z ` | double | 1.0 | z-coordinate maximum value for crop range |
31
39
40
+ For multiple crop boxes in ` crop_boxes_filter_node ` , the following parameters are used to describe each cropbox.
41
+
42
+ | Name | Type | Default Value | Description |
43
+ | ------------------ | -------- | ------------- | --------------------------------------------------------------------- |
44
+ | ` crop_boxes_names ` | string[ ] | [ ] | Names of crop boxes |
45
+ | ` crop_boxes ` | map | {} | Map of crop boxes. Each crop box is described by the above parameters |
46
+
47
+ Example of ` crop_boxes ` parameter is:
48
+
49
+ ``` yaml
50
+ crop_boxes_names : ["right", "left"]
51
+ crop_boxes :
52
+ right :
53
+ min_longitudinal_offset : 4.8
54
+ max_longitudinal_offset : 5.3
55
+ min_lateral_offset : -1.3
56
+ max_lateral_offset : -1.05
57
+ min_height_offset : 1.85
58
+ max_height_offset : 2.59
59
+ left :
60
+ min_longitudinal_offset : 4.83
61
+ max_longitudinal_offset : 6.0
62
+ min_lateral_offset : 0.95
63
+ max_lateral_offset : 1.28
64
+ min_height_offset : 1.95
65
+ max_height_offset : 2.6
66
+ ` ` `
67
+
32
68
## Assumptions / Known limits
33
69
34
70
## (Optional) Error detection and handling
0 commit comments