-
Notifications
You must be signed in to change notification settings - Fork 682
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(autoware_bytetrack): Created Schema file and updated ReadME file…
… for parameters setting Signed-off-by: vish0012 <[email protected]>
- Loading branch information
Showing
5 changed files
with
171 additions
and
13 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
34 changes: 34 additions & 0 deletions
34
perception/autoware_bytetrack/schema/bytetrack.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,34 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "autoware_bytetrack parameter", | ||
"type": "object", | ||
"definitions": { | ||
"bytetrack": { | ||
"type": "object", | ||
"properties": { | ||
"track_buffer_length": { | ||
"type": "integer", | ||
"description": "The frame count that a tracklet is considered to be lost.", | ||
"default": 30 | ||
} | ||
}, | ||
"required": ["track_buffer_length"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/bytetrack" | ||
} | ||
}, | ||
"required": ["ros__parameters"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": ["/**"], | ||
"additionalProperties": false | ||
} | ||
|
34 changes: 34 additions & 0 deletions
34
perception/autoware_bytetrack/schema/bytetrack_visualizer.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,34 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "autoware_bytetrack parameter", | ||
"type": "object", | ||
"definitions": { | ||
"bytetrack_visualizer": { | ||
"type": "object", | ||
"properties": { | ||
"use_raw": { | ||
"type": "boolean", | ||
"description": "The flag for the node to switch between `sensor_msgs/Image` or `sensor_msgs/CompressedImage` as input.", | ||
"default": false | ||
} | ||
}, | ||
"required": ["use_raw"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/bytetrack_visualizer" | ||
} | ||
}, | ||
"required": ["ros__parameters"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": ["/**"], | ||
"additionalProperties": false | ||
} | ||
|
99 changes: 99 additions & 0 deletions
99
perception/autoware_bytetrack/schema/kalman_filter.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,99 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "autoware_bytetrack parameter", | ||
"type": "object", | ||
"definitions": { | ||
"kalman_filter": { | ||
"type": "object", | ||
"properties": { | ||
"dt": { | ||
"type": "number", | ||
"description": "Time step [s].", | ||
"default": 0.1 | ||
}, | ||
"dim_x": { | ||
"type": "integer", | ||
"description": "State dimension (tlbr + velocity).", | ||
"default": 8 | ||
}, | ||
"dim_z": { | ||
"type": "integer", | ||
"description": "Measurement dimension (tlbr).", | ||
"default": 4 | ||
}, | ||
"q_cov_x": { | ||
"type": "number", | ||
"description": "Process noise covariance for x.", | ||
"default": 0.1 | ||
}, | ||
"q_cov_y": { | ||
"type": "number", | ||
"description": "Process noise covariance for y.", | ||
"default": 0.1 | ||
}, | ||
"q_cov_vx": { | ||
"type": "number", | ||
"description": "Process noise covariance for velocity x.", | ||
"default": 0.1 | ||
}, | ||
"q_cov_vy": { | ||
"type": "number", | ||
"description": "Process noise covariance for velocity y.", | ||
"default": 0.1 | ||
}, | ||
"r_cov_x": { | ||
"type": "number", | ||
"description": "Measurement noise covariance for x.", | ||
"default": 0.1 | ||
}, | ||
"r_cov_y": { | ||
"type": "number", | ||
"description": "Measurement noise covariance for y.", | ||
"default": 0.1 | ||
}, | ||
"p0_cov_x": { | ||
"type": "number", | ||
"description": "Initial covariance for x.", | ||
"default": 100.0 | ||
}, | ||
"p0_cov_y": { | ||
"type": "number", | ||
"description": "Initial covariance for y.", | ||
"default": 100.0 | ||
}, | ||
"p0_cov_vx": { | ||
"type": "number", | ||
"description": "Initial covariance for velocity x.", | ||
"default": 100.0 | ||
}, | ||
"p0_cov_vy": { | ||
"type": "number", | ||
"description": "Initial covariance for velocity y.", | ||
"default": 100.0 | ||
} | ||
}, | ||
"required": [ | ||
"dt", "dim_x", "dim_z", | ||
"q_cov_x", "q_cov_y", "q_cov_vx", "q_cov_vy", | ||
"r_cov_x", "r_cov_y", | ||
"p0_cov_x", "p0_cov_y", "p0_cov_vx", "p0_cov_vy" | ||
], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/kalman_filter" | ||
} | ||
}, | ||
"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