-
Notifications
You must be signed in to change notification settings - Fork 673
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add schema file for radar_threshold_filter and upadted the READ…
…ME file Signed-off-by: vish0012 <[email protected]>
- Loading branch information
Showing
2 changed files
with
103 additions
and
16 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
102 changes: 102 additions & 0 deletions
102
sensing/autoware_radar_threshold_filter/schema/radar_threshold_filter.schema.json
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 |
---|---|---|
@@ -0,0 +1,102 @@ | ||
{ | ||
"$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 | ||
} | ||
|