-
Notifications
You must be signed in to change notification settings - Fork 678
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(autoware_radar_crossing_objects_noise_filter): created schema fi…
…le and updated readme file for parameters setting (#10001) * feat(autoware_radar_crossing_objects_noise_filter): Created Schema file and updated ReadME file for parameters setting Signed-off-by: vish0012 <[email protected]> * style(pre-commit): autofix * Update README.md update readme file --------- Signed-off-by: vish0012 <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
a98a8f6
commit 0f2bf09
Showing
2 changed files
with
42 additions
and
11 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
41 changes: 41 additions & 0 deletions
41
...adar_crossing_objects_noise_filter/schema/radar_crossing_objects_noise_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,41 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "autoware_radar_crossing_objects_noise_filter parameter", | ||
"type": "object", | ||
"definitions": { | ||
"autoware_radar_crossing_objects_noise_filter": { | ||
"type": "object", | ||
"properties": { | ||
"angle_threshold": { | ||
"type": "number", | ||
"description": "Angle threshold to filter noise objects. Must satisfy 0 < angle_threshold < pi/2. If the crossing angle is larger than this parameter, it can be a candidate for a noise object. If smaller, it is a filtered object. A smaller value filters more objects as noise.", | ||
"default": 1.221, | ||
"exclusiveMinimum": 0.0, | ||
"exclusiveMaximum": 1.5708 | ||
}, | ||
"velocity_threshold": { | ||
"type": "number", | ||
"description": "Velocity threshold to filter noise objects. If the velocity of an object is larger than this parameter, it can be a candidate for a noise object. If smaller, it is a filtered object. A smaller value filters more objects as noise.", | ||
"default": 1.5, | ||
"minimum": 0.0 | ||
} | ||
}, | ||
"required": ["angle_threshold", "velocity_threshold"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/autoware_radar_crossing_objects_noise_filter" | ||
} | ||
}, | ||
"required": ["ros__parameters"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": ["/**"], | ||
"additionalProperties": false | ||
} |