forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(radar_tracks_msgs_converter): rework parameters (autowarefou…
…ndation#6533) * refactor(radar_tracks_msgs_converter) Rework parameters Signed-off-by: kaspermeck-arm <[email protected]> Change-Id: If28e9c97bc6db3b522c680f215b3f8cb95ec58b7 * fix: restore parameter description and make json schema description simpler Signed-off-by: Ryohsuke Mitsudome <[email protected]> * style(pre-commit): autofix * Updated param file path Signed-off-by: kaspermeck-arm <[email protected]> Change-Id: Ic6b6fd98ba2c0e2a5510ff08cf563877d1205bb9 --------- Signed-off-by: kaspermeck-arm <[email protected]> Signed-off-by: Ryohsuke Mitsudome <[email protected]> Co-authored-by: Ryohsuke Mitsudome <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
58aabd7
commit 8c56d84
Showing
2 changed files
with
63 additions
and
0 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
57 changes: 57 additions & 0 deletions
57
perception/radar_tracks_msgs_converter/schema/radar_tracks_msgs_converter.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,57 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Parameters for Radar Tracks Msgs Converter node", | ||
"type": "object", | ||
"definitions": { | ||
"radar_tracks_msgs_converter": { | ||
"type": "object", | ||
"properties": { | ||
"update_rate_hz": { | ||
"type": "number", | ||
"description": "The update rate [hz] of the output topic", | ||
"default": "20.0", | ||
"minimum": 0.0 | ||
}, | ||
"new_frame_id": { | ||
"type": "string", | ||
"description": "The header frame_id of the output topic", | ||
"default": "base_link" | ||
}, | ||
"use_twist_compensation": { | ||
"type": "boolean", | ||
"description": "Flag to enable the linear compensation of ego vehicle's twist", | ||
"default": "false" | ||
}, | ||
"use_twist_yaw_compensation": { | ||
"type": "boolean", | ||
"description": "Flag to enable the compensation of yaw rotation of ego vehicle's twist", | ||
"default": "false" | ||
}, | ||
"static_object_speed_threshold": { | ||
"type": "number", | ||
"description": "Threshold to treat detected objects as static objects", | ||
"default": "1.0" | ||
} | ||
}, | ||
"required": [ | ||
"update_rate_hz", | ||
"new_frame_id", | ||
"use_twist_compensation", | ||
"use_twist_yaw_compensation", | ||
"static_object_speed_threshold" | ||
] | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/radar_tracks_msgs_converter" | ||
} | ||
}, | ||
"required": ["ros__parameters"] | ||
} | ||
}, | ||
"required": ["/**"] | ||
} |