forked from tier4/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.
feat: detected object validation (tier4#507)
- Loading branch information
1 parent
4ee2909
commit c58ee73
Showing
6 changed files
with
53 additions
and
35 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,50 @@ | ||
# detected_object_validation | ||
# detected_object_validation (occupancy grid based validator) | ||
|
||
## Purpose | ||
|
||
The purpose of this package is to eliminate obvious false positives of DetectedObjects. | ||
|
||
## References/External links | ||
## Inner-workings / Algorithms | ||
|
||
- [Obstacle pointcloud based validator](obstacle-pointcloud-based-validator.md) | ||
- [Occupancy grid based validator](occupancy-grid-based-validator.md) | ||
Compare the occupancy grid map with the DetectedObject, and if a larger percentage of obstacles are in freespace, delete them. | ||
|
||
![debug sample image](image/debug_image.png) | ||
|
||
Basically, it takes an occupancy grid map as input and generates a binary image of freespace or other. | ||
|
||
A mask image is generated for each DetectedObject and the average value (percentage) in the mask image is calculated. | ||
If the percentage is low, it is deleted. | ||
|
||
## Inputs / Outputs | ||
|
||
### Input | ||
|
||
| Name | Type | Description | | ||
| ---------------------------- | ----------------------------------------------------- | ----------------------------------------------------------- | | ||
| `~/input/detected_objects` | `autoware_auto_perception_msgs::msg::DetectedObjects` | DetectedObjects | | ||
| `~/input/occupancy_grid_map` | `nav_msgs::msg::OccupancyGrid` | OccupancyGrid with no time series calculation is preferred. | | ||
|
||
### Output | ||
|
||
| Name | Type | Description | | ||
| ------------------ | ----------------------------------------------------- | ------------------------- | | ||
| `~/output/objects` | `autoware_auto_perception_msgs::msg::DetectedObjects` | validated DetectedObjects | | ||
|
||
## Parameters | ||
|
||
| Name | Type | Description | | ||
| ---------------- | ----- | -------------------------------------------------- | | ||
| `mean_threshold` | float | The percentage threshold of allowed non-freespace. | | ||
| `enable_debug` | bool | Whether to display debug images or not? | | ||
|
||
## Assumptions / Known limits | ||
|
||
Currently, only vehicle represented as BoundingBox are supported. | ||
|
||
## (Optional) Error detection and handling | ||
|
||
## (Optional) Performance characterization | ||
|
||
## (Optional) References/External links | ||
|
||
## (Optional) Future extensions / Unimplemented parts |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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