-
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.
chore(traffic_light_occlusion_predictor): created Schema file and upd…
…ated ReadME file for parameters setting and deleted default parameter from the node.cpp file (#9998) * feat(traffic_light_occlusion_predictor): Created Schema file and updated ReadME file for parameters setting and deleted default parameter from the node.cpp file Signed-off-by: vish0012 <[email protected]> * style(pre-commit): autofix * feat: modified the json schema and readme file as per comments Signed-off-by: vish0012 <[email protected]> --------- Signed-off-by: vish0012 <[email protected]> Co-authored-by: Masato Saeki <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
bd84834
commit fd7db7b
Showing
3 changed files
with
72 additions
and
14 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
65 changes: 65 additions & 0 deletions
65
...re_traffic_light_occlusion_predictor/schema/traffic_light_occlusion_predictor.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,65 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "autoware_traffic_light_occlusion_predictor parameter", | ||
"type": "object", | ||
"definitions": { | ||
"autoware_traffic_light_occlusion_predictor": { | ||
"type": "object", | ||
"properties": { | ||
"azimuth_occlusion_resolution_deg": { | ||
"type": "number", | ||
"description": "Azimuth resolution of LiDAR point cloud (degree).", | ||
"default": 0.15 | ||
}, | ||
"elevation_occlusion_resolution_deg": { | ||
"type": "number", | ||
"description": "Elevation resolution of LiDAR point cloud (degree).", | ||
"default": 0.08 | ||
}, | ||
"max_valid_pt_dist": { | ||
"type": "number", | ||
"description": "The points within this distance would be used for calculation.", | ||
"default": 50.0 | ||
}, | ||
"max_image_cloud_delay": { | ||
"type": "number", | ||
"description": "The maximum delay between LiDAR point cloud and camera image.", | ||
"default": 0.5 | ||
}, | ||
"max_wait_t": { | ||
"type": "number", | ||
"description": "The maximum time waiting for the LiDAR point cloud.", | ||
"default": 0.05 | ||
}, | ||
"max_occlusion_ratio": { | ||
"type": "integer", | ||
"description": "Maximum occlusion ratio for traffic lights.", | ||
"default": 50 | ||
} | ||
}, | ||
"required": [ | ||
"azimuth_occlusion_resolution_deg", | ||
"elevation_occlusion_resolution_deg", | ||
"max_valid_pt_dist", | ||
"max_image_cloud_delay", | ||
"max_wait_t", | ||
"max_occlusion_ratio" | ||
], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/autoware_traffic_light_occlusion_predictor" | ||
} | ||
}, | ||
"required": ["ros__parameters"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": ["/**"], | ||
"additionalProperties": false | ||
} |
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