-
Notifications
You must be signed in to change notification settings - Fork 672
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(autoware_traffic_light_multi_camera_fusion): Created Schema file…
… and updated ReadME file for parameters setting Signed-off-by: vish0012 <[email protected]>
- Loading branch information
Showing
3 changed files
with
59 additions
and
7 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
...re_traffic_light_multi_camera_fusion/schema/traffic_light_multi_camera_fusion.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": "autoware_traffic_light_multi_camera_fusion parameter", | ||
"type": "object", | ||
"definitions": { | ||
"autoware_traffic_light_multi_camera_fusion": { | ||
"type": "object", | ||
"properties": { | ||
"camera_namespaces": { | ||
"type": "array", | ||
"description": "Camera namespaces to be fused.", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"default": [] | ||
}, | ||
"message_lifespan": { | ||
"type": "number", | ||
"description": "The maximum timestamp span to be fused.", | ||
"default": 0.0 | ||
}, | ||
"approximate_sync": { | ||
"type": "boolean", | ||
"description": "Whether to work in Approximate Synchronization Mode.", | ||
"default": false | ||
}, | ||
"perform_group_fusion": { | ||
"type": "boolean", | ||
"description": "Whether to perform Group Fusion.", | ||
"default": false | ||
} | ||
}, | ||
"required": [ | ||
"camera_namespaces", | ||
"message_lifespan", | ||
"approximate_sync", | ||
"perform_group_fusion" | ||
], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/autoware_traffic_light_multi_camera_fusion" | ||
} | ||
}, | ||
"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