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-traffic_light_map_based_detector
Signed-off-by: santosh-interplai <[email protected]> Signed-off-by: karishma <[email protected]>
- Loading branch information
1 parent
f04d70c
commit 92e00c3
Showing
3 changed files
with
97 additions
and
14 deletions.
There are no files selected for viewing
13 changes: 8 additions & 5 deletions
13
...ption/traffic_light_map_based_detector/config/traffic_light_map_based_detector.param.yaml
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 |
---|---|---|
@@ -1,8 +1,11 @@ | ||
/**: | ||
ros__parameters: | ||
max_vibration_pitch: 0.01745329251 # -0.5 ~ 0.5 deg | ||
max_vibration_yaw: 0.01745329251 # -0.5 ~ 0.5 deg | ||
max_vibration_height: 0.5 # -0.25 ~ 0.25 m | ||
max_vibration_width: 0.5 # -0.25 ~ 0.25 m | ||
max_vibration_depth: 0.5 # -0.25 ~ 0.25 m | ||
max_vibration_pitch: 0.01745329251 # -0.5 ~ 0.5 deg | ||
max_vibration_yaw: 0.01745329251 # -0.5 ~ 0.5 deg | ||
max_vibration_height: 0.5 # -0.25 ~ 0.25 m | ||
max_vibration_width: 0.5 # -0.25 ~ 0.25 m | ||
max_vibration_depth: 0.5 # -0.25 ~ 0.25 m | ||
max_detection_range: 200.0 | ||
min_timestamp_offset: 0.0 | ||
max_timestamp_offset: 0.0 | ||
timestamp_sample_len: 0.01 |
80 changes: 80 additions & 0 deletions
80
...tion/traffic_light_map_based_detector/schema/traffic_light_map_based_detector.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,80 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Parameters for Traffic Light Map Based Detector", | ||
"type": "object", | ||
"definitions": { | ||
"traffic_light_map_based_detector": { | ||
"type": "object", | ||
"properties": { | ||
"max_vibration_pitch": { | ||
"type": "number", | ||
"default": 0.01745329251, | ||
"description": "Maximum error in pitch direction. If -5~+5, it will be 10." | ||
}, | ||
"max_vibration_yaw": { | ||
"type": "number", | ||
"default": 0.01745329251, | ||
"description": "Maximum error in yaw direction. If -5~+5, it will be 10." | ||
}, | ||
"max_vibration_height": { | ||
"type": "number", | ||
"default": 0.5, | ||
"description": "Maximum error in height direction. If -5~+5, it will be 10." | ||
}, | ||
"max_vibration_width": { | ||
"type": "number", | ||
"default": 0.5, | ||
"description": "Maximum error in width direction. If -5~+5, it will be 10." | ||
}, | ||
"max_vibration_depth": { | ||
"type": "number", | ||
"default": 0.5, | ||
"description": "Maximum error in depth direction. If -5~+5, it will be 10." | ||
}, | ||
"max_detection_range": { | ||
"type": "number", | ||
"default": 200.0, | ||
"description": "Maximum detection range in meters. Must be positive" | ||
}, | ||
"min_timestamp_offset": { | ||
"type": "number", | ||
"default": 0.0, | ||
"description": "Minimum timestamp offset when searching for corresponding tf" | ||
}, | ||
"max_timestamp_offset": { | ||
"type": "number", | ||
"default": 0.0, | ||
"description": "Maximum timestamp offset when searching for corresponding tf" | ||
}, | ||
"timestamp_sample_len": { | ||
"type": "number", | ||
"default": 0.01, | ||
"description": "sampling length between min_timestamp_offset and max_timestamp_offset" | ||
} | ||
}, | ||
"required": [ | ||
"max_vibration_pitch", | ||
"max_vibration_yaw", | ||
"max_vibration_height", | ||
"max_vibration_width", | ||
"max_vibration_depth", | ||
"max_detection_range", | ||
"min_timestamp_offset", | ||
"max_timestamp_offset", | ||
"timestamp_sample_len" | ||
] | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/traffic_light_map_based_detector" | ||
} | ||
}, | ||
"required": ["ros__parameters"] | ||
} | ||
}, | ||
"required": ["/**"] | ||
} |
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