Skip to content

Commit

Permalink
feat: Created Schema file and updated ReadME file for parameters sett…
Browse files Browse the repository at this point in the history
…ings

Signed-off-by: vish0012 <[email protected]>
  • Loading branch information
vish0012 committed Jan 21, 2025
1 parent b107ac7 commit d66e02d
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 3 deletions.
4 changes: 1 addition & 3 deletions sensing/autoware_radar_tracks_noise_filter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,4 @@ In y-axis threshold filter, if y-axis velocity of RadarTrack is more than `veloc

## Parameters

| Name | Type | Description | Default value |
| :--------------------- | :----- | :--------------------------------------------------------------------------------------------------------------------------------- | :------------ |
| `velocity_y_threshold` | double | Y-axis velocity threshold [m/s]. If y-axis velocity of RadarTrack is more than `velocity_y_threshold`, it treats as noise objects. | 7.0 |
{{ json_to_markdown("/sensing/autoware_radar_tracks_noise_filter/schema/<radar_tracks_noise_filter.schema.json") }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/**:
ros__parameters:
velocity_y_threshold: 7.0
dar
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "radar_tracks_noise_filter parameters",
"type": "object",
"definitions": {
"radar_tracks_noise_filter": {
"type": "object",
"properties": {
"velocity_y_threshold": {
"type": "number",
"description": "If y-axis velocity of RadarTrack is more than `velocity_y_threshold`, it treats as noise objects.",
"default": 7.0
}
},
"required": ["velocity_y_threshold"],
"additionalProperties": false
}
},
"properties": {
"/**": {
"type": "object",
"properties": {
"ros__parameters": {
"$ref": "#/definitions/velocity_y_threshold"
}
},
"required": ["ros__parameters"],
"additionalProperties": false
}
},
"required": ["/**"],
"additionalProperties": false
}

0 comments on commit d66e02d

Please sign in to comment.