Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(radar_threshold_filter): add schema file for radar_threshold_filter and upadted the README file #9980

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 1 addition & 16 deletions sensing/autoware_radar_threshold_filter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,7 @@ Calculation cost is O(n). `n` is the number of radar return.

### Parameters

- For node parameter

| Name | Type | Description |
| ------------------- | ------ | ----------------------------------------------------------------------------------------------------- |
| is_amplitude_filter | bool | if this parameter is true, apply amplitude filter (publish amplitude_min < amplitude < amplitude_max) |
| amplitude_min | double | [dBm^2] |
| amplitude_max | double | [dBm^2] |
| is_range_filter | bool | if this parameter is true, apply range filter (publish range_min < range < range_max) |
| range_min | double | [m] |
| range_max | double | [m] |
| is_azimuth_filter | bool | if this parameter is true, apply angle filter (publish azimuth_min < range < azimuth_max) |
| azimuth_min | double | [rad] |
| azimuth_max | double | [rad] |
| is_z_filter | bool | if this parameter is true, apply z position filter (publish z_min < z < z_max) |
| z_min | double | [m] |
| z_max | double | [m] |
{{ json_to_markdown("sensing/autoware_radar_threshold_filter/schema/radar_threshold_filter.schema.json") }} |

### How to launch

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "radar_threshold_filter parameters",
"type": "object",
"definitions": {
"radar_threshold_filter": {
"type": "object",
"properties": {
"is_amplitude_filter": {
"type": "boolean",
"description": "if this parameter is true, apply amplitude filter (publish amplitude_min < amplitude < amplitude_max)",
"default": true
},
"amplitude_min": {
"type": "number",
"description": "[dBm^2]",
"default": -10.0
},
"amplitude_max": {
"type": "number",
"description": "[dBm^2]",
"default": 100.0
},
"is_range_filter": {
"type": "boolean",
"description": "if this parameter is true, apply range filter (publish range_min < range < range_max) ",
"default": false
},
"range_min": {
"type": "number",
"description": "[m] ",
"default": 20.0
},
"range_max": {
"type": "number",
"description": "[m]",
"default": 300.0
},
"is_azimuth_filter": {
"type": "boolean",
"description": "if this parameter is true, apply angle filter (publish azimuth_min < range < azimuth_max) ",
"default": true
},
"azimuth_min": {
"type": "number",
"description": "[rad]",
"default": -1.2
},
"azimuth_max": {
"type": "number",
"description": "[rad]",
"default": 1.2
},
"is_z_filter": {
"type": "boolean",
"description": "if this parameter is true, apply z position filter (publish z_min < z < z_max) ",
"default": false
},
"z_min": {
"type": "number",
"description": "[m]",
"default": -2.0
},
"z_max": {
"type": "number",
"description": "[m]",
"default": 5.0
}
},
"required": [
"is_amplitude_filter",
"amplitude_min",
"amplitude_max",
"is_range_filter",
"range_min",
"range_max",
"is_azimuth_filter",
"azimuth_min",
"azimuth_max",
"is_z_filter",
"z_min",
"z_max"
],
"additionalProperties": false
}
},
"properties": {
"/**": {
"type": "object",
"properties": {
"ros__parameters": {
"$ref": "#/definitions/radar_object_clustering"
}
},
"required": ["ros__parameters"],
"additionalProperties": false
}
},
"required": ["/**"],
"additionalProperties": false
}
Loading