Skip to content

Commit

Permalink
docs(filters): polish documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Max SCHMELLER <[email protected]>
  • Loading branch information
mojomex committed Jan 15, 2025
1 parent 44c1717 commit 7ea8836
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions docs/filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ Filters are configured via the ROS parameter namespace `point_filters`.
{
point_filters:
filter_type_a:
# config for filter_type_a goes here
parameter_1: 5
parameter_2: "abc"
filter_type_b:
# ...
}
Expand All @@ -30,9 +31,13 @@ ros2 param set /hesai_ros_wrapper_node point_filters.filter_type_a ...'
The following filter types are supported:
| Filter Name | Filter Type |
| ---------------------- | ----------------- |
| Downsample Mask Filter | `downsample_mask` |
| Filter Name | Filter Type | Hesai | Robosense | Velodyne |
| ---------------------- | ----------------- | :---: | :-------: | :------: |
| Downsample Mask Filter | `downsample_mask` | ✅ | ❌ | ❌ |
Compatibility:
✅: compatible
❌: incompatible
Below, each filter type is documented in detail.
Expand All @@ -56,9 +61,9 @@ The input image is dithered to a boolean mask:
The decoded points are then kept/discarded based on that mask:
| ![Pointcloud density](filters/at128_test_roi_cloud.png) | ![Pointcloud closeup](filters/at128_test_roi_cloud_closeup.png) |
| -------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
| Pointcloud output (2D azimuth-elevation view, points are blurred to visualize density) | Close-up view of (bottom left of the pointcloud) |
| ![Pointcloud density](filters/at128_test_roi_cloud.png) | ![Pointcloud closeup](filters/at128_test_roi_cloud_closeup.png) |
| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| Pointcloud output. The original pointcloud had uniform density (all white). 2D azimuth-elevation view, points are blurred to better visualize density | Close-up view of a region with multiple different downsampling levels (bottom left of the pointcloud) |
#### Configuration Options
Expand Down Expand Up @@ -89,13 +94,3 @@ ros2 param set /hesai_ros_wrapper_node point_filters.downsample_mask.path ""'
- Currently, non-rotational LiDARs are not yet supported
- Image editors like GIMP use perceptual color profiles, which can lead to unexpected results (more/less downsampling than expected). Check the generated `_dithered.png` mask to see if you are affected.
- Dithering performed by Nebula is spatial only, meaning that it stays constant over time. Decoded points are checked against the nearest pixel in the dithered mask

## Compatibility Chart

| Filter | Hesai | Robosense | Velodyne |
| --------------- | :---: | :-------: | :------: |
| Downsample Mask ||||

Compatibility:
✅: compatible
❌: incompatible

0 comments on commit 7ea8836

Please sign in to comment.